CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018MonitorAlgoTof Class Reference

#include <CbmMcbm2018MonitorAlgoTof.h>

Inheritance diagram for CbmMcbm2018MonitorAlgoTof:
[legend]
Collaboration diagram for CbmMcbm2018MonitorAlgoTof:
[legend]

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.
 
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< CbmTofDigifDigiVect
 Vector of pointers to canvases + optional folder name.
 
std::vector< CbmErrorMessagefErrVect
 
std::map< std::string, std::string > fParameterMap
 For any algo.
 

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.
 
Bool_t fbIgnoreCriticalErrors
 Switch ON the filling of a additional set of histograms.
 
std::vector< Bool_t > fvbMaskedComponents
 If ON not printout at all for critical errors.
 
Int_t fiGdpbIndex
 
Bool_t fbUseAbsoluteTime = kFALSE
 
CbmMcbm2018TofParfUnpackPar
 Switch ON the usage of abolute time scale for the evo histo (no start time)
 
UInt_t fuNrOfGdpbs
 
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
 Total number of GDPBs in the system.
 
UInt_t fuNrOfFeePerGdpb
 gDPB ID to index map
 
UInt_t fuNrOfGet4PerFee
 Number of FEBs per GDPB.
 
UInt_t fuNrOfChannelsPerGet4
 Number of GET4s per FEE.
 
UInt_t fuNrOfChannelsPerFee
 Number of channels in each GET4.
 
UInt_t fuNrOfGet4
 Number of channels in each FEE.
 
UInt_t fuNrOfGet4PerGdpb
 Total number of Get4 chips in the system.
 
UInt_t fuNrOfChannelsPerGdpb
 Number of GET4s per GDPB.
 
UInt_t fuMinTotPulser
 Number of channels per GDPB.
 
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)
 
Double_t fdTsStopTimeCore
 Time in ns of current TS from the index of the first MS first component.
 
Double_t fdMsTime
 End Time in ns of current TS Core from the index of the first MS first component.
 
UInt_t fuMsIndex
 Start Time in ns of current MS from its index field in header.
 
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.
 
UInt_t fuCurrDpbIdx
 Temp holder until Current equipment ID is properly filled in MS.
 
Int_t fiRunStartDateTimeSec
 Index of the DPB from which the MS currently unpacked is coming.
 
Int_t fiBinSizeDatePlots
 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
 running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
 
std::vector< ULong64_t > fvulCurrentEpoch
 Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs].
 
std::vector< ULong64_t > fvulCurrentEpochCycle
 Current epoch index, per DPB.
 
std::vector< ULong64_t > fvulCurrentEpochFull
 Epoch cycle from the Ms Start message and Epoch counter flip.
 
std::vector< gdpbv100::MessagefvmEpSupprBuffer
 Epoch + Epoch Cycle.
 
Double_t fdStartTime
 Starting state book-keeping.
 
Double_t fdStartTimeMsSz
 
std::chrono::steady_clock::time_point ftStartTimeUnix
 
std::vector< ULong64_t > fvulGdpbTsMsb
 STAR TRIGGER detection.
 
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.
 
UInt_t fuDuplicatesCount
 
gdpbv100::Message fmLastHit
 
UInt_t fuHistoryHistoSize
 Histograms related variables.
 
TH1 * fhMessType
 Size in seconds of the evolution histograms.
 
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.
 
std::vector< TH2 * > fvhRemapTot_gDPB
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH1 * > fvhRemapChCount_gDPB
 
std::vector< TH2 * > fvhRemapChRate_gDPB
 
std::vector< TProfile2D * > fvhRemapChErrFract_gDPB
 
std::vector< UInt_t > fuNbMissmatchPattern
 Pattern messages per gDPB.
 
TH2 * fhNbMissPatternPerMs
 
TH2 * fhPatternMissmatch
 Debug histo, only in DebugMonitorMode.
 
TH2 * fhPatternEnable
 Debug histo, only in DebugMonitorMode.
 
TH2 * fhPatternResync
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbPatternMissmatchEvo
 
std::vector< TH2 * > fvhGdpbPatternEnableEvo
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbPatternResyncEvo
 Debug histo, only in DebugMonitorMode.
 
std::vector< std::vector< bool > > fvvbGdpbLastMissmatchPattern
 
