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

beamtime/cern-oct11/go4/TCernOct11UnpackEvent.cxx (r4864/r2540)

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

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