00001 #include "TGsiAug12UnpackProc.h" 00002 00003 #include "TGo4Log.h" 00004 00005 #include "TTriglogProc.h" 00006 #include "MBSUNPACK/TMbsCrateProc.h" 00007 #include "GET4V10/TGet4v1Proc.h" 00008 #include "TEpicsProc.h" 00009 00010 #include "TGsiAug12Param.h" 00011 00012 TGsiAug12UnpackProc::TGsiAug12UnpackProc() : 00013 TCBMBeamtimeProc() 00014 { 00015 } 00016 00017 TGsiAug12UnpackProc::TGsiAug12UnpackProc(const char* name) : 00018 TCBMBeamtimeProc(name) 00019 { 00020 TGo4Log::Info("TGsiAug12Proc: Create instance %s", name); 00021 00022 TGsiAug12Param* parAnalysis = (TGsiAug12Param*) GetParameter("GsiAug12Par"); 00023 00024 // Add here subprocessors: 00025 if( kTRUE == parAnalysis->bWithTriglog ) 00026 AddSubProcessor(new TTriglogProc(Form("%s_Triglog",name))); 00027 if( kTRUE == parAnalysis->bWithMbs ) 00028 AddSubProcessor(new TMbsCrateProc(Form("%s_MBS",name))); 00029 if( kTRUE == parAnalysis->bWithGet4 ) 00030 AddSubProcessor(new TGet4v1Proc(Form("%s_ROCGET4V10",name))); 00031 if( kTRUE == parAnalysis->bWithEpics ) 00032 AddSubProcessor(new TEpicsProc(Form("%s_EPICS",name))); 00033 00034 /* 00035 // Add here subprocessors: 00036 AddSubProcessor(new TTriglogProc(Form("%s_Triglog",name))); 00037 AddSubProcessor(new TMbsCrateProc(Form("%s_MBS",name))); 00038 AddSubProcessor(new TGet4v1Proc(Form("%s_ROCGET4V10",name))); 00039 // AddSubProcessor(new TEpicsProc(Form("%s_EPICS",name))); 00040 */ 00041 } 00042 00043 TGsiAug12UnpackProc::~TGsiAug12UnpackProc() 00044 { 00045 }