|
CbmRoot
|
#include <CbmStar2019EventBuilderEtof.h>
Public Member Functions | |
| CbmStar2019EventBuilderEtof (UInt_t uNbGdpb=1) | |
| virtual | ~CbmStar2019EventBuilderEtof () |
| virtual Bool_t | Init () |
| virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
| virtual void | Reset () |
| virtual void | Finish () |
| void | SetParContainers () |
| Bool_t | InitContainers () |
| Bool_t | ReInitContainers () |
| void | SetSandboxMode (Bool_t bSandboxMode=kTRUE) |
| void | SetEventDumpEnable (Bool_t bDumpEna=kTRUE) |
| void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
| void | SetDebugMonitorMode (Bool_t bFlagIn=kTRUE) |
| void | SetStoreLostEventMsg (Bool_t bFlagIn=kTRUE) |
| void | SetAddStatusToEvent (Bool_t bFlagIn=kTRUE) |
| void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
| void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
| Temp until we change from CbmMcbmUnpack to something else. | |
| void | SetNbMsInTs (size_t, size_t) |
| void | UseDaqBuffer (Bool_t) |
Private Member Functions | |
| Bool_t | SaveHistograms () |
| CbmStar2019EventBuilderEtof (const CbmStar2019EventBuilderEtof &) | |
| CbmStar2019EventBuilderEtof | operator= (const CbmStar2019EventBuilderEtof &) |
Private Attributes | |
| Bool_t | fbMonitorMode |
| Control flags. | |
| Bool_t | fbDebugMonitorMode |
| Switch ON the filling of a minimal set of histograms. | |
| Bool_t | fbStoreLostEventMsg |
| Switch ON the filling of a additional set of histograms. | |
| Bool_t | fbAddStatusToEvent |
| Switch ON the insertion of the LostEvent messages from GET4s with the critical errors. | |
| Bool_t | fbSandboxMode |
| Switch ON the readout and insertion of STATUS pattern message (default is true) | |
| Bool_t | fbEventDumpEna |
| Switch OFF the emission of data toward the STAR DAQ. | |
| TList * | fParCList |
| Switch ON the dumping of the events to a binary file. | |
| UInt_t | fuMinTotPulser |
| User settings: Data selection parameters. | |
| UInt_t | fuMaxTotPulser |
| TString | fsHistoFileName |
| uint64_t | fulTsCounter |
| Statistics & first TS rejection. | |
| CbmStar2019EventBuilderEtofAlgo * | fEventBuilderAlgo |
| Processing algo. | |
| Double_t | fdMsSizeInNs |
| Processing speed watch. | |
| Double_t | fdTsCoreSizeInSec |
| Size of a single MS, [nanoseconds]. | |
| TStopwatch | fTimer |
| Total size of the core MS in a TS, [seconds]. | |
| Double_t | fdRealTime |
| Double_t | fdRealTimeMin |
| Double_t | fdRealTimeMax |
| Double_t | fdRealTimeAll |
| Double_t | fdRealTimeMinAll |
| Double_t | fdRealTimeMaxAll |
| uint64_t | fulNbEvents |
| uint64_t | fulNbEventsSinceLastPrintout |
| TH1 * | fhRealTimeDistr |
| TH2 * | fhRealTimeEvo |
| Exclude from dictionary because ?!?! | |
| TProfile * | fhMeanRealTimeEvo |
| Exclude from dictionary because ?!?! | |
| std::fstream * | fpBinDumpFile |
| Exclude from dictionary because ?!?! | |
| const UInt_t | kuBinDumpBegWord = 0xFEEDBEAF |
| const UInt_t | kuBinDumpEndWord = 0xFAEBDEEF |
Definition at line 36 of file CbmStar2019EventBuilderEtof.h.
| CbmStar2019EventBuilderEtof::CbmStar2019EventBuilderEtof | ( | UInt_t | uNbGdpb = 1 | ) |
Definition at line 40 of file CbmStar2019EventBuilderEtof.cxx.
References CbmMcbmUnpack::CbmMcbmUnpack(), fbAddStatusToEvent, fbDebugMonitorMode, fbEventDumpEna, fbMonitorMode, fbSandboxMode, fbStoreLostEventMsg, fdMsSizeInNs, fdRealTime, fdRealTimeAll, fdRealTimeMax, fdRealTimeMaxAll, fdRealTimeMin, fdRealTimeMinAll, fdTsCoreSizeInSec, fEventBuilderAlgo, fhMeanRealTimeEvo, fhRealTimeDistr, fhRealTimeEvo, fParCList, fpBinDumpFile, fsHistoFileName, fTimer, fulNbEvents, fulNbEventsSinceLastPrintout, fulTsCounter, fuMaxTotPulser, and fuMinTotPulser.
Referenced by CbmStar2019EventBuilderEtof(), and operator=().
|
virtual |
Definition at line 73 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo.
|
private |
References CbmStar2019EventBuilderEtof().
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 232 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo.
|
virtual |
On first TS, extract the TS parameters from header (by definition stable over time)
Send the sub-event to the STAR systems
Valid output, do stuff with it!
Implements CbmMcbmUnpack.
Definition at line 237 of file CbmStar2019EventBuilderEtof.cxx.
References bStarEtof2019EventBuilderResetHistos, fbDebugMonitorMode, fbEventDumpEna, fbMonitorMode, fbSandboxMode, fdMsSizeInNs, fdRealTime, fdRealTimeMax, fdRealTimeMin, fdTsCoreSizeInSec, fEventBuilderAlgo, fhMeanRealTimeEvo, fhRealTimeDistr, fhRealTimeEvo, fpBinDumpFile, fTimer, fulNbEvents, fulNbEventsSinceLastPrintout, fulTsCounter, kuBinDumpBegWord, kuBinDumpEndWord, and star_rhicf_write().
|
virtual |
If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server
Implements CbmMcbmUnpack.
Definition at line 349 of file CbmStar2019EventBuilderEtof.cxx.
References fbMonitorMode, fpBinDumpFile, and SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 75 of file CbmStar2019EventBuilderEtof.cxx.
|
virtual |
Control flags
Parameters for FLES containers processing
If monitor mode enabled, trigger histos creation, obtain pointer on them and add them to the HTTP server
Trigger histo creation on all associated algos
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
Obtain vector of pointers on each canvas from the algo (+ optionally desired folder)
Register the histos in the HTTP server
Reimplemented from CbmMcbmUnpack.
Definition at line 110 of file CbmStar2019EventBuilderEtof.cxx.
References fbAddStatusToEvent, fbDebugMonitorMode, fbMonitorMode, fbStoreLostEventMsg, fdMsSizeInNs, fEventBuilderAlgo, fhMeanRealTimeEvo, fhRealTimeDistr, fhRealTimeEvo, fuMaxTotPulser, fuMinTotPulser, and CbmStar2019TofPar::GetSizeMsInNs().
|
private |
References CbmStar2019EventBuilderEtof().
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 191 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 347 of file CbmStar2019EventBuilderEtof.cxx.
|
private |
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
(Re-)Create ROOT file to store the histos
Register the histos in the HTTP server
Make sure we end up in chosen folder
Write plot
Make sure we end up in chosen folder
Write plot
Definition at line 360 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo, and fsHistoFileName.
Referenced by Finish().
|
inline |
Definition at line 58 of file CbmStar2019EventBuilderEtof.h.
References fbAddStatusToEvent.
|
inline |
Definition at line 56 of file CbmStar2019EventBuilderEtof.h.
References fbDebugMonitorMode.
| void CbmStar2019EventBuilderEtof::SetEventDumpEnable | ( | Bool_t | bDumpEna = kTRUE | ) |
Definition at line 199 of file CbmStar2019EventBuilderEtof.cxx.
References fbEventDumpEna, and fpBinDumpFile.
|
inline |
Definition at line 55 of file CbmStar2019EventBuilderEtof.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 67 of file CbmStar2019EventBuilderEtof.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 86 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo, and fParCList.
|
inline |
Definition at line 59 of file CbmStar2019EventBuilderEtof.h.
References fuMaxTotPulser, and fuMinTotPulser.
|
inline |
Definition at line 53 of file CbmStar2019EventBuilderEtof.h.
References fbSandboxMode.
|
inline |
Definition at line 57 of file CbmStar2019EventBuilderEtof.h.
References fbStoreLostEventMsg.
|
inline |
Definition at line 69 of file CbmStar2019EventBuilderEtof.h.
|
private |
Switch ON the insertion of the LostEvent messages from GET4s with the critical errors.
Definition at line 76 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), InitContainers(), and SetAddStatusToEvent().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 74 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), InitContainers(), and SetDebugMonitorMode().
|
private |
Switch OFF the emission of data toward the STAR DAQ.
Definition at line 78 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and SetEventDumpEnable().
|
private |
Control flags.
Definition at line 73 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the readout and insertion of STATUS pattern message (default is true)
Definition at line 77 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and SetSandboxMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 75 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), InitContainers(), and SetStoreLostEventMsg().
|
private |
Processing speed watch.
Definition at line 95 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and InitContainers().
|
private |
Definition at line 98 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 101 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof().
|
private |
Definition at line 100 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 103 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof().
|
private |
Definition at line 99 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 102 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof().
|
private |
Size of a single MS, [nanoseconds].
Definition at line 96 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Processing algo.
Definition at line 92 of file CbmStar2019EventBuilderEtof.h.
Referenced by AddMsComponentToList(), CbmStar2019EventBuilderEtof(), DoUnpack(), InitContainers(), ReInitContainers(), SaveHistograms(), SetParContainers(), and ~CbmStar2019EventBuilderEtof().
|
private |
Exclude from dictionary because ?!?!
Definition at line 108 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and InitContainers().
|
private |
Definition at line 106 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and InitContainers().
|
private |
Exclude from dictionary because ?!?!
Definition at line 107 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), and InitContainers().
|
private |
Switch ON the dumping of the events to a binary file.
Parameters management
Definition at line 81 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and SetParContainers().
|
private |
Exclude from dictionary because ?!?!
Event dump to binary file
Definition at line 111 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), DoUnpack(), Finish(), and SetEventDumpEnable().
|
private |
Definition at line 86 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and SaveHistograms().
|
private |
Total size of the core MS in a TS, [seconds].
Definition at line 97 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 104 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 105 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Statistics & first TS rejection.
Definition at line 89 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), and DoUnpack().
|
private |
Definition at line 85 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), InitContainers(), and SetPulserTotLimits().
|
private |
User settings: Data selection parameters.
Definition at line 84 of file CbmStar2019EventBuilderEtof.h.
Referenced by CbmStar2019EventBuilderEtof(), InitContainers(), and SetPulserTotLimits().
|
private |
Definition at line 112 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 113 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().