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

beamtime/gsi-aug12/get4v10/go4/TGsiAug12DetectorEvent.cxx (r4864/r3846)

Go to the documentation of this file.
00001 #include "TGsiAug12DetectorEvent.h"
00002 
00003 #include "TFiberHodEvent.h"
00004 
00005 #include "RPC/TRpcEvent.h"
00006 #include "PLASTICS/TPlasticsEvent.h"
00007 #include "SCALERS/TScalersEvent.h"
00008 
00009 #include "TGo4Version.h"
00010 #if __GO4BUILDVERSION__ > 40502
00011    #include "go4iostream.h"
00012 #else
00013    #include "Riostream.h"
00014 #endif
00015 
00016 TGsiAug12DetectorEvent::TGsiAug12DetectorEvent() :
00017    TCBMBeamtimeEvent()
00018 {
00019 }
00020 
00021 TGsiAug12DetectorEvent::TGsiAug12DetectorEvent(const char* name) :
00022    TCBMBeamtimeEvent(name)
00023 {
00024    cout << "**** TGsiAug12DetectorEvent: Create instance " << name << endl;
00025 // here we compose event from subevents:
00026    Short_t subid=0;
00027    AddSubEvent(new TRpcEvent("RPC_HD", subid++));
00028    AddSubEvent(new TRpcEvent("RPC_BUC_REF", subid++));
00029    AddSubEvent(new TRpcEvent("RPC_BUC_MOD1", subid++));
00030    AddSubEvent(new TRpcEvent("RPC_BUC_MOD2", subid++));
00031    AddSubEvent(new TRpcEvent("RPC_BUC_MOD3", subid++));
00032    AddSubEvent(new TRpcEvent("RPC_BUC_MOD4", subid++));
00033    AddSubEvent(new TPlasticsEvent("PLASTICS", subid++));
00034    AddSubEvent(new TScalersEvent("SCALERS", subid++));
00035 }
00036 
00037 TGsiAug12DetectorEvent::~TGsiAug12DetectorEvent()
00038 {
00039 }
00040 
00041 void  TGsiAug12DetectorEvent::Clear(Option_t *t)
00042 {
00043   TCBMBeamtimeEvent::Clear(t); // will clear all subevents
00044 
00045 // put additional clear actions here:
00046   
00047 }

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