• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/gsi-aug12/get4v10/go4/PLASTICS/TPlasticsEvent.cxx (r4864/r3872)

Go to the documentation of this file.
00001 /* Generated by Together */
00002 
00003 #include "TPlasticsEvent.h"
00004 #include "TGo4Version.h"
00005 #if __GO4BUILDVERSION__ > 40502
00006    #include "go4iostream.h"
00007 #else
00008    #include "Riostream.h"
00009 #endif
00010 
00011 void Plastics_Hit::Clear()
00012 {
00013    dTimeLeft  = -1 ;
00014    dTotLeft   = -1 ;
00015    dTimeRight = -1 ;
00016    dTotRight  = -1 ;
00017 }
00018 
00019 TPlasticsEvent::TPlasticsEvent(const char* name, Short_t id) :
00020    TGo4EventElement(name,name,id)
00021 {
00022    cout << "**** TPlasticsEvent: Create instance " << name <<" with composite id "<<id<< endl;
00023 }
00024 TPlasticsEvent::TPlasticsEvent() :
00025    TGo4EventElement()
00026 {
00027 }
00028 
00029 TPlasticsEvent::~TPlasticsEvent()
00030 {
00031    Clear();
00032 }
00033 
00034 void  TPlasticsEvent::Clear(Option_t *t)
00035 {
00036   // all members should be cleared.
00037    for(Int_t iPlastic = 0; iPlastic<NB_PLASTICS_MAX; iPlastic++)
00038       fHits[iPlastic].clear();
00039    SetValid(kFALSE);
00040 }
00041 

Generated on Tue Dec 10 2013 04:52:20 for ROCsoft by  doxygen 1.7.1