00001 00002 #include "Plastics_Event.h" 00003 00004 #ifdef WITHGO4ROC 00005 #include "TGo4Version.h" 00006 #if __GO4BUILDVERSION__ > 40502 00007 #include "go4iostream.h" 00008 #else 00009 #include "Riostream.h" 00010 #endif 00011 #endif // WITHGO4ROC 00012 00013 void Plastics_Hit::Clear(Option_t *t) 00014 { 00015 dTimeLeft = -1 ; 00016 dTotLeft = -1 ; 00017 dTimeRight = -1 ; 00018 dTotRight = -1 ; 00019 fbMultiEdge = kFALSE; 00020 } 00021 00022 void Plastics_Event::Clear(Option_t *t) 00023 { 00024 // all members should be cleared. 00025 for(Int_t iPlastic = 0; iPlastic<NB_PLASTICS_MAX; iPlastic++) 00026 fHits[iPlastic].clear(); 00027 fbMultiEdgesPresent = kFALSE; 00028 }