std::vector< std::vector< bool > > fvvbGdpbLastEnablePattern
 Exclude from dictionnary.
 
std::vector< std::vector< bool > > fvvbGdpbLastResyncPattern
 Exclude from dictionnary.
 
std::vector< TH2 * > fvhGdpbMissmatchEvoPerTs
 Exclude from dictionnary.
 
std::vector< TH2 * > fvhGdpbMissmatchEnaEvoPerTs
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbEnableEvoPerTs
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbResyncEvoPerTs
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbResyncEnaEvoPerTs
 Debug histo, only in DebugMonitorMode.
 
std::vector< TH2 * > fvhGdpbStateEvoPerTs
 Debug histo, only in DebugMonitorMode.
 
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.
 
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.
 
static const UInt_t kuBytesPerMessage = 8
 
static const UInt_t kuNbChanDiamond = 8
 

Detailed Description

Definition at line 37 of file CbmMcbm2018MonitorAlgoTof.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorAlgoTof() [1/2]

CbmMcbm2018MonitorAlgoTof::CbmMcbm2018MonitorAlgoTof ( )

Definition at line 43 of file CbmMcbm2018MonitorAlgoTof.cxx.

◆ ~CbmMcbm2018MonitorAlgoTof()

CbmMcbm2018MonitorAlgoTof::~CbmMcbm2018MonitorAlgoTof ( )

Clear buffers

Definition at line 167 of file CbmMcbm2018MonitorAlgoTof.cxx.

References fvmEpSupprBuffer.

◆ CbmMcbm2018MonitorAlgoTof() [2/2]

CbmMcbm2018MonitorAlgoTof::CbmMcbm2018MonitorAlgoTof ( const CbmMcbm2018MonitorAlgoTof & )
private

Member Function Documentation

◆ AddCanvasToVector()

◆ AddHistoToVector()

◆ AddMsComponentToList()

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 313 of file CbmMcbm2018MonitorAlgoTof.cxx.

References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.

Referenced by CbmMcbm2018MonitorTaskTof::AddMsComponentToList(), CbmDeviceMonitorReqTof::DoUnpack(), and CbmDeviceMonitorTof::DoUnpack().

◆ CheckParameterValidity()

Bool_t CbmStar2019Algo< CbmTofDigi >::CheckParameterValidity ( std::string ,
std::string  )
inlineprotectedinherited

Map of parameter name and type.

Definition at line 140 of file CbmStar2019Algo.h.

◆ ClearErrorVector()

void CbmStar2019Algo< CbmTofDigi >::ClearErrorVector ( )
inlineinherited

Definition at line 97 of file CbmStar2019Algo.h.

◆ ClearVector()

void CbmStar2019Algo< CbmTofDigi >::ClearVector ( )
inlineinherited

For unpacker algos.

Definition at line 95 of file CbmStar2019Algo.h.

◆ CreateHistograms()

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 1269 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(), CbmDeviceMonitorReqTof::InitHistograms(), and CbmDeviceMonitorTof::InitHistograms().

◆ FillHistograms()

◆ Finish()

void CbmMcbm2018MonitorAlgoTof::Finish ( )
virtual

Printout Goodbye message and stats

Write Output histos

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 181 of file CbmMcbm2018MonitorAlgoTof.cxx.

◆ GetCanvasVector()

std::vector< std::pair< TCanvas *, std::string > > CbmStar2019Algo< CbmTofDigi >::GetCanvasVector ( )
inlineinherited

Definition at line 92 of file CbmStar2019Algo.h.

◆ GetErrorVector()

std::vector< CbmErrorMessage > & CbmStar2019Algo< CbmTofDigi >::GetErrorVector ( )
inlineinherited

Definition at line 98 of file CbmStar2019Algo.h.

◆ GetHistoVector()

std::vector< std::pair< TNamed *, std::string > > CbmStar2019Algo< CbmTofDigi >::GetHistoVector ( )
inlineinherited

Definition at line 87 of file CbmStar2019Algo.h.

◆ GetParameter()

virtual std::string CbmStar2019Algo< CbmTofDigi >::GetParameter ( std::string )
inlinevirtualinherited

Definition at line 80 of file CbmStar2019Algo.h.

◆ GetParList()

◆ GetVector()

std::vector< CbmTofDigi > & CbmStar2019Algo< CbmTofDigi >::GetVector ( )
inlineinherited

