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

beamtime/gsi-aug12/hd/go4/TGsiAug12DetectorEvent.cxx (r4864/r3217)

Go to the documentation of this file.
00001 #include "TGsiAug12DetectorEvent.h"
00002 
00003 #include "TFiberHodEvent.h"
00004 #ifdef ANA_WITHBUCH
00005    #include "BUCHAREST/TBucharestEvent.h"
00006 #endif
00007 #ifdef ROOTCONV_WITHGET4
00008    #include "RPC/TRPCEvent.h"
00009 #endif
00010 #ifdef ANA_WITHROSS
00011    #include "ROSSENDORF/TRossendorfEvent.h"
00012 #endif
00013 #include "VFTX/TVftxEvent.h"
00014 //#include "SISTRIPS/TSiStripsEvent.h"
00015 
00016 #include "TGo4Version.h"
00017 #if __GO4BUILDVERSION__ > 40502
00018    #include "go4iostream.h"
00019 #else
00020    #include "Riostream.h"
00021 #endif
00022 
00023 TGsiAug12DetectorEvent::TGsiAug12DetectorEvent() :
00024    TCBMBeamtimeEvent()
00025 {
00026 }
00027 
00028 TGsiAug12DetectorEvent::TGsiAug12DetectorEvent(const char* name) :
00029    TCBMBeamtimeEvent(name)
00030 {
00031    cout << "**** TGsiAug12DetectorEvent: Create instance " << name << endl;
00032 // here we compose event from subevents:
00033    Short_t subid=0;
00034 //   AddSubEvent(new TFiberHodEvent("Hodo1", subid++));
00035 //   AddSubEvent(new TSiStripsEvent("SISTRIPS", subid++));
00036 //   AddSubEvent(new TBucharestEvent("TRDBUCHAREST", subid++));
00037 //   AddSubEvent(new TRossendorfEvent("ROSSENDORF", subid++));
00038    AddSubEvent(new TVftxEvent("VFTX", subid++));
00039 //   AddSubEvent(new TRPCEvent("RPC", subid++));  // <-Get4
00040 }
00041 
00042 TGsiAug12DetectorEvent::~TGsiAug12DetectorEvent()
00043 {
00044 }
00045 
00046 void  TGsiAug12DetectorEvent::Clear(Option_t *t)
00047 {
00048   TCBMBeamtimeEvent::Clear(t); // will clear all subevents
00049 
00050 // put additional clear actions here:
00051   
00052 }

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