#include <TTriglogProc.h>
Public Member Functions | |
TTriglogProc () | |
TTriglogProc (const char *name, const char *channel_names=0) | |
virtual | ~TTriglogProc () |
virtual void | InitEvent (TGo4EventElement *) |
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 | |
TTriglogEvent * | fOutputEvent |
TH1 * | fVulomSyncs |
TH1 * | fVulomScalers [NUM_SCALERS] |
TLatex * | fVulomInfo |
UInt_t | fFirstMbsTime |
UInt_t | fLastMbsTime |
first mbs time | |
UInt_t | fFirstScaler [NUM_SCALERS][N_SCALERS_CH] |
last mbs time | |
UInt_t | fLastScaler [NUM_SCALERS][N_SCALERS_CH] |
VULOM scaler contents. | |
Int_t | fTotalTriggerCount |
VULOM scaler contents. | |
TString | fChannelNames [N_SCALERS_CH] |
TH1 * | fSpillRate |
Int_t | fLastSync |
events per second | |
Double_t | fPrevMbsTime |
last sync number | |
UInt_t | fPrevScaler [NUM_SCALERS][N_SCALERS_CH] |
Double_t | fScalerRate [NUM_SCALERS][N_SCALERS_CH] |
TH1 * | fRate [NUM_SCALERS][N_SCALERS_CH] |
TCBMBeamtimeEvent * | fBeamtimeEvent |
TGo4MbsEvent * | fMbsInput |
Short_t | fMbsTriggerNumber |
Int_t | fMbsEventNumber |
Definition at line 11 of file TTriglogProc.h.
TTriglogProc::TTriglogProc | ( | ) |
Definition at line 18 of file TTriglogProc.cxx.
TTriglogProc::TTriglogProc | ( | const char * | name, | |
const char * | channel_names = 0 | |||
) |
Definition at line 24 of file TTriglogProc.cxx.
References fChannelNames, fFirstMbsTime, fLastMbsTime, fLastSync, fPrevMbsTime, fRate, fSpillRate, fTotalTriggerCount, fVulomInfo, fVulomScalers, fVulomSyncs, and N_SCALERS_CH.
TTriglogProc::~TTriglogProc | ( | ) | [virtual] |
Definition at line 67 of file TTriglogProc.cxx.
References fChannelNames, fFirstMbsTime, fFirstScaler, fLastMbsTime, fLastScaler, and fTotalTriggerCount.
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().
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 TTriglogProc::InitEvent | ( | TGo4EventElement * | outevnt | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 93 of file TTriglogProc.cxx.
References fOutputEvent, and TCBMBeamtimeEvent::GetSubEvent().
void TTriglogProc::ProcessSubevent | ( | TGo4MbsSubEvent * | subevt | ) | [virtual] |
Reimplemented from TCBMBeamtimeProc.
Definition at line 112 of file TTriglogProc.cxx.
References fFirstMbsTime, fFirstScaler, fLastMbsTime, fLastScaler, fLastSync, TTriglogEvent::fMbsTimeMillisec, TTriglogEvent::fMbsTimeSecs, fOutputEvent, fPrevMbsTime, fPrevScaler, fRate, fScalerRate, fSpillRate, fTotalTriggerCount, fVulomInfo, TTriglogEvent::fVulomScaler, fVulomScalers, TTriglogEvent::fVulomSyncNumber, fVulomSyncs, and TTriglogEvent::fVulomTriggerPattern.
TCBMBeamtimeEvent* TCBMBeamtimeProc::fBeamtimeEvent [protected, inherited] |
Definition at line 60 of file TCBMBeamtimeProc.h.
Referenced by TCBMBeamtimeProc::BuildEvent().
TString TTriglogProc::fChannelNames[N_SCALERS_CH] [protected] |
Definition at line 38 of file TTriglogProc.h.
Referenced by TTriglogProc(), and ~TTriglogProc().
UInt_t TTriglogProc::fFirstMbsTime [protected] |
Definition at line 30 of file TTriglogProc.h.
Referenced by ProcessSubevent(), TTriglogProc(), and ~TTriglogProc().
UInt_t TTriglogProc::fFirstScaler[NUM_SCALERS][N_SCALERS_CH] [protected] |
last mbs time
Definition at line 33 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and ~TTriglogProc().
UInt_t TTriglogProc::fLastMbsTime [protected] |
first mbs time
Definition at line 31 of file TTriglogProc.h.
Referenced by ProcessSubevent(), TTriglogProc(), and ~TTriglogProc().
UInt_t TTriglogProc::fLastScaler[NUM_SCALERS][N_SCALERS_CH] [protected] |
VULOM scaler contents.
Definition at line 34 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and ~TTriglogProc().
Int_t TTriglogProc::fLastSync [protected] |
events per second
Definition at line 41 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
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().
TTriglogEvent* TTriglogProc::fOutputEvent [protected] |
Definition at line 24 of file TTriglogProc.h.
Referenced by InitEvent(), and ProcessSubevent().
Double_t TTriglogProc::fPrevMbsTime [protected] |
last sync number
Definition at line 43 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
UInt_t TTriglogProc::fPrevScaler[NUM_SCALERS][N_SCALERS_CH] [protected] |
Definition at line 44 of file TTriglogProc.h.
Referenced by ProcessSubevent().
TH1* TTriglogProc::fRate[NUM_SCALERS][N_SCALERS_CH] [protected] |
Definition at line 46 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
Double_t TTriglogProc::fScalerRate[NUM_SCALERS][N_SCALERS_CH] [protected] |
Definition at line 45 of file TTriglogProc.h.
Referenced by ProcessSubevent().
TH1* TTriglogProc::fSpillRate [protected] |
Definition at line 40 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
Int_t TTriglogProc::fTotalTriggerCount [protected] |
VULOM scaler contents.
Definition at line 36 of file TTriglogProc.h.
Referenced by ProcessSubevent(), TTriglogProc(), and ~TTriglogProc().
TLatex* TTriglogProc::fVulomInfo [protected] |
Definition at line 28 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
TH1* TTriglogProc::fVulomScalers[NUM_SCALERS] [protected] |
Definition at line 27 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().
TH1* TTriglogProc::fVulomSyncs [protected] |
Definition at line 26 of file TTriglogProc.h.
Referenced by ProcessSubevent(), and TTriglogProc().