Definition at line 96 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmMcbm2018MonitorAlgoTof::Init ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 174 of file CbmMcbm2018MonitorAlgoTof.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorAlgoTof::InitContainers ( )
virtual

◆ InitParameters()

◆ operator=()

CbmMcbm2018MonitorAlgoTof CbmMcbm2018MonitorAlgoTof::operator= ( const CbmMcbm2018MonitorAlgoTof & )
private

◆ ProcessEpoch()

◆ ProcessEpochCycle()

void CbmMcbm2018MonitorAlgoTof::ProcessEpochCycle ( uint64_t ulCycleData)
private

◆ ProcessEpSupprBuffer()

void CbmMcbm2018MonitorAlgoTof::ProcessEpSupprBuffer ( )
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 649 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().

◆ ProcessError()

void CbmMcbm2018MonitorAlgoTof::ProcessError ( gdpbv100::FullMessage mess)
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 824 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().

◆ ProcessHit()

void CbmMcbm2018MonitorAlgoTof::ProcessHit ( gdpbv100::FullMessage mess)
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 713 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().

◆ ProcessMs()

Bool_t CbmMcbm2018MonitorAlgoTof::ProcessMs ( const fles::Timeslice & ts,
size_t uMsCompIdx,
size_t uMsIdx )
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 384 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().

◆ ProcessPattern()

◆ ProcessSlowCtrl()

◆ ProcessStarTrig()

◆ ProcessSysMess()

◆ ProcessTs() [1/2]

Bool_t CbmMcbm2018MonitorAlgoTof::ProcessTs ( const fles::Timeslice & ts)
virtual

◆ ProcessTs() [2/2]

Bool_t CbmMcbm2018MonitorAlgoTof::ProcessTs ( const fles::Timeslice & ts,
size_t  )
inlinevirtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 53 of file CbmMcbm2018MonitorAlgoTof.h.

References ProcessTs().

Referenced by ProcessTs().

◆ ReInitContainers()

Bool_t CbmMcbm2018MonitorAlgoTof::ReInitContainers ( )
virtual

◆ Reset()

void CbmMcbm2018MonitorAlgoTof::Reset ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 180 of file CbmMcbm2018MonitorAlgoTof.cxx.

◆ ResetEvolutionHistograms()

◆ ResetHistograms()

Bool_t CbmMcbm2018MonitorAlgoTof::ResetHistograms ( Bool_t bResetTime = kTRUE)

◆ SetDebugMonitorMode()

void CbmMcbm2018MonitorAlgoTof::SetDebugMonitorMode ( Bool_t bFlagIn = kTRUE)
inline

◆ SetGdpbIndex()

void CbmMcbm2018MonitorAlgoTof::SetGdpbIndex ( Int_t iGdpb = -1)
inline

◆ SetHistoryHistoSize()

void CbmMcbm2018MonitorAlgoTof::SetHistoryHistoSize ( UInt_t inHistorySizeSec = 1800)
inline

◆ SetIgnoreCriticalErrors()

void CbmMcbm2018MonitorAlgoTof::SetIgnoreCriticalErrors ( Bool_t bFlagIn = kTRUE)
inline

◆ SetIgnoreOverlapMs()

void CbmStar2019Algo< CbmTofDigi >::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)
inlineinherited

Control flags.

Definition at line 101 of file CbmStar2019Algo.h.

◆ SetParameter()

virtual void CbmStar2019Algo< CbmTofDigi >::SetParameter ( std::string )
inlinevirtualinherited

Definition at line 79 of file CbmStar2019Algo.h.

◆ SetPulserTotLimits()

void CbmMcbm2018MonitorAlgoTof::SetPulserTotLimits ( UInt_t uMin,
UInt_t uMax )
inline

◆ UseAbsoluteTime()

void CbmMcbm2018MonitorAlgoTof::UseAbsoluteTime ( Bool_t bFlagIn = kTRUE)
inline

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018MonitorAlgoTof::fbDebugMonitorMode
private

◆ fbEpochSinceLastHit

Bool_t CbmMcbm2018MonitorAlgoTof::fbEpochSinceLastHit
private

Duplicate Hits detection.

Definition at line 150 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch().

◆ fbIgnoreCriticalErrors

Bool_t CbmMcbm2018MonitorAlgoTof::fbIgnoreCriticalErrors
private

