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

beamtime/gsi-aug12/hd/go4/TGsiAug12UnpackEvent.cxx (r4864/r3172)

Go to the documentation of this file.
00001 #include "TGsiAug12UnpackEvent.h"
00002 
00003 #include "TGo4Log.h"
00004 
00005 #include "TTriglogEvent.h"
00006 #include "TMbsCrateEvent.h"
00007 #include "TRocEvent.h"
00008 #include "TEpicsEvent.h"
00009 //#include "SISTRIPS/TExploderEvent.h"
00010 
00011 //***********************************************************
00012 TGsiAug12UnpackEvent::TGsiAug12UnpackEvent() :
00013    TCBMBeamtimeEvent()
00014 {
00015 }
00016 
00017 //***********************************************************
00018 TGsiAug12UnpackEvent::TGsiAug12UnpackEvent(const char* name) :
00019    TCBMBeamtimeEvent(name)
00020 {
00021    TGo4Log::Info("TGsiAug12UnpackEvent: Create instance %s", name);
00022 // here we compose event from subevents:
00023    Short_t subid=0;
00024    AddSubEvent(new TTriglogEvent("TRIGLOG", subid++));
00025    AddSubEvent(new TMbsCrateEvent("MBSCRATE", subid++));
00026 //   AddSubEvent(new TRocEvent("ROC", subid++));
00027    AddSubEvent(new TEpicsEvent("EPICS", subid++));
00028 //   AddSubEvent(new TExploderEvent("EXPLODER", subid++));
00029 }
00030 
00031 //***********************************************************
00032 TGsiAug12UnpackEvent::~TGsiAug12UnpackEvent()
00033 {
00034 }
00035 
00036 //-----------------------------------------------------------
00037 void  TGsiAug12UnpackEvent::Clear(Option_t *t)
00038 {
00039   TCBMBeamtimeEvent::Clear(t); // will clear all subevents
00040 
00041 // put additional clear actions here:
00042 }

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