CbmRoot
|
#include <CbmMcbm2018MonitorAlgoTof.h>
Public Member Functions | |
CbmMcbm2018MonitorAlgoTof () | |
~CbmMcbm2018MonitorAlgoTof () | |
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 | ResetEvolutionHistograms () |
void | SetDebugMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetIgnoreCriticalErrors (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetGdpbIndex (Int_t iGdpb=-1) |
void | UseAbsoluteTime (Bool_t bFlagIn=kTRUE) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. More... | |
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. More... | |
std::vector< CbmTofDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. More... | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. More... | |
Protected Attributes | |
TList * | fParCList |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
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 **/ More... | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. More... | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. More... | |
std::vector< CbmTofDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. More... | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. More... | |
Private Member Functions | |
void | ProcessEpochCycle (uint64_t ulCycleData) |
void | ProcessEpoch (gdpbv100::Message mess) |
void | ProcessEpSupprBuffer () |
void | ProcessHit (gdpbv100::FullMessage mess) |
void | ProcessSysMess (gdpbv100::FullMessage mess) |
void | ProcessError (gdpbv100::FullMessage mess) |
void | ProcessPattern (gdpbv100::Message mess) |
void | ProcessSlowCtrl (gdpbv100::Message mess) |
void | ProcessStarTrig (gdpbv100::Message mess) |
CbmMcbm2018MonitorAlgoTof (const CbmMcbm2018MonitorAlgoTof &) | |
CbmMcbm2018MonitorAlgoTof | operator= (const CbmMcbm2018MonitorAlgoTof &) |
Private Attributes | |
Bool_t | fbDebugMonitorMode |
Control flags. More... | |
Bool_t | fbIgnoreCriticalErrors |
Switch ON the filling of a additional set of histograms. More... | |
std::vector< Bool_t > | fvbMaskedComponents |
If ON not printout at all for critical errors. More... | |
Int_t | fiGdpbIndex |
Bool_t | fbUseAbsoluteTime |
CbmMcbm2018TofPar * | fUnpackPar |
Switch ON the usage of abolute time scale for the evo histo (no start time) More... | |
UInt_t | fuNrOfGdpbs |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap |
Total number of GDPBs in the system. More... | |
UInt_t | fuNrOfFeePerGdpb |
gDPB ID to index map More... | |
UInt_t | fuNrOfGet4PerFee |
Number of FEBs per GDPB. More... | |
UInt_t | fuNrOfChannelsPerGet4 |
Number of GET4s per FEE. More... | |
UInt_t | fuNrOfChannelsPerFee |
Number of channels in each GET4. More... | |
UInt_t | fuNrOfGet4 |
Number of channels in each FEE. More... | |
UInt_t | fuNrOfGet4PerGdpb |
Total number of Get4 chips in the system. More... | |
UInt_t | fuNrOfChannelsPerGdpb |
Number of GET4s per GDPB. More... | |
UInt_t | fuMinTotPulser |
Number of channels per GDPB. More... | |
UInt_t | fuMaxTotPulser |
ULong64_t | fulCurrentTsIdx |
ULong64_t | fulCurrentMsIdx |
uint32_t | fuCurrentMsSysId |
Double_t | fdTsStartTime |
SysId of the current MS in TS (0 to fuTotalMsNb) More... | |
Double_t | fdTsStopTimeCore |
Time in ns of current TS from the index of the first MS first component. More... | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. More... | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. More... | |
std::map< gdpbv100::MessageTypes, UInt_t > | fmMsgCounter |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. More... | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. More... | |
Int_t | fiRunStartDateTimeSec |
Index of the DPB from which the MS currently unpacked is coming. More... | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. More... | |
UInt_t | fuGet4Id |
Bin size in s for the plots with date as X axis. More... | |
UInt_t | fuGet4Nr |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message More... | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. More... | |
std::vector< ULong64_t > | fvulCurrentEpochCycle |
Current epoch index, per DPB. More... | |
std::vector< ULong64_t > | fvulCurrentEpochFull |
Epoch cycle from the Ms Start message and Epoch counter flip. More... | |
std::vector< gdpbv100::Message > | fvmEpSupprBuffer |
Epoch + Epoch Cycle. More... | |
Double_t | fdStartTime |
Starting state book-keeping. More... | |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< ULong64_t > | fvulGdpbTsMsb |
STAR TRIGGER detection. More... | |
std::vector< ULong64_t > | fvulGdpbTsLsb |
std::vector< ULong64_t > | fvulStarTsMsb |
std::vector< ULong64_t > | fvulStarTsMid |
std::vector< ULong64_t > | fvulGdpbTsFullLast |
std::vector< ULong64_t > | fvulStarTsFullLast |
std::vector< UInt_t > | fvuStarTokenLast |
std::vector< UInt_t > | fvuStarDaqCmdLast |
std::vector< UInt_t > | fvuStarTrigCmdLast |
Bool_t | fbEpochSinceLastHit |
Duplicate Hits detection. More... | |
UInt_t | fuDuplicatesCount |
gdpbv100::Message | fmLastHit |
UInt_t | fuHistoryHistoSize |
Histograms related variables. More... | |
TH1 * | fhMessType |
Size in seconds of the evolution histograms. More... | |
TH1 * | fhSysMessType |
TH2 * | fhGet4MessType |
TH2 * | fhGet4ChanScm |
TH2 * | fhGet4ChanErrors |
TH2 * | fhGet4EpochFlags |
TH2 * | fhGdpbAsicSpiCounts |
TH2 * | fhGdpbMessType |
TH2 * | fhGdpbSysMessType |
TH2 * | fhGdpbSysMessPattType |
TH2 * | fhGdpbEpochFlags |
TH2 * | fhGdpbEpochSyncEvo |
TH2 * | fhGdpbEpochMissEvo |
TH1 * | fhGdpbEndMsBufferNotEmpty |
TH2 * | fhGdpbEndMsDataLost |
TH2 * | fhGdpbHitRate |
std::vector< TH2 * > | fvhGdpbGet4MessType |
std::vector< TH2 * > | fvhGdpbGet4ChanScm |
std::vector< TH2 * > | fvhGdpbGet4ChanErrors |
TH1 * | fhMsgCntEvo |
TH1 * | fhHitCntEvo |
TH1 * | fhErrorCntEvo |
TH1 * | fhLostEvtCntEvo |
TProfile * | fhErrorFractEvo |
TProfile * | fhLostEvtFractEvo |
TH2 * | fhMsgCntPerMsEvo |
TH2 * | fhHitCntPerMsEvo |
TH2 * | fhErrorCntPerMsEvo |
TH2 * | fhLostEvtCntPerMsEvo |
TH2 * | fhErrorFractPerMsEvo |
TH2 * | fhLostEvtFractPerMsEvo |
std::vector< TH2 * > | fvhRawFt_gDPB |
std::vector< TH2 * > | fvhRawCt_gDPB |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhRemapTot_gDPB |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH1 * > | fvhRemapChCount_gDPB |
std::vector< TH2 * > | fvhRemapChRate_gDPB |
std::vector< TProfile2D * > | fvhRemapChErrFract_gDPB |
std::vector< UInt_t > | fuNbMissmatchPattern |
Pattern messages per gDPB. More... | |
TH2 * | fhNbMissPatternPerMs |
TH2 * | fhPatternMissmatch |
Debug histo, only in DebugMonitorMode. More... | |
TH2 * | fhPatternEnable |
Debug histo, only in DebugMonitorMode. More... | |
TH2 * | fhPatternResync |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbPatternMissmatchEvo |
std::vector< TH2 * > | fvhGdpbPatternEnableEvo |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbPatternResyncEvo |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< std::vector< bool > > | fvvbGdpbLastMissmatchPattern |
std::vector< std::vector< bool > > | fvvbGdpbLastEnablePattern |
Exclude from dictionnary. More... | |
std::vector< std::vector< bool > > | fvvbGdpbLastResyncPattern |
Exclude from dictionnary. More... | |
std::vector< TH2 * > | fvhGdpbMissmatchEvoPerTs |
Exclude from dictionnary. More... | |
std::vector< TH2 * > | fvhGdpbMissmatchEnaEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbEnableEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbResyncEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbResyncEnaEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbStateEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH1 * > | fvhTokenMsgType |
std::vector< TH1 * > | fvhTriggerRate |
std::vector< TH2 * > | fvhCmdDaqVsTrig |
std::vector< TH2 * > | fvhStarTokenEvo |
std::vector< TProfile * > | fvhStarTrigGdpbTsEvo |
std::vector< TProfile * > | fvhStarTrigStarTsEvo |
TCanvas * | fcSummary |
Canvases. More... | |
TCanvas * | fcSummaryGdpb |
std::vector< TCanvas * > | fvcSumGdpbGet4 |
TCanvas * | fcStarTrigTokenType |
TCanvas * | fcStarTriggerRate |
TCanvas * | fcStarTrigCmdDaqVsTrig |
TCanvas * | fcStarTrigStarTokenEvo |
TCanvas * | fcStarTrigGdpbTsEvo |
TCanvas * | fcStarTrigStarTsEvo |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. More... | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanDiamond = 8 |
Definition at line 32 of file CbmMcbm2018MonitorAlgoTof.h.
CbmMcbm2018MonitorAlgoTof::CbmMcbm2018MonitorAlgoTof | ( | ) |
Definition at line 38 of file CbmMcbm2018MonitorAlgoTof.cxx.
CbmMcbm2018MonitorAlgoTof::~CbmMcbm2018MonitorAlgoTof | ( | ) |
Clear buffers
Definition at line 160 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fvmEpSupprBuffer.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
void CbmMcbm2018MonitorAlgoTof::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId | ||
) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 302 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmMcbm2018MonitorTaskTof::AddMsComponentToList(), and CbmDeviceMonitorTof::DoUnpack().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 147 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 96 of file CbmStar2019Algo.h.
Bool_t CbmMcbm2018MonitorAlgoTof::CreateHistograms | ( | ) |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Add pointers to the vector with all histo for access by steering class
Per GET4 in system
Per Gdpb
Pattern Messages Pattern messages per gDPB
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /// STAR Trigger decoding and monitoring
Add pointers to the vector with all histo for access by steering class Per GET4 in gDPB
Raw data per channel
Per MS in gDPB
State Per TS
STAR TRIGGER detection
Add pointers to the vector with all histo for access by steering class
Cleanup array of log bins
Canvases General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
Create summary Canvases with plots VS Gdpb
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
Definition at line 1348 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmStar2019Algo< CbmTofDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmTofDigi >::AddHistoToVector(), fbDebugMonitorMode, fcStarTrigCmdDaqVsTrig, fcStarTrigGdpbTsEvo, fcStarTriggerRate, fcStarTrigStarTokenEvo, fcStarTrigStarTsEvo, fcStarTrigTokenType, fcSummary, fcSummaryGdpb, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbAsicSpiCounts, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbHitRate, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMessType, fhMsgCntEvo, fhMsgCntPerMsEvo, fhNbMissPatternPerMs, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhSysMessType, fiGdpbIndex, fuHistoryHistoSize, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerGdpb, fvcSumGdpbGet4, fvhCmdDaqVsTrig, fvhGdpbEnableEvoPerTs, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChErrFract_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, fvhTriggerRate, GenerateLogBinArray(), 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, gdpbv100::PATT_ENABLE, gdpbv100::PATT_MISSMATCH, gdpbv100::PATT_RESYNC, gdpbv100::SYS_GDPB_UNKWN, gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_GET4_SYNC_MISS, and gdpbv100::SYS_PATTERN.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoTof::FillHistograms | ( | ) |
Fill plot of Enable flag state per TS
State evolution
Definition at line 2399 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fuCurrDpbIdx, fulCurrentTsIdx, fuNrOfGet4PerGdpb, fvhGdpbEnableEvoPerTs, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, and fvvbGdpbLastResyncPattern.
Referenced by ProcessMs(), and ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 172 of file CbmMcbm2018MonitorAlgoTof.cxx.
|
inlineinherited |
Definition at line 91 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 99 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 84 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 75 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 196 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmDeviceMonitorTof::InitContainers(), and CbmMcbm2018MonitorTaskTof::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 166 of file CbmMcbm2018MonitorAlgoTof.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 179 of file CbmMcbm2018MonitorAlgoTof.cxx.
References ReInitContainers().
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoTof::InitParameters | ( | ) |
Parameters for FLES containers processing
Check if user requested to monitor only a single selected gDPB
Internal status initialization
Histogramming variables initialization Pattern detection
STAR Trigger decoding and monitoring
Pattern detection
STAR Trigger decoding and monitoring
Definition at line 203 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fbIgnoreCriticalErrors, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, fGdpbIdIndexMap, fiGdpbIndex, fuNbMissmatchPattern, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, fvulGdpbTsFullLast, fvulGdpbTsLsb, fvulGdpbTsMsb, fvulStarTsFullLast, fvulStarTsMid, fvulStarTsMsb, fvuStarDaqCmdLast, fvuStarTokenLast, fvuStarTrigCmdLast, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, fvvbGdpbLastResyncPattern, CbmMcbm2018TofPar::GetGdpbId(), CbmMcbm2018TofPar::GetNrOfChannelsPerGet4(), CbmMcbm2018TofPar::GetNrOfFeePerGdpb(), CbmMcbm2018TofPar::GetNrOfGdpbs(), CbmMcbm2018TofPar::GetNrOfGet4PerFee(), CbmMcbm2018TofPar::GetSizeMsInNs(), and i.
Referenced by ReInitContainers().
|
private |
|
private |
Histogramming
Process the corresponding messages buffer for current gDPB
Definition at line 603 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbEpochSinceLastHit, fdMsTime, fdStartTime, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGet4EpochFlags, fhGet4MessType, fmLastHit, fuCurrDpbIdx, fuDuplicatesCount, fuGet4Id, fuGet4Nr, fuNrOfGet4PerGdpb, fvhGdpbGet4MessType, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, gdpbv100::Message::getData(), gdpbv100::Message::getGdpbEpDataLoss(), gdpbv100::Message::getGdpbEpEpochLoss(), gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::Message::getGdpbEpMissmatch(), gdpbv100::Message::getGdpbEpSync(), gdpbv100::kuEpochCounterSz, and ProcessEpSupprBuffer().
Referenced by ProcessMs().
|
private |
Definition at line 578 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fuCurrDpbIdx, fulCurrentMsIdx, fvulCurrentEpochCycle, and gdpbv100::kulEpochCycleFieldSz.
Referenced by ProcessMs().
|
private |
Data are sorted between epochs, not inside => Epoch level ordering Sorting at lower bin precision level
Compute original epoch index before epoch suppression
Ignore the first epoch as it should never appear (start delay!!)
In Ep. Suppr. Mode, receive following epoch instead of previous
Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4
Store the full message in the proper buffer
Do other actions on it if needed
Should never appear there
Should be only error messages from GET4
Should never appear there
Definition at line 655 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmMcbm2018TofPar::ElinkIdxToGet4Idx(), fuCurrDpbIdx, fuCurrentMsSysId, fuGet4Id, fuGet4Nr, fUnpackPar, fuNrOfGet4PerGdpb, fvmEpSupprBuffer, fvulCurrentEpoch, fvulCurrentEpochFull, gdpbv100::Message::getGdpbSysSubType(), 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, ProcessError(), ProcessHit(), and gdpbv100::SYS_GET4_ERROR.
Referenced by ProcessEpoch().
|
private |
General error rates
Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4
Critical errors
Error during SPI communication with slave (e.g. PADI)
Input channel related errors (TOT, shaky signals, etc...)
Unrecognised error code from GET4
Corrupt error or not yet supported error
Definition at line 847 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fbIgnoreCriticalErrors, fdMsTime, fdStartTime, fhErrorCntEvo, fhErrorFractEvo, fhGet4ChanErrors, fhGet4MessType, fhLostEvtCntEvo, fhLostEvtFractEvo, fhMsgCntEvo, fuCurrDpbIdx, fuCurrentMsSysId, fuGet4Id, fuGet4Nr, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGet4, fuNrOfGet4PerFee, fvhGdpbGet4ChanErrors, fvhGdpbGet4MessType, fvhRemapChErrFract_gDPB, gdpbv100::GET4_V2X_ERR_ADD_RIS_EDG, gdpbv100::GET4_V2X_ERR_CHAN_STATE, gdpbv100::GET4_V2X_ERR_DLL_LOCK, gdpbv100::GET4_V2X_ERR_DLL_RESET, gdpbv100::GET4_V2X_ERR_EP, gdpbv100::GET4_V2X_ERR_EP_CNT_SYNC, gdpbv100::GET4_V2X_ERR_EPOCH_OVERF, gdpbv100::GET4_V2X_ERR_EVT_DISCARD, gdpbv100::GET4_V2X_ERR_FIFO_WRITE, gdpbv100::GET4_V2X_ERR_LOST_EVT, gdpbv100::GET4_V2X_ERR_READ_INIT, gdpbv100::GET4_V2X_ERR_READOUT_ERR, gdpbv100::GET4_V2X_ERR_SEQUENCE_ER, gdpbv100::GET4_V2X_ERR_SPI, gdpbv100::GET4_V2X_ERR_SYNC, gdpbv100::GET4_V2X_ERR_TOK_RING_ST, gdpbv100::GET4_V2X_ERR_TOKEN, gdpbv100::GET4_V2X_ERR_TOT_OVERWRT, gdpbv100::GET4_V2X_ERR_TOT_RANGE, gdpbv100::GET4_V2X_ERR_UNKNOWN, gdpbv100::GET4_V2X_ERR_UNPAIR_FALL, CbmMcbm2018TofPar::Get4ChanToPadiChan(), gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbSysErrChanId(), gdpbv100::Message::getGdpbSysErrData(), gdpbv100::Message::getGdpbSysErrEdge(), and gdpbv100::Message::getGdpbSysErrUnused().
Referenced by ProcessEpSupprBuffer().
|
private |
In 32b mode the coarse counter is already computed back to 112 FTS bins => need to hide its contribution from the Finetime => FTS = Fullt TS modulo 112
Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4
Raw channel plots = GET4 related
Try to catch the corrupt data problem reported by Florian Seck
Remapped channel plots = PADI/RPC related
Start time book-keeping In Run rate evolution
Definition at line 723 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fdStartTime, fuCurrDpbIdx, fuCurrentMsSysId, fuGet4Id, fulCurrentMsIdx, fulCurrentTsIdx, fuMsIndex, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGet4, fuNrOfGet4PerFee, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChErrFract_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, CbmMcbm2018TofPar::Get4ChanToPadiChan(), gdpbv100::FullMessage::GetFullTimeNs(), gdpbv100::Message::getGdpbHit32Tot(), gdpbv100::Message::getGdpbHitChanId(), and gdpbv100::Message::getGdpbHitFullTs().
Referenced by ProcessEpSupprBuffer().
|
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!!!!
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
Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4
Should never happen!!
Histogramming
Should never happen!!
Check if buffer is empty => If not, indication that last msg in MS was not an epoch
Clear the suppressed epoch buffer even if not empty
Fill histograms
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 376 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmMcbm2018TofPar::ElinkIdxToGet4Idx(), fbUseAbsoluteTime, fdMsTime, fdStartTime, fGdpbIdIndexMap, fhErrorFractEvo, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbHitRate, fhGdpbMessType, fhGet4MessType, fhHitCntEvo, fhLostEvtFractEvo, fhMessType, fhMsgCntEvo, FillHistograms(), FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrentMsSysId, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackPar, fuNrOfGet4PerGdpb, fvbMaskedComponents, fvhGdpbGet4MessType, fvmEpSupprBuffer, gdpbv100::Message::getGdpbGenChipId(), 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, ProcessEpoch(), ProcessEpochCycle(), ProcessSlowCtrl(), ProcessStarTrig(), ProcessSysMess(), and ResetEvolutionHistograms().
Referenced by ProcessTs().
|
private |
Definition at line 1091 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmMcbm2018TofPar::ElinkIdxToGet4Idx(), fbDebugMonitorMode, fhGdpbSysMessPattType, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fuCurrDpbIdx, fulCurrentTsIdx, fuMsIndex, fuNbMissmatchPattern, fUnpackPar, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvulCurrentEpoch, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, fvvbGdpbLastResyncPattern, gdpbv100::Message::getGdpbSysPattIndex(), gdpbv100::Message::getGdpbSysPattPattern(), gdpbv100::Message::getGdpbSysPattType(), gdpbv100::PATT_ENABLE, gdpbv100::PATT_MISSMATCH, and gdpbv100::PATT_RESYNC.
Referenced by ProcessSysMess().
|
private |
Printout if SPI message!
Histogramming
Definition at line 1190 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fhGdpbAsicSpiCounts, fhGet4ChanScm, fhGet4MessType, fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fulCurrentMsIdx, fUnpackPar, fuNrOfChannelsPerGet4, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, gdpbv100::GET4_32B_SLC_DEADT, gdpbv100::GET4_32B_SLC_SCALER, gdpbv100::GET4_32B_SLC_SPIREAD, gdpbv100::GET4_32B_SLC_START_SEU, gdpbv100::Message::getGdpbSlcChan(), gdpbv100::Message::getGdpbSlcData(), gdpbv100::Message::getGdpbSlcEdge(), gdpbv100::Message::getGdpbSlcType(), and CbmMcbm2018TofPar::GetPadiThresholdVal().
Referenced by ProcessMs().
|
private |
Histograms filling only in core MS
In Run rate evolution
Definition at line 1258 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fdMsTime, fdStartTime, fuCurrDpbIdx, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fvhCmdDaqVsTrig, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, fvhTriggerRate, fvulGdpbTsFullLast, fvulGdpbTsLsb, fvulGdpbTsMsb, fvulStarTsFullLast, fvulStarTsMid, fvulStarTsMsb, fvuStarDaqCmdLast, fvuStarTokenLast, fvuStarTrigCmdLast, gdpbv100::Message::getGdpbTsLsbStarB(), gdpbv100::Message::getGdpbTsMsbStarA(), gdpbv100::Message::getStarDaqCmdStarD(), gdpbv100::Message::getStarTokenStarD(), gdpbv100::Message::getStarTrigCmdStarD(), gdpbv100::Message::getStarTrigMsgIndex(), gdpbv100::Message::getStarTsLsbStarD(), gdpbv100::Message::getStarTsMidStarC(), and gdpbv100::Message::getStarTsMsbStarB().
Referenced by ProcessMs().
|
private |
Histogramming
Buffering
Definition at line 803 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fhGdpbSysMessType, fhGet4MessType, fhSysMessType, fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fvhGdpbGet4MessType, fvmEpSupprBuffer, gdpbv100::Message::getData(), gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbSysFwErrResync(), gdpbv100::Message::getGdpbSysSubType(), gdpbv100::Message::getGdpbSysUnkwData(), ProcessPattern(), gdpbv100::SYS_GDPB_UNKWN, gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_GET4_SYNC_MISS, and gdpbv100::SYS_PATTERN.
Referenced by ProcessMs().
|
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 317 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fhNbMissPatternPerMs, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fuNbMissmatchPattern, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, fuNrOfGdpbs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, and ProcessMs().
Referenced by CbmMcbm2018MonitorTaskTof::DoUnpack(), CbmDeviceMonitorTof::DoUnpack(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 48 of file CbmMcbm2018MonitorAlgoTof.h.
References ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 185 of file CbmMcbm2018MonitorAlgoTof.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmMcbm2018MonitorTaskTof::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 171 of file CbmMcbm2018MonitorAlgoTof.cxx.
void CbmMcbm2018MonitorAlgoTof::ResetEvolutionHistograms | ( | ) |
Definition at line 2535 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fdStartTime, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMsgCntEvo, fuNrOfGdpbs, fvhGdpbEnableEvoPerTs, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRemapChErrFract_gDPB, fvhRemapChRate_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, and fvhTriggerRate.
Referenced by ProcessMs().
Bool_t CbmMcbm2018MonitorAlgoTof::ResetHistograms | ( | Bool_t | bResetTime = kTRUE | ) |
Also reset the Start time for the evolution plots!
Definition at line 2461 of file CbmMcbm2018MonitorAlgoTof.cxx.
References fbDebugMonitorMode, fdStartTime, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbAsicSpiCounts, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbHitRate, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMessType, fhMsgCntEvo, fhNbMissPatternPerMs, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhSysMessType, fuNrOfGdpbs, fvhCmdDaqVsTrig, fvhGdpbEnableEvoPerTs, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChErrFract_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, and fvhTriggerRate.
Referenced by CbmMcbm2018MonitorTaskTof::DoUnpack(), CbmDeviceMonitorTof::DoUnpack(), and CbmDeviceMonitorTof::SendHistograms().
|
inline |
Definition at line 60 of file CbmMcbm2018MonitorAlgoTof.h.
References fbDebugMonitorMode.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
|
inline |
Definition at line 74 of file CbmMcbm2018MonitorAlgoTof.h.
References fiGdpbIndex.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
|
inline |
Definition at line 66 of file CbmMcbm2018MonitorAlgoTof.h.
References fuHistoryHistoSize.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
|
inline |
Definition at line 63 of file CbmMcbm2018MonitorAlgoTof.h.
References fbIgnoreCriticalErrors.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 69 of file CbmMcbm2018MonitorAlgoTof.h.
References fuMaxTotPulser, and fuMinTotPulser.
Referenced by CbmMcbm2018MonitorTaskTof::InitContainers(), and CbmDeviceMonitorTof::InitContainers().
|
inline |
Definition at line 76 of file CbmMcbm2018MonitorAlgoTof.h.
References fbUseAbsoluteTime.
Referenced by CbmDeviceMonitorTof::InitTask().
|
private |
Control flags.
Definition at line 83 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessError(), ProcessHit(), ProcessPattern(), ProcessTs(), ResetEvolutionHistograms(), ResetHistograms(), and SetDebugMonitorMode().
|
private |
Duplicate Hits detection.
Definition at line 170 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 85 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessError(), and SetIgnoreCriticalErrors().
|
protectedinherited |
Definition at line 116 of file CbmStar2019Algo.h.
|
private |
Definition at line 88 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessMs(), and UseAbsoluteTime().
|
private |
Definition at line 270 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 272 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 269 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 271 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 273 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 268 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Canvases.
Definition at line 265 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 266 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 117 of file CbmStar2019Algo.h.
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 124 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch(), ProcessError(), ProcessMs(), and ProcessStarTrig().
|
private |
Starting state book-keeping.
Definition at line 152 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch(), ProcessError(), ProcessHit(), ProcessMs(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots
Definition at line 154 of file CbmMcbm2018MonitorAlgoTof.h.
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 119 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 121 of file CbmStar2019Algo.h.
|
private |
SysId of the current MS in TS (0 to fuTotalMsNb)
Definition at line 120 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 122 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 95 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 205 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 211 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 207 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 213 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 187 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Definition at line 195 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 196 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 192 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), and ResetHistograms().
|
private |
Definition at line 194 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 193 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 197 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Per Gdpb
Definition at line 189 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 191 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Definition at line 190 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().
|
private |
Definition at line 185 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().
|
private |
Definition at line 184 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Definition at line 186 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), and ResetHistograms().
|
private |
Per GET4 in system
Definition at line 183 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), ProcessSysMess(), and ResetHistograms().
|
private |
Definition at line 204 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 210 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 206 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 212 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 208 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 214 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Size in seconds of the evolution histograms.
Histograms Global Counts In System
Definition at line 180 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Global Rates
Definition at line 203 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 209 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 225 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessTs(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 227 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 226 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 228 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Definition at line 181 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 136 of file CbmMcbm2018MonitorAlgoTof.h.
|
private |
Definition at line 87 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), InitParameters(), and SetGdpbIndex().
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 135 of file CbmMcbm2018MonitorAlgoTof.h.
|
private |
Definition at line 172 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch().
|
private |
Index of current MS within the TS Current data properties
Definition at line 127 of file CbmMcbm2018MonitorAlgoTof.h.
|
protectedinherited |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 156 of file CbmMcbm2018MonitorAlgoTof.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 131 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 133 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by FillHistograms(), ProcessEpoch(), ProcessEpochCycle(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), ProcessStarTrig(), and ProcessSysMess().
|
private |
Definition at line 129 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessMs().
|
private |
Definition at line 118 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), and ProcessMs().
|
private |
Definition at line 171 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch().
|
private |
Bin size in s for the plots with date as X axis.
Definition at line 138 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().
|
private |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
Definition at line 140 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().
|
private |
Histograms related variables.
Definition at line 175 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().
|
private |
Definition at line 116 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpochCycle(), ProcessHit(), ProcessMs(), and ProcessSlowCtrl().
|
private |
Running indices TS/MS info
Definition at line 115 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by FillHistograms(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessStarTrig(), and ProcessTs().
|
private |
Definition at line 106 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by SetPulserTotLimits().
|
private |
Number of channels per GDPB.
User settings: Data correction parameters
Definition at line 105 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by SetPulserTotLimits().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 125 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessHit(), ProcessPattern(), ProcessStarTrig(), and ProcessTs().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
|
private |
Pattern messages per gDPB.
Pattern Messages
Definition at line 224 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessPattern(), and ProcessTs().
|
protectedinherited |
Definition at line 114 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 113 of file CbmStar2019Algo.h.
|
private |
Switch ON the usage of abolute time scale for the evo histo (no start time)
Settings from parameter file
Definition at line 92 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by GetParList(), InitParameters(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), and ReInitContainers().
|
private |
Number of channels in each GET4.
Definition at line 99 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), InitParameters(), ProcessError(), and ProcessHit().
|
private |
Number of GET4s per GDPB.
Definition at line 102 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Number of GET4s per FEE.
Definition at line 98 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), InitParameters(), ProcessError(), ProcessHit(), and ProcessSlowCtrl().
|
private |
gDPB ID to index map
Definition at line 96 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Readout chain dimensions and mapping
Definition at line 94 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), InitParameters(), ProcessTs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Number of channels in each FEE.
Definition at line 100 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Number of FEBs per GDPB.
Definition at line 97 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessError(), and ProcessHit().
|
private |
Total number of Get4 chips in the system.
Definition at line 101 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessMs().
|
private |
If ON not printout at all for critical errors.
Definition at line 86 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessMs().
|
private |
Definition at line 267 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms().
|
private |
Definition at line 258 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 248 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 201 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().
|
private |
Definition at line 200 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Per GET4 in gDPB
Definition at line 199 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessEpoch(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), ProcessSysMess(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 246 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Exclude from dictionnary.
Definition at line 244 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 233 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode Per MS in gDPB
Definition at line 231 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 235 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 252 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 250 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 254 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 217 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Raw data per channel
Definition at line 216 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 219 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 221 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessError(), ProcessHit(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 220 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessHit(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 218 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 259 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 260 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 261 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode STAR TRIGGER detection
Definition at line 256 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().
|
private |
Definition at line 257 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Epoch + Epoch Cycle.
Buffer for suppressed epoch processing
Definition at line 148 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessEpSupprBuffer(), ProcessMs(), ProcessSysMess(), and ~CbmMcbm2018MonitorAlgoTof().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 137 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 135 of file CbmStar2019Algo.h.
|
private |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs].
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
Definition at line 142 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessPattern().
|
private |
Current epoch index, per DPB.
Definition at line 144 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpochCycle().
|
private |
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition at line 145 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().
|
private |
Definition at line 163 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 160 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
STAR TRIGGER detection.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 159 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 164 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 162 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 161 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 166 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 165 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 167 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Exclude from dictionnary.
Definition at line 240 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
private |
Debug histo, only in DebugMonitorMode State Per TS
Definition at line 238 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
private |
Exclude from dictionnary.
Definition at line 242 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
staticprivate |
Constants.
Definition at line 109 of file CbmMcbm2018MonitorAlgoTof.h.
|
staticprivate |
Definition at line 110 of file CbmMcbm2018MonitorAlgoTof.h.
Referenced by ProcessMs().
|
staticprivate |
Definition at line 111 of file CbmMcbm2018MonitorAlgoTof.h.