Switch ON the filling of a additional set of histograms.

Definition at line 79 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessError(), ProcessSlowCtrl(), ProcessSysMess(), and SetIgnoreCriticalErrors().

◆ fbIgnoreOverlapMs

◆ fbUseAbsoluteTime

Bool_t CbmMcbm2018MonitorAlgoTof::fbUseAbsoluteTime = kFALSE
private

Definition at line 82 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessMs(), and UseAbsoluteTime().

◆ fcStarTrigCmdDaqVsTrig

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTrigCmdDaqVsTrig
private

Definition at line 238 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcStarTrigGdpbTsEvo

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTrigGdpbTsEvo
private

Definition at line 240 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcStarTriggerRate

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTriggerRate
private

Definition at line 237 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTokenEvo

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTrigStarTokenEvo
private

Definition at line 239 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTsEvo

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTrigStarTsEvo
private

Definition at line 241 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcStarTrigTokenType

TCanvas* CbmMcbm2018MonitorAlgoTof::fcStarTrigTokenType
private

Definition at line 236 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcSummary

TCanvas* CbmMcbm2018MonitorAlgoTof::fcSummary
private

Canvases.

Definition at line 233 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fcSummaryGdpb

TCanvas* CbmMcbm2018MonitorAlgoTof::fcSummaryGdpb
private

Definition at line 234 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fDigiVect

std::vector<CbmTofDigi> CbmStar2019Algo< CbmTofDigi >::fDigiVect
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().

◆ fdMsSizeInNs

◆ fdMsTime

Double_t CbmMcbm2018MonitorAlgoTof::fdMsTime
private

End Time in ns of current TS Core from the index of the first MS first component.

Definition at line 113 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch(), ProcessError(), ProcessMs(), and ProcessStarTrig().

◆ fdStartTime

Double_t CbmMcbm2018MonitorAlgoTof::fdStartTime
private

◆ fdStartTimeMsSz

Double_t CbmMcbm2018MonitorAlgoTof::fdStartTimeMsSz
private

Time of first valid hit (epoch available), used as reference for evolution plots

Definition at line 134 of file CbmMcbm2018MonitorAlgoTof.h.

◆ fdTsCoreSizeInNs

◆ fdTsFullSizeInNs

◆ fdTsStartTime

Double_t CbmMcbm2018MonitorAlgoTof::fdTsStartTime
private

SysId of the current MS in TS (0 to fuTotalMsNb)

Definition at line 111 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessTs().

◆ fdTsStopTimeCore

Double_t CbmMcbm2018MonitorAlgoTof::fdTsStopTimeCore
private

Time in ns of current TS from the index of the first MS first component.

Definition at line 112 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessTs().

◆ fErrVect

std::vector<CbmErrorMessage> CbmStar2019Algo< CbmTofDigi >::fErrVect
protectedinherited

Definition at line 135 of file CbmStar2019Algo.h.

◆ fGdpbIdIndexMap

std::map<UInt_t, UInt_t> CbmMcbm2018MonitorAlgoTof::fGdpbIdIndexMap
private

Total number of GDPBs in the system.

Definition at line 88 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessMs().

◆ fhErrorCntEvo

TH1* CbmMcbm2018MonitorAlgoTof::fhErrorCntEvo
private

◆ fhErrorCntPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhErrorCntPerMsEvo
private

◆ fhErrorFractEvo

TProfile* CbmMcbm2018MonitorAlgoTof::fhErrorFractEvo
private

◆ fhErrorFractPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhErrorFractPerMsEvo
private

◆ fhGdpbAsicSpiCounts

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbAsicSpiCounts
private

Definition at line 167 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().

◆ fhGdpbEndMsBufferNotEmpty

TH1* CbmMcbm2018MonitorAlgoTof::fhGdpbEndMsBufferNotEmpty
private

Definition at line 175 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().

◆ fhGdpbEndMsDataLost

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbEndMsDataLost
private

Definition at line 176 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().

◆ fhGdpbEpochFlags

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbEpochFlags
private

Definition at line 172 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessEpoch(), and ResetHistograms().

◆ fhGdpbEpochMissEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbEpochMissEvo
private

◆ fhGdpbEpochSyncEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbEpochSyncEvo
private

◆ fhGdpbHitRate

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbHitRate
private

Definition at line 177 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().

