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

beamtime/cern-oct12/go4/TCernOct12UnpackEvent.cxx (r4864/r3639)

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

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