#include <TFiberHodProc.h>
Data Structures | |
struct | adccompare |
struct | clusterbankentry_t |
struct | decodingentry_t |
struct | hitbankentry_t |
Public Member Functions | |
TFiberHodProc () | |
TFiberHodProc (const char *name) | |
virtual | ~TFiberHodProc () |
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 | |
void | InitializeDecoding (Int_t altflag=0) |
void | PrintAllHits () |
void | PrintAllClusters () |
void | AddSubProcessor (TCBMBeamtimeProc *) |
Protected Attributes | |
TFiberHodParam * | fParam |
decodingentry_t | fDecoding [128] |
configuration parameter | |
TRocEvent * | fRocEvent |
index: channelnr | |
TFiberHodEvent * | fHodEvent |
event element with original data from ROC | |
std::vector< hitbankentry_t > | fHitbank |
result of cluster finding | |
std::vector< clusterbankentry_t > | fClusterbank |
hits are not stored | |
Int_t | fSingleEventSlice |
clusters are not stored | |
TH2 * | hSingleEventHit2D |
TH2 * | hSingleEventCluster2D [5] |
do not store histograms to output event | |
TH1 * | hMaxCh |
do not store histograms to output event | |
TH1 * | hMaxFiberall |
do not store histograms to output event | |
TH1 * | hMaxFiberpl1 |
do not store histograms to output event | |
TH1 * | hMaxFiberpl2 |
do not store histograms to output event | |
TH1 * | hADC |
do not store histograms to output event | |
TH2 * | hMaxADC |
histogram with max ADC values | |
TH2 * | hMaxADCraw |
do not store histograms to output event | |
TH2 * | hMaxFiber2D |
do not store histograms to output event | |
TH1 * | hNrHits |
do not store histograms to output event | |
TH1 * | hNrClusters |
number of initial hits | |
TH2 * | hNrClusters2D |
do not store histograms to output event | |
TH1 * | hMaxClusterTimediff |
do not store histograms to output event | |
TH1 * | hPosition2D |
do not store histograms to output event | |
TGo4WinCond * | fADC_cond |
do not store histograms to output event | |
TCBMBeamtimeEvent * | fBeamtimeEvent |
TGo4MbsEvent * | fMbsInput |
Short_t | fMbsTriggerNumber |
Int_t | fMbsEventNumber |
Definition at line 11 of file TFiberHodProc.h.
TFiberHodProc::TFiberHodProc | ( | ) |
Definition at line 26 of file TFiberHodProc.cxx.
TFiberHodProc::TFiberHodProc | ( | const char * | name | ) |
Definition at line 42 of file TFiberHodProc.cxx.
References TCBMBeamtimeProc::ExecuteScript(), fADC_cond, fClusterbank, fHitbank, fParam, fSingleEventSlice, hADC, hMaxADC, hMaxADCraw, hMaxCh, hMaxClusterTimediff, hMaxFiber2D, hMaxFiberall, hMaxFiberpl1, hMaxFiberpl2, hNrClusters, hNrClusters2D, hNrHits, hPosition2D, hSingleEventCluster2D, hSingleEventHit2D, InitializeDecoding(), and TFiberHodParam::SingleEventMode.
TFiberHodProc::~TFiberHodProc | ( | ) | [virtual] |
Definition at line 102 of file TFiberHodProc.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(), TSpadicV10Proc::TSpadicV10Proc(), and TTrbProc::TTrbProc().
void TFiberHodProc::FinalizeEvent | ( | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 225 of file TFiberHodProc.cxx.
References TFiberHodEvent::hit_t::ADC, TFiberHodProc::hitbankentry_t::ADC, TFiberHodProc::hitbankentry_t::ADCraw, TFiberHodParam::Debug, fADC_cond, fClusterbank, fDecoding, TFiberHodProc::hitbankentry_t::FEBchannel, TRocData::fExtMessages, fHitbank, TFiberHodEvent::fHits, fHodEvent, TFiberHodProc::decodingentry_t::fiber, TFiberHodProc::hitbankentry_t::fiber, fParam, fRocEvent, fSingleEventSlice, TRocMessageExtended::GetCorrectedNxADC(), TRocMessageExtended::GetFullTime(), TRocMessageExtended::GetMessageType(), TRocMessageExtended::GetNxADC(), TRocMessageExtended::GetNxChNum(), TRocMessageExtended::GetNxNumber(), TRocMessageExtended::GetRocNumber(), TRocMessageExtended::GetTriggerDeltaT(), hADC, hMaxADC, hMaxADCraw, hMaxCh, hMaxClusterTimediff, hMaxFiber2D, hMaxFiberall, hMaxFiberpl1, hMaxFiberpl2, hNrClusters, hNrClusters2D, hNrHits, hPosition2D, hSingleEventCluster2D, hSingleEventHit2D, TFiberHodParam::MaxClusterDist, TFiberHodParam::MaxTimeDiff, TFiberHodProc::clusterbankentry_t::meanfiber, TFiberHodProc::clusterbankentry_t::meanposition, TFiberHodProc::clusterbankentry_t::meantime, TFiberHodProc::clusterbankentry_t::NrHits, TFiberHodEvent::hit_t::NumHits, TFiberHodParam::NxID, TFiberHodProc::clusterbankentry_t::plane, TFiberHodProc::decodingentry_t::plane, TFiberHodProc::hitbankentry_t::plane, TFiberHodProc::decodingentry_t::position, TFiberHodProc::hitbankentry_t::position, PrintAllClusters(), PrintAllHits(), TFiberHodParam::RocID, TFiberHodParam::SingleEventMode, TFiberHodProc::hitbankentry_t::status, TFiberHodProc::clusterbankentry_t::sumADC, TFiberHodEvent::hit_t::time, TFiberHodProc::hitbankentry_t::time, TFiberHodEvent::hit_t::X, and TFiberHodEvent::hit_t::Y.
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 TFiberHodProc::InitEvent | ( | TGo4EventElement * | outevnt | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 192 of file TFiberHodProc.cxx.
References fHodEvent, fRocEvent, and TCBMBeamtimeEvent::GetSubEvent().
void TFiberHodProc::InitializeDecoding | ( | Int_t | altflag = 0 |
) | [protected] |
Definition at line 107 of file TFiberHodProc.cxx.
References TFiberHodProc::decodingentry_t::cable, fDecoding, TFiberHodProc::decodingentry_t::FEBchannel, TFiberHodProc::decodingentry_t::fiber, fParam, TFiberHodProc::decodingentry_t::lcn, TFiberHodParam::NxID, TFiberHodProc::decodingentry_t::pixel, TFiberHodProc::decodingentry_t::plane, TFiberHodProc::decodingentry_t::position, TFiberHodParam::RocID, and TFiberHodParam::WrongCabling.
Referenced by TFiberHodProc().
void TFiberHodProc::PrintAllClusters | ( | ) | [protected] |
Definition at line 476 of file TFiberHodProc.cxx.
References fClusterbank.
Referenced by FinalizeEvent().
void TFiberHodProc::PrintAllHits | ( | ) | [protected] |
Definition at line 468 of file TFiberHodProc.cxx.
References fHitbank.
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().
TGo4WinCond* TFiberHodProc::fADC_cond [protected] |
do not store histograms to output event
Definition at line 117 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TCBMBeamtimeEvent* TCBMBeamtimeProc::fBeamtimeEvent [protected, inherited] |
Definition at line 60 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
std::vector<clusterbankentry_t> TFiberHodProc::fClusterbank [protected] |
hits are not stored
Definition at line 94 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), PrintAllClusters(), and TFiberHodProc().
decodingentry_t TFiberHodProc::fDecoding[128] [protected] |
configuration parameter
Definition at line 87 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and InitializeDecoding().
std::vector<hitbankentry_t> TFiberHodProc::fHitbank [protected] |
result of cluster finding
Definition at line 92 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), PrintAllHits(), and TFiberHodProc().
TFiberHodEvent* TFiberHodProc::fHodEvent [protected] |
event element with original data from ROC
Definition at line 90 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and InitEvent().
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().
TFiberHodParam* TFiberHodProc::fParam [protected] |
Definition at line 83 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), InitializeDecoding(), and TFiberHodProc().
TRocEvent* TFiberHodProc::fRocEvent [protected] |
index: channelnr
Definition at line 89 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and InitEvent().
Int_t TFiberHodProc::fSingleEventSlice [protected] |
clusters are not stored
Definition at line 96 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hADC [protected] |
do not store histograms to output event
Definition at line 106 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hMaxADC [protected] |
histogram with max ADC values
Definition at line 107 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hMaxADCraw [protected] |
do not store histograms to output event
Definition at line 108 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hMaxCh [protected] |
do not store histograms to output event
Definition at line 102 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hMaxClusterTimediff [protected] |
do not store histograms to output event
Definition at line 113 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hMaxFiber2D [protected] |
do not store histograms to output event
Definition at line 109 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hMaxFiberall [protected] |
do not store histograms to output event
Definition at line 103 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hMaxFiberpl1 [protected] |
do not store histograms to output event
Definition at line 104 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hMaxFiberpl2 [protected] |
do not store histograms to output event
Definition at line 105 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hNrClusters [protected] |
number of initial hits
Definition at line 111 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hNrClusters2D [protected] |
do not store histograms to output event
Definition at line 112 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hNrHits [protected] |
do not store histograms to output event
Definition at line 110 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH1* TFiberHodProc::hPosition2D [protected] |
do not store histograms to output event
Definition at line 114 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hSingleEventCluster2D[5] [protected] |
do not store histograms to output event
Definition at line 100 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().
TH2* TFiberHodProc::hSingleEventHit2D [protected] |
Definition at line 99 of file TFiberHodProc.h.
Referenced by FinalizeEvent(), and TFiberHodProc().