◆ fhGdpbMessType

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbMessType
private

Per Gdpb

Definition at line 169 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().

◆ fhGdpbSysMessPattType

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbSysMessPattType
private

Definition at line 171 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fhGdpbSysMessType

TH2* CbmMcbm2018MonitorAlgoTof::fhGdpbSysMessType
private

Definition at line 170 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().

◆ fhGet4ChanErrors

TH2* CbmMcbm2018MonitorAlgoTof::fhGet4ChanErrors
private

Definition at line 165 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().

◆ fhGet4ChanScm

TH2* CbmMcbm2018MonitorAlgoTof::fhGet4ChanScm
private

Definition at line 164 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().

◆ fhGet4EpochFlags

TH2* CbmMcbm2018MonitorAlgoTof::fhGet4EpochFlags
private

Definition at line 166 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessEpoch(), and ResetHistograms().

◆ fhGet4MessType

TH2* CbmMcbm2018MonitorAlgoTof::fhGet4MessType
private

◆ fhHitCntEvo

TH1* CbmMcbm2018MonitorAlgoTof::fhHitCntEvo
private

◆ fhHitCntPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhHitCntPerMsEvo
private

◆ fhLostEvtCntEvo

TH1* CbmMcbm2018MonitorAlgoTof::fhLostEvtCntEvo
private

◆ fhLostEvtCntPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhLostEvtCntPerMsEvo
private

◆ fhLostEvtFractEvo

TProfile* CbmMcbm2018MonitorAlgoTof::fhLostEvtFractEvo
private

◆ fhLostEvtFractPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhLostEvtFractPerMsEvo
private

◆ fhMessType

TH1* CbmMcbm2018MonitorAlgoTof::fhMessType
private

Size in seconds of the evolution histograms.

Histograms Global Counts In System

Definition at line 160 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().

◆ fhMsgCntEvo

TH1* CbmMcbm2018MonitorAlgoTof::fhMsgCntEvo
private

◆ fhMsgCntPerMsEvo

TH2* CbmMcbm2018MonitorAlgoTof::fhMsgCntPerMsEvo
private

Definition at line 189 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fhNbMissPatternPerMs

TH2* CbmMcbm2018MonitorAlgoTof::fhNbMissPatternPerMs
private

Definition at line 205 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessTs(), and ResetHistograms().

◆ fhPatternEnable

TH2* CbmMcbm2018MonitorAlgoTof::fhPatternEnable
private

Debug histo, only in DebugMonitorMode.

Definition at line 207 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fhPatternMissmatch

TH2* CbmMcbm2018MonitorAlgoTof::fhPatternMissmatch
private

Debug histo, only in DebugMonitorMode.

Definition at line 206 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fhPatternResync

TH2* CbmMcbm2018MonitorAlgoTof::fhPatternResync
private

Debug histo, only in DebugMonitorMode.

Definition at line 208 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fhSysMessType

TH1* CbmMcbm2018MonitorAlgoTof::fhSysMessType
private

Definition at line 161 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().

◆ fiBinSizeDatePlots

Int_t CbmMcbm2018MonitorAlgoTof::fiBinSizeDatePlots
private

Start of run time since "epoch" in s, for the plots with date as X axis.

Definition at line 121 of file CbmMcbm2018MonitorAlgoTof.h.

◆ fiGdpbIndex

Int_t CbmMcbm2018MonitorAlgoTof::fiGdpbIndex
private

Definition at line 81 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), InitParameters(), and SetGdpbIndex().

◆ fiRunStartDateTimeSec

Int_t CbmMcbm2018MonitorAlgoTof::fiRunStartDateTimeSec
private

Index of the DPB from which the MS currently unpacked is coming.

Definition at line 120 of file CbmMcbm2018MonitorAlgoTof.h.

◆ fmLastHit

gdpbv100::Message CbmMcbm2018MonitorAlgoTof::fmLastHit
private

Definition at line 152 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch().

◆ fmMsgCounter

std::map<gdpbv100::MessageTypes, UInt_t> CbmMcbm2018MonitorAlgoTof::fmMsgCounter
private

Index of current MS within the TS Current data properties

Definition at line 116 of file CbmMcbm2018MonitorAlgoTof.h.

◆ fParameterMap

std::map<std::string, std::string> CbmStar2019Algo< CbmTofDigi >::fParameterMap
protectedinherited

