00001 // $Id: TYYYUnpackEvent.cxx 999 2013-07-25 11:58:59Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #include "TYYYUnpackEvent.h" 00015 00016 //*********************************************************** 00017 TYYYUnpackEvent::TYYYUnpackEvent() : 00018 TGo4EventElement() 00019 { 00020 } 00021 //*********************************************************** 00022 TYYYUnpackEvent::TYYYUnpackEvent(const char* name) : 00023 TGo4EventElement(name) 00024 { 00025 } 00026 //*********************************************************** 00027 TYYYUnpackEvent::~TYYYUnpackEvent() 00028 { 00029 } 00030 //*********************************************************** 00031 00032 //----------------------------------------------------------- 00033 void TYYYUnpackEvent::Clear(Option_t *t) 00034 { 00035 void* destfield; 00036 //std::cout << "+++ event clear" << std::endl; 00037 destfield = (void*) &fdR[0]; 00038 memset(destfield, 0, sizeof(fdR)); 00039 destfield = (void*) &fdV[0]; 00040 memset(destfield, 0, sizeof(fdV)); 00041 destfield = (void*) &fdGam[0]; 00042 memset(destfield, 0, sizeof(fdGam)); 00043 fiNumScatt=0; 00044 fdEmittX=0; 00045 fdEmittY=0; 00046 fdEmitt4d=0; 00047 }