#include <TFaspProc.h>
Public Member Functions | |
TFaspProc () | |
TFaspProc (const char *name) | |
virtual | ~TFaspProc () |
virtual void | InitEvent (TGo4EventElement *evt) |
virtual void | ProcessSubevent (TGo4MbsSubEvent *subevt) |
virtual Bool_t | BuildEvent (TGo4EventElement *) |
virtual void | FinalizeEvent () |
Short_t | GetTriggerNumber () const |
Int_t | GetEventNumber () const |
Long_t | ExecuteScript (const char *script_name) |
Protected Member Functions | |
void | AddSubProcessor (TCBMBeamtimeProc *) |
Protected Attributes | |
TFaspParam * | fPar |
TFaspEvent * | fOutEvent |
TH1 * | hADCs [Fasp_NumChannels] |
TH1 * | fSignalTmDiff |
TH1 * | fSignalTmDiffFine |
TH1 * | fSyncTmDiff |
TH1 * | fSyncDiff |
UInt_t | fLastSync |
UInt_t | fLastSyncTm |
UInt_t | fLastAdcTm |
TGo4WinCond * | fTmCond |
TCBMBeamtimeEvent * | fBeamtimeEvent |
TGo4MbsEvent * | fMbsInput |
Short_t | fMbsTriggerNumber |
Int_t | fMbsEventNumber |
Definition at line 13 of file TFaspProc.h.
TFaspProc::TFaspProc | ( | ) |
Definition at line 18 of file TFaspProc.cxx.
TFaspProc::TFaspProc | ( | const char * | name | ) |
Init user analysis objects
Definition at line 23 of file TFaspProc.cxx.
References TCBMBeamtimeProc::ExecuteScript(), fLastAdcTm, fLastSync, fLastSyncTm, fOutEvent, fPar, fSignalTmDiff, fSignalTmDiffFine, fSyncDiff, fSyncTmDiff, fTmCond, and hADCs.
TFaspProc::~TFaspProc | ( | ) | [virtual] |
Definition at line 51 of file TFaspProc.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(), TFiberHodProc::TFiberHodProc(), TSpadicV10Proc::TSpadicV10Proc(), and TTrbProc::TTrbProc().
virtual void TCBMBeamtimeProc::FinalizeEvent | ( | ) | [inline, virtual, inherited] |
Reimplemented in TGem1Proc, TGem2Proc, TTrackingProc, TTRDBucharestProc, TTRDDubnaProc, TTRDMuensterFrankfurtProc, TRICHProc, TBeamMonitorProc, TTRDBucharestProc, TTRDMuensterFrankfurtProc, TRICHProc, TBeamMonitorProc, TTrackingProc, TGEMProc, TSTSProc, TBeamMonitorProc, TTrackingProc, TBucharestProc, TDiamondProc, TRootConverterProc, TRossendorfProc, TRPCProc, TSiStripsProc, TBeamMonitorProc, TGet4v1Proc, TMatchingProc, TPlasticsProc, TRootConverterProc, TRpcProc, TScalersProc, TVftxProc, TBucharestProc, TBeamMonitorProc, TRootConverterProc, TRossendorfProc, TRPCProc, TVftxProc, TMatchingProc, TPadRpcProc, TPlasticsProc, TRootConverterProc, TRpcProc, TScalersProc, TVftxProc, TSTSProc, TGet4v1Proc, TMatchingProc, TPadRpcProc, TPlasticsProc, TRootConverterProc, TRpcProc, TScalersProc, TVftxProc, TEpicsProc, TFiberHodProc, TRocProc, and TSpadicV10Proc.
Definition at line 39 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
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 TFaspProc::InitEvent | ( | TGo4EventElement * | evt | ) | [virtual] |
Test if we are in beamtime or standalone mode: since output event object is never discarded within processor lifetime, we just search for subevent by name once to speed up processing
Reimplemented from TCBMBeamtimeProc.
Definition at line 55 of file TFaspProc.cxx.
References fOutEvent, and TCBMBeamtimeEvent::GetSubEvent().
void TFaspProc::ProcessSubevent | ( | TGo4MbsSubEvent * | subevt | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 76 of file TFaspProc.cxx.
References TFaspEvent::fAdcs, TFaspEvent::fAdcTm, fLastAdcTm, fLastSync, fLastSyncTm, fOutEvent, fPar, fSignalTmDiff, fSignalTmDiffFine, fSyncDiff, TFaspEvent::fSyncNumber, TFaspEvent::fSyncTm, fSyncTmDiff, fTmCond, hADCs, and TFaspParam::printEvent.
TCBMBeamtimeEvent* TCBMBeamtimeProc::fBeamtimeEvent [protected, inherited] |
Definition at line 60 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
UInt_t TFaspProc::fLastAdcTm [protected] |
Definition at line 38 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
UInt_t TFaspProc::fLastSync [protected] |
Definition at line 36 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
UInt_t TFaspProc::fLastSyncTm [protected] |
Definition at line 37 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
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().
TFaspEvent* TFaspProc::fOutEvent [protected] |
Definition at line 27 of file TFaspProc.h.
Referenced by InitEvent(), ProcessSubevent(), and TFaspProc().
TFaspParam* TFaspProc::fPar [protected] |
Definition at line 25 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TH1* TFaspProc::fSignalTmDiff [protected] |
Definition at line 31 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TH1* TFaspProc::fSignalTmDiffFine [protected] |
Definition at line 32 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TH1* TFaspProc::fSyncDiff [protected] |
Definition at line 34 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TH1* TFaspProc::fSyncTmDiff [protected] |
Definition at line 33 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TGo4WinCond* TFaspProc::fTmCond [protected] |
Definition at line 40 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().
TH1* TFaspProc::hADCs[Fasp_NumChannels] [protected] |
Definition at line 29 of file TFaspProc.h.
Referenced by ProcessSubevent(), and TFaspProc().