For any algo.

Definition at line 138 of file CbmStar2019Algo.h.

◆ fParCList

◆ ftStartTimeUnix

std::chrono::steady_clock::time_point CbmMcbm2018MonitorAlgoTof::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 136 of file CbmMcbm2018MonitorAlgoTof.h.

◆ fuCurrDpbId

UInt_t CbmMcbm2018MonitorAlgoTof::fuCurrDpbId
private

Current equipment ID, tells from which DPB the current MS is originating.

Definition at line 118 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessMs().

◆ fuCurrDpbIdx

UInt_t CbmMcbm2018MonitorAlgoTof::fuCurrDpbIdx
private

Temp holder until Current equipment ID is properly filled in MS.

Definition at line 119 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by FillHistograms(), ProcessEpoch(), ProcessEpochCycle(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), ProcessStarTrig(), and ProcessSysMess().

◆ fuCurrentEquipmentId

UInt_t CbmMcbm2018MonitorAlgoTof::fuCurrentEquipmentId
private

Definition at line 117 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessMs().

◆ fuCurrentMsSysId

uint32_t CbmMcbm2018MonitorAlgoTof::fuCurrentMsSysId
private

◆ fuDuplicatesCount

UInt_t CbmMcbm2018MonitorAlgoTof::fuDuplicatesCount
private

Definition at line 151 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch().

◆ fuGet4Id

UInt_t CbmMcbm2018MonitorAlgoTof::fuGet4Id
private

Bin size in s for the plots with date as X axis.

Definition at line 122 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().

◆ fuGet4Nr

UInt_t CbmMcbm2018MonitorAlgoTof::fuGet4Nr
private

running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message

Definition at line 123 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().

◆ fuHistoryHistoSize

UInt_t CbmMcbm2018MonitorAlgoTof::fuHistoryHistoSize
private

Histograms related variables.

Definition at line 155 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().

◆ fulCurrentMsIdx

ULong64_t CbmMcbm2018MonitorAlgoTof::fulCurrentMsIdx
private

◆ fulCurrentTsIdx

ULong64_t CbmMcbm2018MonitorAlgoTof::fulCurrentTsIdx
private

Running indices TS/MS info

Definition at line 108 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by FillHistograms(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessStarTrig(), and ProcessTs().

◆ fuMaxTotPulser

UInt_t CbmMcbm2018MonitorAlgoTof::fuMaxTotPulser
private

Definition at line 99 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmMcbm2018MonitorAlgoTof::fuMinTotPulser
private

Number of channels per GDPB.

User settings: Data correction parameters

Definition at line 98 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by SetPulserTotLimits().

◆ fuMsIndex

UInt_t CbmMcbm2018MonitorAlgoTof::fuMsIndex
private

Start Time in ns of current MS from its index field in header.

Definition at line 114 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessHit(), ProcessPattern(), ProcessStarTrig(), and ProcessTs().

◆ fuNbCoreMsPerTs

◆ fuNbMissmatchPattern

std::vector<UInt_t> CbmMcbm2018MonitorAlgoTof::fuNbMissmatchPattern
private

Pattern messages per gDPB.

Pattern Messages

Definition at line 204 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessPattern(), and ProcessTs().

◆ fuNbMsLoop

◆ fuNbOverMsPerTs

◆ fUnpackPar

CbmMcbm2018TofPar* CbmMcbm2018MonitorAlgoTof::fUnpackPar
private

Switch ON the usage of abolute time scale for the evo histo (no start time)

Settings from parameter file

Definition at line 85 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by GetParList(), InitParameters(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), and ReInitContainers().

◆ fuNrOfChannelsPerFee

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfChannelsPerFee
private

Number of channels in each GET4.

Definition at line 92 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), InitParameters(), ProcessError(), and ProcessHit().

◆ fuNrOfChannelsPerGdpb

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfChannelsPerGdpb
private

Number of GET4s per GDPB.

Definition at line 95 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfChannelsPerGet4

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfChannelsPerGet4
private

Number of GET4s per FEE.

Definition at line 91 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), InitParameters(), ProcessError(), ProcessHit(), and ProcessSlowCtrl().

◆ fuNrOfFeePerGdpb

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfFeePerGdpb
private

gDPB ID to index map

Definition at line 89 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfGdpbs

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfGdpbs
private

