CbmRoot
|
#include <CbmMcbmSpillFindAlgo.h>
Public Member Functions | |
CbmMcbmSpillFindAlgo () | |
~CbmMcbmSpillFindAlgo () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms (Bool_t bResetTime=kTRUE) |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetSpillThreshold (UInt_t uCntLimit) |
void | SetSpillCheckIntervalSec (Double_t dInterval) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. | |
std::vector< CbmTofDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. | |
Protected Attributes | |
TList * | fParCList |
Parameter management. | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. | |
std::vector< CbmTofDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. | |
Private Member Functions | |
CbmMcbmSpillFindAlgo (const CbmMcbmSpillFindAlgo &) | |
Canvases. | |
CbmMcbmSpillFindAlgo | operator= (const CbmMcbmSpillFindAlgo &) |
Private Attributes | |
Bool_t | fbMonitorMode = kFALSE |
Control flags. | |
Bool_t | fbDebugMonitorMode = kFALSE |
Switch ON the filling of a minimal set of histograms. | |
std::vector< Bool_t > | fvbMaskedComponents = {} |
Switch ON the filling of a additional set of histograms. | |
CbmMcbm2018TofPar * | fUnpackPar = nullptr |
Settings from parameter file. | |
UInt_t | fuNrOfGdpbs = 0 |
Readout chain dimensions and mapping. | |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap = {} |
Total number of GDPBs in the system. | |
UInt_t | fuNrOfFeePerGdpb = 0 |
gDPB ID to index map | |
UInt_t | fuNrOfGet4PerFee = 0 |
Number of FEBs per GDPB. | |
UInt_t | fuNrOfChannelsPerGet4 = 0 |
Number of GET4s per FEE. | |
UInt_t | fuNrOfChannelsPerFee = 0 |
Number of channels in each GET4. | |
UInt_t | fuNrOfGet4 = 0 |
Number of channels in each FEE. | |
UInt_t | fuNrOfGet4PerGdpb = 0 |
Total number of Get4 chips in the system. | |
UInt_t | fuNrOfChannelsPerGdpb = 0 |
Number of GET4s per GDPB. | |
UInt_t | fuMinTotPulser = 90 |
Number of channels per GDPB. | |
UInt_t | fuMaxTotPulser = 100 |
UInt_t | fuOffSpillCountLimit = 100 |
Double_t | fdSpillCheckInterval = 0.5 |
ULong64_t | fulFirstTsIdx = 9999999999999 |
ULong64_t | fulCurrentTsIdx = 0 |
First TS index, forward point set ~30 years... | |
ULong64_t | fulCurrentMsIdx = 0 |
Double_t | fdTsStartTime = -1.0 |
Double_t | fdTsStopTimeCore |
Time in ns of current TS from the index of the first MS first component. | |
Double_t | fdMsTime = -1.0 |
End Time in ns of current TS Core from the index of the first MS first component. | |
UInt_t | fuMsIndex = 0 |
Start Time in ns of current MS from its index field in header. | |
std::map< gdpbv100::MessageTypes, UInt_t > | fmMsgCounter = {} |
UInt_t | fuCurrentEquipmentId = 0 |
UInt_t | fuCurrDpbId = 0 |
Current equipment ID, tells from which DPB the current MS is originating. | |
UInt_t | fuCurrDpbIdx = 0 |
Temp holder until Current equipment ID is properly filled in MS. | |
Int_t | fiRunStartDateTimeSec = -1 |
Index of the DPB from which the MS currently unpacked is coming. | |
Int_t | fiBinSizeDatePlots = -1 |
Start of run time since "epoch" in s, for the plots with date as X axis. | |
UInt_t | fuGet4Id |
Bin size in s for the plots with date as X axis. | |
UInt_t | fuGet4Nr = 0 |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message | |
Double_t | fdStartTime = -1.0 |
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message | |
Double_t | fdStartTimeMsSz = 0.0 |
Time of first valid hit (epoch available), used as reference for evolution plots. | |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
Time of first microslice, used as reference for evolution plots. | |
Bool_t | fbSpillOn = kTRUE |
Time of run Start from UNIX system, used as reference for long evolution plots against reception time. | |
UInt_t | fuCurrentSpillIdx = 0 |
Double_t | fdStartTimeSpill = -1.0 |
Double_t | fdLastSecondTime = -1.0 |
UInt_t | fuCountsLastInterval = 0 |
UInt_t | fuCountsLastSpill = 0 |
std::vector< ULong64_t > | fvuSpillBreakBegTs = {} |
std::vector< ULong64_t > | fvuSpillBreakEndTs = {} |
std::vector< ULong64_t > | fvuSpillBreakMidTs = {} |
UInt_t | fuHistoryHistoSize = 3600 |
Histograms related variables. | |
TH1 * | fhHitsEvo = nullptr |
Histograms. | |
TH1 * | fhHitsPerSpill = nullptr |
TH1 * | fhSpillBreakDuration = nullptr |
TH1 * | fhSpillDuration = nullptr |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanDiamond = 8 |
Definition at line 40 of file CbmMcbmSpillFindAlgo.h.
CbmMcbmSpillFindAlgo::CbmMcbmSpillFindAlgo | ( | ) |
Definition at line 42 of file CbmMcbmSpillFindAlgo.cxx.
CbmMcbmSpillFindAlgo::~CbmMcbmSpillFindAlgo | ( | ) |
Definition at line 43 of file CbmMcbmSpillFindAlgo.cxx.
|
private |
Canvases.
|
inlineinherited |
Definition at line 88 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::CreateHistograms(), CbmMcbm2018MonitorAlgoTofPulser::CreateHistograms(), CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmStar2019MonitorAlgo::CreateHistograms(), and CbmStar2019MonitorPulserAlgo::CreateHistograms().
|
inlineinherited |
For monitor algos.
Definition at line 83 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::CreateHistograms(), CbmMcbm2018MonitorAlgoTofPulser::CreateHistograms(), CbmMcbm2018UnpackerAlgoTof::CreateHistograms(), CreateHistograms(), CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmStar2019MonitorAlgo::CreateHistograms(), and CbmStar2019MonitorPulserAlgo::CreateHistograms().
void CbmMcbmSpillFindAlgo::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId ) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 172 of file CbmMcbmSpillFindAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmMcbmSpillFindTask::AddMsComponentToList().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 140 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 95 of file CbmStar2019Algo.h.
Bool_t CbmMcbmSpillFindAlgo::CreateHistograms | ( | ) |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Add pointers to the vector with all histo for access by steering class
Cleanup array of log bins
Canvases
Definition at line 424 of file CbmMcbmSpillFindAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::AddHistoToVector(), fhHitsEvo, fhHitsPerSpill, fhSpillBreakDuration, fhSpillDuration, fuHistoryHistoSize, and GenerateLogBinArray().
Referenced by CbmMcbmSpillFindTask::InitContainers().
Bool_t CbmMcbmSpillFindAlgo::FillHistograms | ( | ) |
Definition at line 486 of file CbmMcbmSpillFindAlgo.cxx.
Referenced by ProcessMs(), and ProcessTs().
|
virtual |
If Spill is On, add a fake spill break to have the last spill If Spill is Off, add a fake spill break end so that all modes include last spill
Fill the vector of spill break middle points
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 53 of file CbmMcbmSpillFindAlgo.cxx.
References fbSpillOn, fulCurrentTsIdx, fulFirstTsIdx, fvuSpillBreakBegTs, fvuSpillBreakEndTs, and fvuSpillBreakMidTs.
Referenced by CbmMcbmSpillFindTask::Finish().
|
inlineinherited |
Definition at line 92 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 80 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 127 of file CbmMcbmSpillFindAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmMcbmSpillFindTask::SetParContainers().
|
inlineinherited |
Definition at line 96 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 46 of file CbmMcbmSpillFindAlgo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 108 of file CbmMcbmSpillFindAlgo.cxx.
References ReInitContainers().
Referenced by CbmMcbmSpillFindTask::InitContainers().
Bool_t CbmMcbmSpillFindAlgo::InitParameters | ( | ) |
Definition at line 135 of file CbmMcbmSpillFindAlgo.cxx.
References fGdpbIdIndexMap, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, CbmMcbm2018TofPar::GetGdpbId(), CbmMcbm2018TofPar::GetNrOfChannelsPerGet4(), CbmMcbm2018TofPar::GetNrOfFeesPerGdpb(), CbmMcbm2018TofPar::GetNrOfGdpbs(), and CbmMcbm2018TofPar::GetNrOfGet4PerFee().
Referenced by ReInitContainers().
|
private |
|
virtual |
Check if this sDPB ID was declared in parameter file and stop there if not
Try to get it from the second message in buffer (first is epoch cycle without gDPB ID) TODO!!!!
Spill Detection
Check only every user defined interval (0.5s per default)
Spill Off detection
Save start time of first valid MS )
Reset the histograms if reached the end of the evolution histos range
Catch the Epoch cycle block which is always the first 64b of the MS
Get message type
Spill detection
Do not fill the pulser hits to keep counts low for channel 0 => Check channel != first GET4 per board + TOT
Fill histograms
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 239 of file CbmMcbmSpillFindAlgo.cxx.
References fbSpillOn, fdLastSecondTime, fdMsTime, fdSpillCheckInterval, fdStartTime, fdStartTimeSpill, fdTsStartTime, fGdpbIdIndexMap, fhHitsEvo, fhHitsPerSpill, fhSpillBreakDuration, fhSpillDuration, FillHistograms(), FormatMsHeaderPrintout(), fuCountsLastInterval, fuCountsLastSpill, fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrentSpillIdx, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fuMaxTotPulser, fuMinTotPulser, fuNrOfGet4PerGdpb, fuOffSpillCountLimit, fvbMaskedComponents, fvuSpillBreakBegTs, fvuSpillBreakEndTs, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHit32Tot(), gdpbv100::Message::getGdpbHitIs24b(), gdpbv100::Message::getMessageType(), gdpbv100::Message::isStarTrigger(), kuBytesPerMessage, gdpbv100::kuChipIdMergedEpoch, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, and ResetHistograms().
Referenced by ProcessTs().
|
virtual |
Ignore First TS as first MS is typically corrupt
On first TS, extract the TS parameters from header (by definition stable over time)
Ignore overlap ms if flag set by user
Compute time of TS core end
Loop over core microslices (and overlap ones if chosen)
Loop over registered components
Fill plots if in monitor mode
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 186 of file CbmMcbmSpillFindAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, fbMonitorMode, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FillHistograms(), fulCurrentTsIdx, fulFirstTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, and ProcessMs().
Referenced by CbmMcbmSpillFindTask::DoUnpack().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 56 of file CbmMcbmSpillFindAlgo.h.
References ProcessTs().
Referenced by ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 115 of file CbmMcbmSpillFindAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmMcbmSpillFindTask::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 52 of file CbmMcbmSpillFindAlgo.cxx.
Bool_t CbmMcbmSpillFindAlgo::ResetHistograms | ( | Bool_t | bResetTime = kTRUE | ) |
Also reset the Start time for the evolution plots!
Definition at line 487 of file CbmMcbmSpillFindAlgo.cxx.
References fdStartTime, fhHitsEvo, fhHitsPerSpill, fhSpillBreakDuration, fhSpillDuration, and fuCurrentSpillIdx.
Referenced by CbmMcbmSpillFindTask::DoUnpack(), and ProcessMs().
|
inline |
Definition at line 66 of file CbmMcbmSpillFindAlgo.h.
References fuHistoryHistoSize.
Referenced by CbmMcbmSpillFindTask::InitContainers().
|
inlineinherited |
Control flags.
Definition at line 101 of file CbmStar2019Algo.h.
|
inline |
Definition at line 65 of file CbmMcbmSpillFindAlgo.h.
References fbMonitorMode.
Referenced by CbmMcbmSpillFindTask::InitContainers().
|
inlinevirtualinherited |
Definition at line 79 of file CbmStar2019Algo.h.
|
inline |
Definition at line 67 of file CbmMcbmSpillFindAlgo.h.
References fuMaxTotPulser, and fuMinTotPulser.
Referenced by CbmMcbmSpillFindTask::InitContainers().
|
inline |
Definition at line 73 of file CbmMcbmSpillFindAlgo.h.
References fdSpillCheckInterval.
Referenced by CbmMcbmSpillFindTask::InitContainers().
|
inline |
Definition at line 72 of file CbmMcbmSpillFindAlgo.h.
References fuOffSpillCountLimit.
Referenced by CbmMcbmSpillFindTask::InitContainers().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 78 of file CbmMcbmSpillFindAlgo.h.
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
private |
Control flags.
Definition at line 77 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessTs(), and SetMonitorMode().
|
private |
Time of run Start from UNIX system, used as reference for long evolution plots against reception time.
Spill detection
Definition at line 133 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish(), and ProcessMs().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 134 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018UnpackerAlgoTof::ProcessHit(), and CbmMcbm2018UnpackerAlgoTof::ProcessTs().
|
private |
Definition at line 136 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 113 of file CbmStar2019Algo.h.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::InitParameters(), CbmMcbm2018MonitorAlgoTofPulser::InitParameters(), CbmMcbm2018UnpackerAlgoTof::InitParameters(), CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), CbmStar2019MonitorPulserAlgo::InitParameters(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 113 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 98 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and SetSpillCheckIntervalSec().
|
private |
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
Starting state book-keeping
Definition at line 127 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots.
Definition at line 128 of file CbmMcbmSpillFindAlgo.h.
|
private |
Definition at line 135 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 114 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 115 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
private |
Definition at line 110 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 111 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 85 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Histograms.
Size in seconds of the evolution histograms
Definition at line 147 of file CbmMcbmSpillFindAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 148 of file CbmMcbmSpillFindAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 149 of file CbmMcbmSpillFindAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 150 of file CbmMcbmSpillFindAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 121 of file CbmMcbmSpillFindAlgo.h.
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 120 of file CbmMcbmSpillFindAlgo.h.
|
private |
Index of current MS within the TS Current data properties
Definition at line 116 of file CbmMcbmSpillFindAlgo.h.
|
protectedinherited |
For any algo.
Definition at line 138 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 105 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::GetParList(), CbmMcbm2018MonitorAlgoTof::GetParList(), CbmMcbm2018MonitorAlgoTofPulser::GetParList(), CbmMcbm2018UnpackerAlgoTof::GetParList(), GetParList(), CbmStar2019EventBuilderEtofAlgo::GetParList(), CbmStar2019MonitorAlgo::GetParList(), CbmStar2019MonitorPulserAlgo::GetParList(), CbmMcbm2018MonitorAlgoBmon::ReInitContainers(), CbmMcbm2018MonitorAlgoTof::ReInitContainers(), CbmMcbm2018MonitorAlgoTofPulser::ReInitContainers(), CbmMcbm2018UnpackerAlgoTof::ReInitContainers(), ReInitContainers(), CbmStar2019EventBuilderEtofAlgo::ReInitContainers(), CbmStar2019MonitorAlgo::ReInitContainers(), CbmStar2019MonitorPulserAlgo::ReInitContainers(), and CbmMcbm2018UnpackerAlgoTof::~CbmMcbm2018UnpackerAlgoTof().
|
private |
Time of first microslice, used as reference for evolution plots.
Definition at line 129 of file CbmMcbmSpillFindAlgo.h.
|
private |
Definition at line 137 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 138 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 118 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 119 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 117 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 134 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Bin size in s for the plots with date as X axis.
Definition at line 122 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
Definition at line 124 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
Histograms related variables.
Definition at line 144 of file CbmMcbmSpillFindAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().
|
private |
Definition at line 109 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
private |
First TS index, forward point set ~30 years...
Definition at line 108 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish(), ProcessMs(), and ProcessTs().
|
private |
Running indices TS/MS info
Definition at line 107 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish(), and ProcessTs().
|
private |
Definition at line 96 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and SetPulserTotLimits().
|
private |
Number of channels per GDPB.
User settings: Data correction parameters
Definition at line 95 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and SetPulserTotLimits().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 114 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 109 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoTofPulser::FillHistograms(), CbmStar2019MonitorPulserAlgo::FillHistograms(), CbmStar2019EventBuilderEtofAlgo::ProcessEpoch(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
protectedinherited |
Definition at line 111 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
protectedinherited |
Definition at line 110 of file CbmStar2019Algo.h.
Referenced by CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
private |
Settings from parameter file.
Definition at line 82 of file CbmMcbmSpillFindAlgo.h.
Referenced by GetParList(), InitParameters(), and ReInitContainers().
|
private |
Number of channels in each GET4.
Definition at line 89 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Number of GET4s per GDPB.
Definition at line 92 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Number of GET4s per FEE.
Definition at line 88 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
gDPB ID to index map
Definition at line 86 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Readout chain dimensions and mapping.
Definition at line 84 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Number of channels in each FEE.
Definition at line 90 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Number of FEBs per GDPB.
Definition at line 87 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters().
|
private |
Total number of Get4 chips in the system.
Definition at line 91 of file CbmMcbmSpillFindAlgo.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 97 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs(), and SetSpillThreshold().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 79 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 108 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::AddMsComponentToList(), CbmMcbm2018MonitorAlgoTof::AddMsComponentToList(), CbmMcbm2018MonitorAlgoTofPulser::AddMsComponentToList(), CbmMcbm2018UnpackerAlgoTof::AddMsComponentToList(), AddMsComponentToList(), CbmStar2019EventBuilderEtofAlgo::AddMsComponentToList(), CbmStar2019MonitorAlgo::AddMsComponentToList(), CbmStar2019MonitorPulserAlgo::AddMsComponentToList(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and CbmStar2019MonitorPulserAlgo::ProcessTs().
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 131 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 129 of file CbmStar2019Algo.h.
|
private |
Definition at line 139 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish(), and ProcessMs().
|
private |
Definition at line 140 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish(), and ProcessMs().
|
private |
Definition at line 141 of file CbmMcbmSpillFindAlgo.h.
Referenced by Finish().
|
staticprivate |
Constants.
Definition at line 101 of file CbmMcbmSpillFindAlgo.h.
|
staticprivate |
Definition at line 102 of file CbmMcbmSpillFindAlgo.h.
Referenced by ProcessMs().
|
staticprivate |
Definition at line 103 of file CbmMcbmSpillFindAlgo.h.