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

beamtime/sts-lasertest/go4/TLaserTest12UnpackEvent.cxx (r4864/r3159)

Go to the documentation of this file.
00001 #include "TLaserTest12UnpackEvent.h"
00002 #include "TLaserTest12UnpackEvent.h"
00003 
00004 #include "TRocEvent.h"
00005 #include "TEpicsEvent.h"
00006 
00007 #include "TGo4Version.h"
00008 #if __GO4BUILDVERSION__ > 40502
00009 #include "go4iostream.h"
00010 #else
00011 #include "Riostream.h"
00012 #endif
00013 
00014 //***********************************************************
00015 TLaserTest12UnpackEvent::TLaserTest12UnpackEvent() :
00016    TCBMBeamtimeEvent()
00017 {
00018 }
00019 
00020 //***********************************************************
00021 TLaserTest12UnpackEvent::TLaserTest12UnpackEvent(const char* name) :
00022    TCBMBeamtimeEvent(name)
00023 {
00024   cout << "**** TLaserTest12UnpackEvent: Create instance " << name << endl;
00025 // here we compose event from subevents:
00026    Short_t subid=0;
00027    AddSubEvent(new TRocEvent("ROC", subid++));
00028    AddSubEvent(new TEpicsEvent("EPICS", subid++));
00029 }
00030 
00031 //***********************************************************
00032 TLaserTest12UnpackEvent::~TLaserTest12UnpackEvent()
00033 {
00034 }
00035 
00036 //-----------------------------------------------------------
00037 void  TLaserTest12UnpackEvent::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