Readout chain dimensions and mapping

Definition at line 87 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), InitParameters(), ProcessTs(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fuNrOfGet4

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfGet4
private

Number of channels in each FEE.

Definition at line 93 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfGet4PerFee

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfGet4PerFee
private

Number of FEBs per GDPB.

Definition at line 90 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessError(), and ProcessHit().

◆ fuNrOfGet4PerGdpb

UInt_t CbmMcbm2018MonitorAlgoTof::fuNrOfGet4PerGdpb
private

Total number of Get4 chips in the system.

Definition at line 94 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessMs().

◆ fvbMaskedComponents

std::vector<Bool_t> CbmMcbm2018MonitorAlgoTof::fvbMaskedComponents
private

If ON not printout at all for critical errors.

Definition at line 80 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessMs().

◆ fvcSumGdpbGet4

std::vector<TCanvas*> CbmMcbm2018MonitorAlgoTof::fvcSumGdpbGet4
private

Definition at line 235 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms().

◆ fvhCmdDaqVsTrig

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhCmdDaqVsTrig
private

Definition at line 226 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().

◆ fvhGdpbEnableEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbEnableEvoPerTs
private

Debug histo, only in DebugMonitorMode.

Definition at line 219 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhGdpbGet4ChanErrors

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbGet4ChanErrors
private

Definition at line 181 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().

◆ fvhGdpbGet4ChanScm

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbGet4ChanScm
private

Definition at line 180 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().

◆ fvhGdpbGet4MessType

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbGet4MessType
private

◆ fvhGdpbMissmatchEnaEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbMissmatchEnaEvoPerTs
private

Debug histo, only in DebugMonitorMode.

Definition at line 218 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhGdpbMissmatchEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbMissmatchEvoPerTs
private

Exclude from dictionnary.

Definition at line 217 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhGdpbPatternEnableEvo

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbPatternEnableEvo
private

Debug histo, only in DebugMonitorMode.

Definition at line 211 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fvhGdpbPatternMissmatchEvo

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbPatternMissmatchEvo
private

Debug histo, only in DebugMonitorMode Per MS in gDPB

Definition at line 210 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fvhGdpbPatternResyncEvo

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbPatternResyncEvo
private

Debug histo, only in DebugMonitorMode.

Definition at line 212 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().

◆ fvhGdpbResyncEnaEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbResyncEnaEvoPerTs
private

Debug histo, only in DebugMonitorMode.

Definition at line 221 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhGdpbResyncEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbResyncEvoPerTs
private

Debug histo, only in DebugMonitorMode.

Definition at line 220 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhGdpbStateEvoPerTs

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhGdpbStateEvoPerTs
private

Debug histo, only in DebugMonitorMode.

Definition at line 222 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fvhRawCt_gDPB

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhRawCt_gDPB
private

Debug histo, only in DebugMonitorMode.

Definition at line 197 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().

◆ fvhRawFt_gDPB

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhRawFt_gDPB
private

Raw data per channel

Definition at line 196 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().

◆ fvhRemapChCount_gDPB

std::vector<TH1*> CbmMcbm2018MonitorAlgoTof::fvhRemapChCount_gDPB
private

Definition at line 199 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().

◆ fvhRemapChErrFract_gDPB

std::vector<TProfile2D*> CbmMcbm2018MonitorAlgoTof::fvhRemapChErrFract_gDPB
private

◆ fvhRemapChRate_gDPB

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhRemapChRate_gDPB
private

◆ fvhRemapTot_gDPB

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhRemapTot_gDPB
private

Debug histo, only in DebugMonitorMode.

Definition at line 198 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().

◆ fvhStarTokenEvo

std::vector<TH2*> CbmMcbm2018MonitorAlgoTof::fvhStarTokenEvo
private

◆ fvhStarTrigGdpbTsEvo

std::vector<TProfile*> CbmMcbm2018MonitorAlgoTof::fvhStarTrigGdpbTsEvo
private

◆ fvhStarTrigStarTsEvo

std::vector<TProfile*> CbmMcbm2018MonitorAlgoTof::fvhStarTrigStarTsEvo
private

◆ fvhTokenMsgType

std::vector<TH1*> CbmMcbm2018MonitorAlgoTof::fvhTokenMsgType
private

Debug histo, only in DebugMonitorMode STAR TRIGGER detection

Definition at line 224 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().

◆ fvhTriggerRate

std::vector<TH1*> CbmMcbm2018MonitorAlgoTof::fvhTriggerRate
private

◆ fvmEpSupprBuffer

std::vector<gdpbv100::Message> CbmMcbm2018MonitorAlgoTof::fvmEpSupprBuffer
private

Epoch + Epoch Cycle.

Buffer for suppressed epoch processing

Definition at line 130 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessEpSupprBuffer(), ProcessMs(), ProcessSysMess(), and ~CbmMcbm2018MonitorAlgoTof().

◆ fvMsComponentsList

◆ fvpAllCanvasPointers

std::vector<std::pair<TCanvas*, std::string> > CbmStar2019Algo< CbmTofDigi >::fvpAllCanvasPointers
protectedinherited

Vector of pointers to histograms + optional folder name.

Definition at line 131 of file CbmStar2019Algo.h.

◆ fvpAllHistoPointers

std::vector<std::pair<TNamed*, std::string> > CbmStar2019Algo< CbmTofDigi >::fvpAllHistoPointers
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.

◆ fvulCurrentEpoch

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulCurrentEpoch
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 125 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessPattern().

◆ fvulCurrentEpochCycle

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulCurrentEpochCycle
private

Current epoch index, per DPB.

Definition at line 126 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessEpoch(), and ProcessEpochCycle().

◆ fvulCurrentEpochFull

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulCurrentEpochFull
private

Epoch cycle from the Ms Start message and Epoch counter flip.

Definition at line 127 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().

◆ fvulGdpbTsFullLast

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulGdpbTsFullLast
private

Definition at line 143 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulGdpbTsLsb

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulGdpbTsLsb
private

Definition at line 140 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulGdpbTsMsb

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulGdpbTsMsb
private

STAR TRIGGER detection.

Time of run Start from UNIX system, used as reference for long evolution plots against reception time

Definition at line 139 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsFullLast

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulStarTsFullLast
private

Definition at line 144 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMid

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulStarTsMid
private

Definition at line 142 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMsb

std::vector<ULong64_t> CbmMcbm2018MonitorAlgoTof::fvulStarTsMsb
private

Definition at line 141 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarDaqCmdLast

std::vector<UInt_t> CbmMcbm2018MonitorAlgoTof::fvuStarDaqCmdLast
private

Definition at line 146 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTokenLast

std::vector<UInt_t> CbmMcbm2018MonitorAlgoTof::fvuStarTokenLast
private

Definition at line 145 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTrigCmdLast

std::vector<UInt_t> CbmMcbm2018MonitorAlgoTof::fvuStarTrigCmdLast
private

Definition at line 147 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvvbGdpbLastEnablePattern

std::vector<std::vector<bool> > CbmMcbm2018MonitorAlgoTof::fvvbGdpbLastEnablePattern
private

Exclude from dictionnary.

Definition at line 215 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by FillHistograms(), InitParameters(), and ProcessPattern().

◆ fvvbGdpbLastMissmatchPattern

std::vector<std::vector<bool> > CbmMcbm2018MonitorAlgoTof::fvvbGdpbLastMissmatchPattern
private

Debug histo, only in DebugMonitorMode State Per TS

Definition at line 214 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by FillHistograms(), InitParameters(), and ProcessPattern().

◆ fvvbGdpbLastResyncPattern

std::vector<std::vector<bool> > CbmMcbm2018MonitorAlgoTof::fvvbGdpbLastResyncPattern
private

Exclude from dictionnary.

Definition at line 216 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by FillHistograms(), InitParameters(), and ProcessPattern().

◆ kiMaxNbFlibLinks

const Int_t CbmMcbm2018MonitorAlgoTof::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 102 of file CbmMcbm2018MonitorAlgoTof.h.

◆ kuBytesPerMessage

const UInt_t CbmMcbm2018MonitorAlgoTof::kuBytesPerMessage = 8
staticprivate

Definition at line 103 of file CbmMcbm2018MonitorAlgoTof.h.

Referenced by ProcessMs().

◆ kuNbChanDiamond

const UInt_t CbmMcbm2018MonitorAlgoTof::kuNbChanDiamond = 8
staticprivate

Definition at line 104 of file CbmMcbm2018MonitorAlgoTof.h.


The documentation for this class was generated from the following files: