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

beamtime/gsi-aug12/prod/go4/TGsiAug12UnpackEvent.cxx (r4864/r4012)

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

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