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. More... | |
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. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
Bool_t | fbStoreLostEventMsg |
Switch ON the filling of a additional set of histograms. More... | |
Bool_t | fbAddStatusToEvent |
Switch ON the insertion of the LostEvent messages from GET4s with the critical errors. More... | |
Bool_t | fbSandboxMode |
Switch ON the readout and insertion of STATUS pattern message (default is true) More... | |
Bool_t | fbEventDumpEna |
Switch OFF the emission of data toward the STAR DAQ. More... | |
TList * | fParCList |
Switch ON the dumping of the events to a binary file. More... | |
UInt_t | fuMinTotPulser |
User settings: Data selection parameters. More... | |
UInt_t | fuMaxTotPulser |
TString | fsHistoFileName |
uint64_t | fulTsCounter |
Statistics & first TS rejection. More... | |
CbmStar2019EventBuilderEtofAlgo * | fEventBuilderAlgo |
Processing algo. More... | |
Double_t | fdMsSizeInNs |
Processing speed watch. More... | |
Double_t | fdTsCoreSizeInSec |
Size of a single MS, [nanoseconds]. More... | |
TStopwatch | fTimer |
Total size of the core MS in a TS, [seconds]. More... | |
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 ?!?! More... | |
TProfile * | fhMeanRealTimeEvo |
Exclude from dictionary because ?!?! More... | |
std::fstream * | fpBinDumpFile |
Exclude from dictionary because ?!?! More... | |
const UInt_t | kuBinDumpBegWord = 0xFEEDBEAF |
const UInt_t | kuBinDumpEndWord = 0xFAEBDEEF |
Definition at line 32 of file CbmStar2019EventBuilderEtof.h.
CbmStar2019EventBuilderEtof::CbmStar2019EventBuilderEtof | ( | UInt_t | uNbGdpb = 1 | ) |
Definition at line 36 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo.
|
virtual |
Definition at line 68 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo.
|
private |
|
virtual |
Temp until we change from CbmMcbmUnpack to something else.
Implements CbmMcbmUnpack.
Definition at line 245 of file CbmStar2019EventBuilderEtof.cxx.
References CbmStar2019EventBuilderEtofAlgo::AddMsComponentToList(), and 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 250 of file CbmStar2019EventBuilderEtof.cxx.
References bStarEtof2019EventBuilderResetHistos, fbDebugMonitorMode, fbEventDumpEna, fbMonitorMode, fbSandboxMode, fdMsSizeInNs, fdRealTime, fdRealTimeMax, fdRealTimeMin, fdTsCoreSizeInSec, fEventBuilderAlgo, fhMeanRealTimeEvo, fhRealTimeDistr, fhRealTimeEvo, fpBinDumpFile, fTimer, fulNbEvents, fulNbEventsSinceLastPrintout, fulTsCounter, CbmStar2019EventBuilderEtofAlgo::GetEventBuffer(), kuBinDumpBegWord, kuBinDumpEndWord, CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ResetHistograms(), 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 381 of file CbmStar2019EventBuilderEtof.cxx.
References fbMonitorMode, fpBinDumpFile, and SaveHistograms().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 72 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 106 of file CbmStar2019EventBuilderEtof.cxx.
References CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), fbAddStatusToEvent, fbDebugMonitorMode, fbMonitorMode, fbStoreLostEventMsg, fdMsSizeInNs, fEventBuilderAlgo, fhMeanRealTimeEvo, fhRealTimeDistr, fhRealTimeEvo, fuMaxTotPulser, fuMinTotPulser, CbmStar2019Algo< T >::GetCanvasVector(), CbmStar2019Algo< T >::GetHistoVector(), CbmStar2019TofPar::GetSizeMsInNs(), CbmStar2019EventBuilderEtofAlgo::InitContainers(), CbmStar2019EventBuilderEtofAlgo::SetAddStatusToEvent(), CbmStar2019EventBuilderEtofAlgo::SetDebugMonitorMode(), CbmStar2019EventBuilderEtofAlgo::SetMonitorMode(), CbmStar2019EventBuilderEtofAlgo::SetPulserTotLimits(), and CbmStar2019EventBuilderEtofAlgo::SetStoreLostEventMsg().
|
private |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 201 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo, and CbmStar2019EventBuilderEtofAlgo::ReInitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 379 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 394 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo, fsHistoFileName, CbmStar2019Algo< T >::GetCanvasVector(), and CbmStar2019Algo< T >::GetHistoVector().
Referenced by Finish().
|
inline |
Definition at line 62 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 208 of file CbmStar2019EventBuilderEtof.cxx.
References fbEventDumpEna, and fpBinDumpFile.
|
inline |
Definition at line 53 of file CbmStar2019EventBuilderEtof.h.
References fbMonitorMode.
|
inlinevirtual |
Implements CbmMcbmUnpack.
Definition at line 72 of file CbmStar2019EventBuilderEtof.h.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 82 of file CbmStar2019EventBuilderEtof.cxx.
References fEventBuilderAlgo, fParCList, and CbmStar2019EventBuilderEtofAlgo::GetParList().
|
inline |
Definition at line 65 of file CbmStar2019EventBuilderEtof.h.
References fuMaxTotPulser, and fuMinTotPulser.
|
inline |
Definition at line 49 of file CbmStar2019EventBuilderEtof.h.
References fbSandboxMode.
|
inline |
Definition at line 59 of file CbmStar2019EventBuilderEtof.h.
References fbStoreLostEventMsg.
|
inline |
Definition at line 74 of file CbmStar2019EventBuilderEtof.h.
|
private |
Switch ON the insertion of the LostEvent messages from GET4s with the critical errors.
Definition at line 85 of file CbmStar2019EventBuilderEtof.h.
Referenced by InitContainers(), and SetAddStatusToEvent().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 81 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), InitContainers(), and SetDebugMonitorMode().
|
private |
Switch OFF the emission of data toward the STAR DAQ.
Definition at line 88 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and SetEventDumpEnable().
|
private |
Control flags.
Definition at line 79 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), Finish(), InitContainers(), and SetMonitorMode().
|
private |
Switch ON the readout and insertion of STATUS pattern message (default is true)
Definition at line 86 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and SetSandboxMode().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 83 of file CbmStar2019EventBuilderEtof.h.
Referenced by InitContainers(), and SetStoreLostEventMsg().
|
private |
Processing speed watch.
Definition at line 105 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and InitContainers().
|
private |
Definition at line 108 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 111 of file CbmStar2019EventBuilderEtof.h.
|
private |
Definition at line 110 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 113 of file CbmStar2019EventBuilderEtof.h.
|
private |
Definition at line 109 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 112 of file CbmStar2019EventBuilderEtof.h.
|
private |
Size of a single MS, [nanoseconds].
Definition at line 106 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Processing algo.
Definition at line 102 of file CbmStar2019EventBuilderEtof.h.
Referenced by AddMsComponentToList(), CbmStar2019EventBuilderEtof(), DoUnpack(), InitContainers(), ReInitContainers(), SaveHistograms(), SetParContainers(), and ~CbmStar2019EventBuilderEtof().
|
private |
Exclude from dictionary because ?!?!
Definition at line 118 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and InitContainers().
|
private |
Definition at line 116 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and InitContainers().
|
private |
Exclude from dictionary because ?!?!
Definition at line 117 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), and InitContainers().
|
private |
Switch ON the dumping of the events to a binary file.
Parameters management
Definition at line 91 of file CbmStar2019EventBuilderEtof.h.
Referenced by SetParContainers().
|
private |
Exclude from dictionary because ?!?!
Event dump to binary file
Definition at line 121 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack(), Finish(), and SetEventDumpEnable().
|
private |
Definition at line 96 of file CbmStar2019EventBuilderEtof.h.
Referenced by SaveHistograms().
|
private |
Total size of the core MS in a TS, [seconds].
Definition at line 107 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 114 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 115 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Statistics & first TS rejection.
Definition at line 99 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 95 of file CbmStar2019EventBuilderEtof.h.
Referenced by InitContainers(), and SetPulserTotLimits().
|
private |
User settings: Data selection parameters.
Definition at line 94 of file CbmStar2019EventBuilderEtof.h.
Referenced by InitContainers(), and SetPulserTotLimits().
|
private |
Definition at line 122 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().
|
private |
Definition at line 123 of file CbmStar2019EventBuilderEtof.h.
Referenced by DoUnpack().