#include <TGEMProc.h>
Public Member Functions | |
TGEMProc (const char *name=0) | |
virtual | ~TGEMProc () |
virtual void | InitEvent (TGo4EventElement *) |
virtual void | FinalizeEvent () |
virtual Bool_t | BuildEvent (TGo4EventElement *) |
virtual void | ProcessSubevent (TGo4MbsSubEvent *subevt) |
Short_t | GetTriggerNumber () const |
Int_t | GetEventNumber () const |
Long_t | ExecuteScript (const char *script_name) |
Protected Member Functions | |
Bool_t | IsGEM (TRocMessageExtended &msg) |
Bool_t | GEM_Map (Int_t rocid, Int_t nxid, Int_t nxCh, Int_t &gemno, Int_t &xpos, Int_t &ypos) |
void | Init_GEM_Map () |
void | AddSubProcessor (TCBMBeamtimeProc *) |
Protected Attributes | |
TH1 * | fratio0_evt |
TH1 * | fcellMult_evt |
TH1 * | fGEMtm [NUM_GEM_STATIONS] |
TGo4WinCond * | fGEMtmGate [NUM_GEM_STATIONS] |
TH1 * | fGEM_adc_corrected [NUM_GEM_STATIONS] |
TH1 * | fGEM_adc [NUM_GEM_STATIONS] |
TH2 * | fGEM_Map [NUM_GEM_STATIONS] |
TH2 * | fGEM_Map_Time [NUM_GEM_STATIONS] |
TH2 * | fGEM_Map_Adc [NUM_GEM_STATIONS] |
TH2 * | fGEM_Map_Adc_Time [NUM_GEM_STATIONS] |
TH1 * | fGEM_Strip [NUM_GEM_STATIONS] |
TH1 * | fGEM_Strip_Time [NUM_GEM_STATIONS] |
TH1 * | fGEM_Strip_Adc [NUM_GEM_STATIONS] |
TH1 * | fGEM_Strip_Adc_Time [NUM_GEM_STATIONS] |
TH2 * | fMappingSource [NUM_GEM_STATIONS] |
TGEMParam * | fPar |
TRocEvent * | fRocInputEvent |
Int_t | fGEM_X [NUM_GEM_ROCS][NUM_GEM_NX][NUM_GEM_CH] |
Int_t | fGEM_Y [NUM_GEM_ROCS][NUM_GEM_NX][NUM_GEM_CH] |
TGEMEvent * | fOutputEvent |
TBeamMonitorEvent * | fBeamEvent |
TFiberHodEvent * | fFiberHodEvent1 |
TFiberHodEvent * | fFiberHodEvent2 |
TCBMBeamtimeEvent * | fBeamtimeEvent |
TGo4MbsEvent * | fMbsInput |
Short_t | fMbsTriggerNumber |
Int_t | fMbsEventNumber |
Static Protected Attributes | |
static UChar_t | fGEMRocIds [NUM_GEM_ROCS *NUM_GEM_STATIONS] = {9,7} |
static UChar_t | fGEMRocStripStation = 7 |
static UChar_t | fGEMROCStripNx = 0 |
static Int_t | fGEM_Y_BoundariesLeft [NUM_GEM_Y] = {10,19,31,42,54,65,77,88,100,111,123,134,146,157,169,180,192,203,215,226,237,246,256} |
static Int_t | fGEM_Y_PeriodLeft [NUM_GEM_Y] = {10,9,12,11,12,11,12,11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 11, 9, 10} |
static Int_t | fGEM_Y_ShiftLeft [NUM_GEM_Y] = { 2, 2, 0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2 } |
static Int_t | fGEM_Y_BoundariesRight [NUM_GEM_Y] = { 9,19,30,42,53,65,76,88,99,111,122,134,145,157,168,180,191,203,214,226,237,247,256} |
static Int_t | fGEM_Y_PeriodRight [NUM_GEM_Y] = { 9,10,11,12,11,12,11,12,11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 10, 9} |
static Int_t | fGEM_Y_ShiftRight [NUM_GEM_Y] = { 1, 0, 1, 0, 1, 0, 1, 0, 1 , 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ,0,1,0,1 } |
Definition at line 20 of file TGEMProc.h.
TGEMProc::TGEMProc | ( | const char * | name = 0 |
) |
Definition at line 195 of file TGEMProc.cxx.
References fcellMult_evt, fGEM_adc, fGEM_adc_corrected, fGEM_Map, fGEM_Map_Adc, fGEM_Map_Adc_Time, fGEM_Map_Time, fGEM_Strip, fGEM_Strip_Adc, fGEM_Strip_Adc_Time, fGEM_Strip_Time, fGEMtm, fGEMtmGate, fMappingSource, fPar, fratio0_evt, Init_GEM_Map(), NUM_GEM_X, NUM_GEM_Y, NUM_STRIPS_Y, nxch_adc_tot, nxch_baseline, and nxch_tot.
TGEMProc::~TGEMProc | ( | ) | [virtual] |
Definition at line 289 of file TGEMProc.cxx.
void TCBMBeamtimeProc::AddSubProcessor | ( | TCBMBeamtimeProc * | proc | ) | [protected, inherited] |
Definition at line 41 of file TCBMBeamtimeProc.cxx.
References TCBMBeamtimeProc::fSubProcessors.
Referenced by TCernGem12DetectorProc::TCernGem12DetectorProc(), TCernGem12FinalProc::TCernGem12FinalProc(), TCernGem12UnpackProc::TCernGem12UnpackProc(), TCernOct11DetectorProc::TCernOct11DetectorProc(), TCernOct11UnpackProc::TCernOct11UnpackProc(), TCernOct12DetectorProc::TCernOct12DetectorProc(), TCernOct12FinalProc::TCernOct12FinalProc(), TCernOct12UnpackProc::TCernOct12UnpackProc(), TCosyJan12DetectorProc::TCosyJan12DetectorProc(), TCosyJan12FinalProc::TCosyJan12FinalProc(), TCosyJan12UnpackProc::TCosyJan12UnpackProc(), TCosyNov11DetectorProc::TCosyNov11DetectorProc(), TCosyNov11UnpackProc::TCosyNov11UnpackProc(), TGsiAug12CalibrationProc::TGsiAug12CalibrationProc(), TGsiAug12DetectorProc::TGsiAug12DetectorProc(), TGsiAug12OutputProc::TGsiAug12OutputProc(), TGsiAug12TrackingProc::TGsiAug12TrackingProc(), TGsiAug12UnpackProc::TGsiAug12UnpackProc(), TLaserTest12DetectorProc::TLaserTest12DetectorProc(), and TLaserTest12UnpackProc::TLaserTest12UnpackProc().
Bool_t TCBMBeamtimeProc::BuildEvent | ( | TGo4EventElement * | outevnt | ) | [virtual, inherited] |
Reimplemented in TCernNov10Proc, TCosyDec10Proc, TRocProc, and TSpadicProc.
Definition at line 52 of file TCBMBeamtimeProc.cxx.
References TCBMBeamtimeProc::fBeamtimeEvent, TCBMBeamtimeProc::FinalizeEvent(), TCBMBeamtimeProc::fMbsEventNumber, TCBMBeamtimeProc::fMbsInput, TCBMBeamtimeProc::fMbsTriggerNumber, TCBMBeamtimeProc::fProcIterator, TCBMBeamtimeProc::InitEvent(), and TCBMBeamtimeProc::ProcessSubevent().
Long_t TCBMBeamtimeProc::ExecuteScript | ( | const char * | script_name | ) | [inherited] |
Temporary here - will be from 4.5.3 version in distribution
Definition at line 142 of file TCBMBeamtimeProc.cxx.
Referenced by TCernOct12UnpackProc::TCernOct12UnpackProc(), TFaspProc::TFaspProc(), TFiberHodProc::TFiberHodProc(), TSpadicV10Proc::TSpadicV10Proc(), and TTrbProc::TTrbProc().
void TGEMProc::FinalizeEvent | ( | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 342 of file TGEMProc.cxx.
References TGEMEvent::AddHit(), fcellMult_evt, TRocData::fExtMessages, fGEM_adc, fGEM_adc_corrected, fGEM_Map, fGEM_Map_Adc, fGEM_Map_Adc_Time, fGEM_Map_Time, fGEM_Strip, fGEM_Strip_Adc, fGEM_Strip_Time, fGEMRocIds, fGEMtm, fGEMtmGate, fMappingSource, fOutputEvent, fPar, fratio0_evt, fRocInputEvent, GEM_Map(), roc::Message::getAuxChNum(), TRocMessageExtended::GetCorrectedNxADC(), TRocMessageExtended::GetFullTime(), TRocMessageExtended::GetMessageType(), TRocMessageExtended::GetNxADC(), TRocMessageExtended::GetNxChNum(), TRocMessageExtended::GetNxNumber(), TRocMessageExtended::GetRocMessage(), TRocMessageExtended::GetTriggerDeltaT(), IsGEM(), NUM_GEM_X, NUM_GEM_Y, nxch_adc_tot, nxch_baseline, nxch_tot, TGEMParam::pedestalGemid, TGEMParam::useOwnPedestal, X, and Y.
Bool_t TGEMProc::GEM_Map | ( | Int_t | rocid, | |
Int_t | nxid, | |||
Int_t | nxCh, | |||
Int_t & | gemno, | |||
Int_t & | xpos, | |||
Int_t & | ypos | |||
) | [protected] |
Definition at line 603 of file TGEMProc.cxx.
References fGEM_X, fGEM_Y, fGEMRocIds, fGEMROCStripNx, and fGEMRocStripStation.
Referenced by FinalizeEvent().
Int_t TCBMBeamtimeProc::GetEventNumber | ( | ) | const [inline, inherited] |
Returns event number of main MBS event
Definition at line 48 of file TCBMBeamtimeProc.h.
References TCBMBeamtimeProc::fMbsEventNumber.
Referenced by TSpadicV10Proc::FinalizeEvent(), TRocProc::FinalizeEvent(), TGet4v1Proc::FinalizeEvent(), TRPCProc::FinalizeEvent(), TGet4v1Proc::ProcessSubevent(), and TGet4v1Proc::ProcessTriggerMessage().
Short_t TCBMBeamtimeProc::GetTriggerNumber | ( | ) | const [inline, inherited] |
Returns trigger number of main MBS event
Definition at line 45 of file TCBMBeamtimeProc.h.
References TCBMBeamtimeProc::fMbsTriggerNumber.
Referenced by TSpadicV10Proc::FinalizeEvent(), TRocProc::FinalizeEvent(), TTrbProc::ProcessSubevent(), TSpadicV10Proc::ProcessSubevent(), TSpadicProc::ProcessSubevent(), TGet4v1Proc::ProcessSubevent(), and TMbsCrateProc::ProcessSubevent().
void TGEMProc::Init_GEM_Map | ( | ) | [protected] |
Definition at line 660 of file TGEMProc.cxx.
References fGEM_Map, fGEM_X, fGEM_Y, fGEM_Y_BoundariesLeft, fGEM_Y_BoundariesRight, fGEM_Y_PeriodLeft, fGEM_Y_PeriodRight, fGEM_Y_ShiftLeft, fGEM_Y_ShiftRight, X, and Y.
Referenced by TGEMProc().
void TGEMProc::InitEvent | ( | TGo4EventElement * | outevnt | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 293 of file TGEMProc.cxx.
References fBeamEvent, fFiberHodEvent1, fFiberHodEvent2, fOutputEvent, fRocInputEvent, and TCBMBeamtimeEvent::GetSubEvent().
Bool_t TGEMProc::IsGEM | ( | TRocMessageExtended & | msg | ) | [protected] |
Definition at line 588 of file TGEMProc.cxx.
References fGEMRocIds, and TRocMessageExtended::GetRocNumber().
Referenced by FinalizeEvent().
void TCBMBeamtimeProc::ProcessSubevent | ( | TGo4MbsSubEvent * | subevt | ) | [virtual, inherited] |
Reimplemented in TCernNov10Proc, TMbsCrateProc, TMbsCrateProc, TCosyDec10Proc, TMbsCrateProc, TExploderProc, TMbsCrateProc, TGet4v1Proc, TMbsCrateProc, TMbsCrateProc, TMbsCrateProc, TGet4v1Proc, TMbsCrateProc, TRocProc, TEpicsProc, TFaspProc, TTriglogProc, TRocProc, TSpadicProc, TSpadicV10Proc, and TTrbProc.
Definition at line 46 of file TCBMBeamtimeProc.cxx.
Referenced by TCBMBeamtimeProc::BuildEvent().
TBeamMonitorEvent* TGEMProc::fBeamEvent [protected] |
Definition at line 86 of file TGEMProc.h.
Referenced by InitEvent().
TCBMBeamtimeEvent* TCBMBeamtimeProc::fBeamtimeEvent [protected, inherited] |
Definition at line 60 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
TH1* TGEMProc::fcellMult_evt [protected] |
Definition at line 43 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TFiberHodEvent* TGEMProc::fFiberHodEvent1 [protected] |
Definition at line 87 of file TGEMProc.h.
Referenced by InitEvent().
TFiberHodEvent* TGEMProc::fFiberHodEvent2 [protected] |
Definition at line 88 of file TGEMProc.h.
Referenced by InitEvent().
TH1* TGEMProc::fGEM_adc[NUM_GEM_STATIONS] [protected] |
Definition at line 48 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH1* TGEMProc::fGEM_adc_corrected[NUM_GEM_STATIONS] [protected] |
Definition at line 47 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH2* TGEMProc::fGEM_Map[NUM_GEM_STATIONS] [protected] |
Definition at line 50 of file TGEMProc.h.
Referenced by FinalizeEvent(), Init_GEM_Map(), and TGEMProc().
TH2* TGEMProc::fGEM_Map_Adc[NUM_GEM_STATIONS] [protected] |
Definition at line 52 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH2* TGEMProc::fGEM_Map_Adc_Time[NUM_GEM_STATIONS] [protected] |
Definition at line 53 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH2* TGEMProc::fGEM_Map_Time[NUM_GEM_STATIONS] [protected] |
Definition at line 51 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH1* TGEMProc::fGEM_Strip[NUM_GEM_STATIONS] [protected] |
Definition at line 55 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH1* TGEMProc::fGEM_Strip_Adc[NUM_GEM_STATIONS] [protected] |
Definition at line 57 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH1* TGEMProc::fGEM_Strip_Adc_Time[NUM_GEM_STATIONS] [protected] |
Definition at line 58 of file TGEMProc.h.
Referenced by TGEMProc().
TH1* TGEMProc::fGEM_Strip_Time[NUM_GEM_STATIONS] [protected] |
Definition at line 56 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
Int_t TGEMProc::fGEM_X[NUM_GEM_ROCS][NUM_GEM_NX][NUM_GEM_CH] [protected] |
Definition at line 79 of file TGEMProc.h.
Referenced by GEM_Map(), and Init_GEM_Map().
Int_t TGEMProc::fGEM_Y[NUM_GEM_ROCS][NUM_GEM_NX][NUM_GEM_CH] [protected] |
Definition at line 80 of file TGEMProc.h.
Referenced by GEM_Map(), and Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_BoundariesLeft = {10,19,31,42,54,65,77,88,100,111,123,134,146,157,169,180,192,203,215,226,237,246,256} [static, protected] |
Definition at line 71 of file TGEMProc.h.
Referenced by Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_BoundariesRight = { 9,19,30,42,53,65,76,88,99,111,122,134,145,157,168,180,191,203,214,226,237,247,256} [static, protected] |
Definition at line 75 of file TGEMProc.h.
Referenced by Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_PeriodLeft = {10,9,12,11,12,11,12,11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 11, 9, 10} [static, protected] |
Definition at line 72 of file TGEMProc.h.
Referenced by Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_PeriodRight = { 9,10,11,12,11,12,11,12,11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 11, 10, 9} [static, protected] |
Definition at line 76 of file TGEMProc.h.
Referenced by Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_ShiftLeft = { 2, 2, 0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,2 } [static, protected] |
Definition at line 73 of file TGEMProc.h.
Referenced by Init_GEM_Map().
Int_t TGEMProc::fGEM_Y_ShiftRight = { 1, 0, 1, 0, 1, 0, 1, 0, 1 , 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ,0,1,0,1 } [static, protected] |
Definition at line 77 of file TGEMProc.h.
Referenced by Init_GEM_Map().
UChar_t TGEMProc::fGEMRocIds = {9,7} [static, protected] |
Definition at line 67 of file TGEMProc.h.
Referenced by FinalizeEvent(), GEM_Map(), and IsGEM().
UChar_t TGEMProc::fGEMROCStripNx = 0 [static, protected] |
Definition at line 69 of file TGEMProc.h.
Referenced by GEM_Map().
UChar_t TGEMProc::fGEMRocStripStation = 7 [static, protected] |
Definition at line 68 of file TGEMProc.h.
Referenced by GEM_Map().
TH1* TGEMProc::fGEMtm[NUM_GEM_STATIONS] [protected] |
Definition at line 44 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TGo4WinCond* TGEMProc::fGEMtmGate[NUM_GEM_STATIONS] [protected] |
Definition at line 45 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH2* TGEMProc::fMappingSource[NUM_GEM_STATIONS] [protected] |
Definition at line 60 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
Int_t TCBMBeamtimeProc::fMbsEventNumber [protected, inherited] |
Definition at line 63 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent(), TRPCProc::FinalizeEvent(), and TCBMBeamtimeProc::GetEventNumber().
TGo4MbsEvent* TCBMBeamtimeProc::fMbsInput [protected, inherited] |
Definition at line 61 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
Short_t TCBMBeamtimeProc::fMbsTriggerNumber [protected, inherited] |
Definition at line 62 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent(), and TCBMBeamtimeProc::GetTriggerNumber().
TGEMEvent* TGEMProc::fOutputEvent [protected] |
Definition at line 84 of file TGEMProc.h.
Referenced by FinalizeEvent(), and InitEvent().
TGEMParam* TGEMProc::fPar [protected] |
Definition at line 62 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TH1* TGEMProc::fratio0_evt [protected] |
Definition at line 42 of file TGEMProc.h.
Referenced by FinalizeEvent(), and TGEMProc().
TRocEvent* TGEMProc::fRocInputEvent [protected] |