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

#include <CbmStar2019MonitorAlgo.h>

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

Public Member Functions

 CbmStar2019MonitorAlgo ()
 
 ~CbmStar2019MonitorAlgo ()
 
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 ()
 
void ResetEvolutionHistograms ()
 
Bool_t SaveLatencyHistograms (TString fsHistoFileName)
 
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 SetSectorIndex (Int_t iSector=-1)
 
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)
 
 CbmStar2019MonitorAlgo (const CbmStar2019MonitorAlgo &)
 
CbmStar2019MonitorAlgo operator= (const CbmStar2019MonitorAlgo &)
 

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 fiSectorIndex
 
CbmStar2019TofParfUnpackPar
 Settings from parameter file.
 
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
 
Double_t fdTsStartTime
 
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.
 
UInt_t fuCurrSector
 Index of the DPB from which the MS currently unpacked is coming.
 
Int_t fiRunStartDateTimeSec
 Index of the sector 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.
 
ULong64_t fulStartTs
 Starting state book-keeping.
 
Double_t fdStartTime
 
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
 
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< UInt_t > fuNbMissmatchPattern
 
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 36 of file CbmStar2019MonitorAlgo.h.

Constructor & Destructor Documentation

◆ CbmStar2019MonitorAlgo() [1/2]

CbmStar2019MonitorAlgo::CbmStar2019MonitorAlgo ( )

Definition at line 42 of file CbmStar2019MonitorAlgo.cxx.

◆ ~CbmStar2019MonitorAlgo()

CbmStar2019MonitorAlgo::~CbmStar2019MonitorAlgo ( )

Clear buffers

Definition at line 167 of file CbmStar2019MonitorAlgo.cxx.

References fvmEpSupprBuffer.

◆ CbmStar2019MonitorAlgo() [2/2]

CbmStar2019MonitorAlgo::CbmStar2019MonitorAlgo ( const CbmStar2019MonitorAlgo & )
private

Member Function Documentation

◆ AddCanvasToVector()

◆ AddHistoToVector()

◆ AddMsComponentToList()

void CbmStar2019MonitorAlgo::AddMsComponentToList ( size_t component,
UShort_t usDetectorId )

Check for duplicates and ignore if it is the case

Add to list

Definition at line 316 of file CbmStar2019MonitorAlgo.cxx.

References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.

Referenced by CbmStar2019MonitorTask::AddMsComponentToList().

◆ 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 CbmStar2019MonitorAlgo::CreateHistograms ( )

Logarithmic bining

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

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 1244 of file CbmStar2019MonitorAlgo.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, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMessType, fhMsgCntEvo, fhMsgCntPerMsEvo, fhNbMissPatternPerMs, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhSysMessType, fiSectorIndex, fuHistoryHistoSize, fUnpackPar, 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, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, fvhTriggerRate, CbmStar2019TofPar::GetGdpbToSectorOffset(), 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 CbmStar2019MonitorTask::InitContainers().

◆ FillHistograms()

◆ Finish()

void CbmStar2019MonitorAlgo::Finish ( )
virtual

Printout Goodbye message and stats

Write Output histos

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 181 of file CbmStar2019MonitorAlgo.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()

TList * CbmStar2019MonitorAlgo::GetParList ( )
virtual

◆ GetVector()

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

Definition at line 96 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmStar2019MonitorAlgo::Init ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 174 of file CbmStar2019MonitorAlgo.cxx.

◆ InitContainers()

Bool_t CbmStar2019MonitorAlgo::InitContainers ( )
virtual

◆ InitParameters()

◆ operator=()

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

◆ ProcessEpoch()

◆ ProcessEpochCycle()

void CbmStar2019MonitorAlgo::ProcessEpochCycle ( uint64_t ulCycleData)
private

◆ ProcessEpSupprBuffer()

void CbmStar2019MonitorAlgo::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

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 652 of file CbmStar2019MonitorAlgo.cxx.

References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fuCurrDpbIdx, 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 CbmStar2019MonitorAlgo::ProcessError ( gdpbv100::FullMessage mess)
private

General error rates

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 821 of file CbmStar2019MonitorAlgo.cxx.

References fbIgnoreCriticalErrors, fdMsTime, fdStartTime, fhErrorCntEvo, fhErrorFractEvo, fhGet4ChanErrors, fhGet4MessType, fhLostEvtCntEvo, fhLostEvtFractEvo, fhMsgCntEvo, fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fuNrOfChannelsPerGet4, fvhGdpbGet4ChanErrors, fvhGdpbGet4MessType, 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, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbSysErrChanId(), gdpbv100::Message::getGdpbSysErrData(), gdpbv100::Message::getGdpbSysErrEdge(), and gdpbv100::Message::getGdpbSysErrUnused().

Referenced by ProcessEpSupprBuffer().

◆ ProcessHit()

void CbmStar2019MonitorAlgo::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

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 714 of file CbmStar2019MonitorAlgo.cxx.

References fbDebugMonitorMode, fdStartTime, fuCurrDpbIdx, fuGet4Id, fulCurrentMsIdx, fulCurrentTsIdx, fuMsIndex, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGet4, fuNrOfGet4PerFee, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, CbmStar2019TofPar::Get4ChanToPadiChan(), gdpbv100::FullMessage::GetFullTimeNs(), gdpbv100::Message::getGdpbHit32Tot(), gdpbv100::Message::getGdpbHitChanId(), gdpbv100::Message::getGdpbHitFullTs(), and CbmStar2019TofPar::GetGdpbToSectorOffset().

Referenced by ProcessEpSupprBuffer().

◆ ProcessMs()

Bool_t CbmStar2019MonitorAlgo::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

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 390 of file CbmStar2019MonitorAlgo.cxx.

References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fdMsTime, fdStartTime, fGdpbIdIndexMap, fhErrorFractEvo, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbMessType, fhGet4MessType, fhHitCntEvo, fhLostEvtFractEvo, fhMessType, fhMsgCntEvo, FillHistograms(), FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrSector, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackPar, fuNrOfGet4PerGdpb, fvbMaskedComponents, fvhGdpbGet4MessType, fvmEpSupprBuffer, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHitIs24b(), CbmStar2019TofPar::GetGdpbToSectorOffset(), 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 CbmStar2019MonitorAlgo::ProcessTs ( const fles::Timeslice & ts)
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

Initialize start TS for evolution plots

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 330 of file CbmStar2019MonitorAlgo.cxx.

References fbDebugMonitorMode, CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fhNbMissPatternPerMs, FillHistograms(), fulCurrentTsIdx, fulStartTs, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fuNbMissmatchPattern, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, fUnpackPar, fuNrOfGdpbs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, CbmStar2019TofPar::GetGdpbToSectorOffset(), and ProcessMs().

Referenced by CbmStar2019MonitorTask::DoUnpack().

◆ ProcessTs() [2/2]

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

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 52 of file CbmStar2019MonitorAlgo.h.

References ProcessTs().

Referenced by ProcessTs().

◆ ReInitContainers()

Bool_t CbmStar2019MonitorAlgo::ReInitContainers ( )
virtual

◆ Reset()

void CbmStar2019MonitorAlgo::Reset ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 180 of file CbmStar2019MonitorAlgo.cxx.

◆ ResetEvolutionHistograms()

◆ ResetHistograms()

◆ SaveLatencyHistograms()

Bool_t CbmStar2019MonitorAlgo::SaveLatencyHistograms ( TString fsHistoFileName)

(Re-)Create ROOT file to store the histos

Make sure we end up in chosen folder => for now write everything in the root of the file!!

Make sure we end up in chosen folder => for now write everything in the root of the file!!

Restore original directory position

Definition at line 2112 of file CbmStar2019MonitorAlgo.cxx.

References fbDebugMonitorMode, fhGdpbEpochFlags, fhPatternEnable, fhPatternMissmatch, fuNrOfGdpbs, and fvhGdpbGet4MessType.

Referenced by CbmStar2019MonitorTask::SaveLatencyHistograms().

◆ SetDebugMonitorMode()

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

Definition at line 63 of file CbmStar2019MonitorAlgo.h.

References fbDebugMonitorMode.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetHistoryHistoSize()

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

Definition at line 65 of file CbmStar2019MonitorAlgo.h.

References fuHistoryHistoSize.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetIgnoreCriticalErrors()

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

Definition at line 64 of file CbmStar2019MonitorAlgo.h.

References fbIgnoreCriticalErrors.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ 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 CbmStar2019MonitorAlgo::SetPulserTotLimits ( UInt_t uMin,
UInt_t uMax )
inline

Definition at line 66 of file CbmStar2019MonitorAlgo.h.

References fuMaxTotPulser, and fuMinTotPulser.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetSectorIndex()

void CbmStar2019MonitorAlgo::SetSectorIndex ( Int_t iSector = -1)
inline

Definition at line 72 of file CbmStar2019MonitorAlgo.h.

References fiSectorIndex.

Referenced by CbmStar2019MonitorTask::InitContainers().

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmStar2019MonitorAlgo::fbDebugMonitorMode
private

◆ fbEpochSinceLastHit

Bool_t CbmStar2019MonitorAlgo::fbEpochSinceLastHit
private

Duplicate Hits detection.

Definition at line 148 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessEpoch().

◆ fbIgnoreCriticalErrors

Bool_t CbmStar2019MonitorAlgo::fbIgnoreCriticalErrors
private

Switch ON the filling of a additional set of histograms.

Definition at line 77 of file CbmStar2019MonitorAlgo.h.

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

◆ fbIgnoreOverlapMs

◆ fcStarTrigCmdDaqVsTrig

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigCmdDaqVsTrig
private

Definition at line 234 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigGdpbTsEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigGdpbTsEvo
private

Definition at line 236 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTriggerRate

TCanvas* CbmStar2019MonitorAlgo::fcStarTriggerRate
private

Definition at line 233 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTokenEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigStarTokenEvo
private

Definition at line 235 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTsEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigStarTsEvo
private

Definition at line 237 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigTokenType

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigTokenType
private

Definition at line 232 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcSummary

TCanvas* CbmStar2019MonitorAlgo::fcSummary
private

Canvases.

Definition at line 229 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcSummaryGdpb

TCanvas* CbmStar2019MonitorAlgo::fcSummaryGdpb
private

Definition at line 230 of file CbmStar2019MonitorAlgo.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 CbmStar2019MonitorAlgo::fdMsTime
private

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

Definition at line 109 of file CbmStar2019MonitorAlgo.h.

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

◆ fdStartTime

Double_t CbmStar2019MonitorAlgo::fdStartTime
private

Index of first TS, used as reference for evolution plots

Definition at line 131 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessEpoch(), ProcessError(), ProcessHit(), ProcessMs(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().

◆ fdStartTimeMsSz

Double_t CbmStar2019MonitorAlgo::fdStartTimeMsSz
private

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

Definition at line 132 of file CbmStar2019MonitorAlgo.h.

◆ fdTsCoreSizeInNs

◆ fdTsFullSizeInNs

◆ fdTsStartTime

Double_t CbmStar2019MonitorAlgo::fdTsStartTime
private

Definition at line 107 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessTs().

◆ fdTsStopTimeCore

Double_t CbmStar2019MonitorAlgo::fdTsStopTimeCore
private

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

Definition at line 108 of file CbmStar2019MonitorAlgo.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> CbmStar2019MonitorAlgo::fGdpbIdIndexMap
private

Total number of GDPBs in the system.

Definition at line 85 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessMs().

◆ fhErrorCntEvo

TH1* CbmStar2019MonitorAlgo::fhErrorCntEvo
private

◆ fhErrorCntPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhErrorCntPerMsEvo
private

◆ fhErrorFractEvo

TProfile* CbmStar2019MonitorAlgo::fhErrorFractEvo
private

◆ fhErrorFractPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhErrorFractPerMsEvo
private

◆ fhGdpbAsicSpiCounts

TH2* CbmStar2019MonitorAlgo::fhGdpbAsicSpiCounts
private

Definition at line 165 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbEndMsBufferNotEmpty

TH1* CbmStar2019MonitorAlgo::fhGdpbEndMsBufferNotEmpty
private

Definition at line 173 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbEndMsDataLost

TH2* CbmStar2019MonitorAlgo::fhGdpbEndMsDataLost
private

Definition at line 174 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbEpochFlags

TH2* CbmStar2019MonitorAlgo::fhGdpbEpochFlags
private

◆ fhGdpbEpochMissEvo

TH2* CbmStar2019MonitorAlgo::fhGdpbEpochMissEvo
private

◆ fhGdpbEpochSyncEvo

TH2* CbmStar2019MonitorAlgo::fhGdpbEpochSyncEvo
private

◆ fhGdpbMessType

TH2* CbmStar2019MonitorAlgo::fhGdpbMessType
private

Per Gdpb

Definition at line 167 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbSysMessPattType

TH2* CbmStar2019MonitorAlgo::fhGdpbSysMessPattType
private

Definition at line 169 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbSysMessType

TH2* CbmStar2019MonitorAlgo::fhGdpbSysMessType
private

Definition at line 168 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4ChanErrors

TH2* CbmStar2019MonitorAlgo::fhGet4ChanErrors
private

Definition at line 163 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4ChanScm

TH2* CbmStar2019MonitorAlgo::fhGet4ChanScm
private

Definition at line 162 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4EpochFlags

TH2* CbmStar2019MonitorAlgo::fhGet4EpochFlags
private

Definition at line 164 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4MessType

TH2* CbmStar2019MonitorAlgo::fhGet4MessType
private

◆ fhHitCntEvo

TH1* CbmStar2019MonitorAlgo::fhHitCntEvo
private

◆ fhHitCntPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhHitCntPerMsEvo
private

◆ fhLostEvtCntEvo

TH1* CbmStar2019MonitorAlgo::fhLostEvtCntEvo
private

◆ fhLostEvtCntPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhLostEvtCntPerMsEvo
private

◆ fhLostEvtFractEvo

TProfile* CbmStar2019MonitorAlgo::fhLostEvtFractEvo
private

◆ fhLostEvtFractPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhLostEvtFractPerMsEvo
private

◆ fhMessType

TH1* CbmStar2019MonitorAlgo::fhMessType
private

Size in seconds of the evolution histograms.

Histograms Global Counts In System

Definition at line 158 of file CbmStar2019MonitorAlgo.h.

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

◆ fhMsgCntEvo

TH1* CbmStar2019MonitorAlgo::fhMsgCntEvo
private

◆ fhMsgCntPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhMsgCntPerMsEvo
private

Definition at line 186 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fhNbMissPatternPerMs

TH2* CbmStar2019MonitorAlgo::fhNbMissPatternPerMs
private

Definition at line 201 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternEnable

TH2* CbmStar2019MonitorAlgo::fhPatternEnable
private

Debug histo, only in DebugMonitorMode.

Definition at line 203 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternMissmatch

TH2* CbmStar2019MonitorAlgo::fhPatternMissmatch
private

Debug histo, only in DebugMonitorMode.

Definition at line 202 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternResync

TH2* CbmStar2019MonitorAlgo::fhPatternResync
private

Debug histo, only in DebugMonitorMode.

Definition at line 204 of file CbmStar2019MonitorAlgo.h.

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

◆ fhSysMessType

TH1* CbmStar2019MonitorAlgo::fhSysMessType
private

Definition at line 159 of file CbmStar2019MonitorAlgo.h.

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

◆ fiBinSizeDatePlots

Int_t CbmStar2019MonitorAlgo::fiBinSizeDatePlots
private

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

Definition at line 118 of file CbmStar2019MonitorAlgo.h.

◆ fiRunStartDateTimeSec

Int_t CbmStar2019MonitorAlgo::fiRunStartDateTimeSec
private

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

Definition at line 117 of file CbmStar2019MonitorAlgo.h.

◆ fiSectorIndex

Int_t CbmStar2019MonitorAlgo::fiSectorIndex
private

Definition at line 79 of file CbmStar2019MonitorAlgo.h.

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

◆ fmLastHit

gdpbv100::Message CbmStar2019MonitorAlgo::fmLastHit
private

Definition at line 150 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessEpoch().

◆ fmMsgCounter

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

Index of current MS within the TS Current data properties

Definition at line 112 of file CbmStar2019MonitorAlgo.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 CbmStar2019MonitorAlgo::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 134 of file CbmStar2019MonitorAlgo.h.

◆ fuCurrDpbId

UInt_t CbmStar2019MonitorAlgo::fuCurrDpbId
private

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

Definition at line 114 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ fuCurrDpbIdx

UInt_t CbmStar2019MonitorAlgo::fuCurrDpbIdx
private

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

Definition at line 115 of file CbmStar2019MonitorAlgo.h.

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

◆ fuCurrentEquipmentId

UInt_t CbmStar2019MonitorAlgo::fuCurrentEquipmentId
private

Definition at line 113 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ fuCurrSector

UInt_t CbmStar2019MonitorAlgo::fuCurrSector
private

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

Definition at line 116 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessEpoch(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), and ProcessSysMess().

◆ fuDuplicatesCount

UInt_t CbmStar2019MonitorAlgo::fuDuplicatesCount
private

Definition at line 149 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessEpoch().

◆ fuGet4Id

UInt_t CbmStar2019MonitorAlgo::fuGet4Id
private

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

Definition at line 119 of file CbmStar2019MonitorAlgo.h.

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

◆ fuGet4Nr

UInt_t CbmStar2019MonitorAlgo::fuGet4Nr
private

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

Definition at line 120 of file CbmStar2019MonitorAlgo.h.

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

◆ fuHistoryHistoSize

UInt_t CbmStar2019MonitorAlgo::fuHistoryHistoSize
private

Histograms related variables.

Definition at line 153 of file CbmStar2019MonitorAlgo.h.

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

◆ fulCurrentMsIdx

ULong64_t CbmStar2019MonitorAlgo::fulCurrentMsIdx
private

◆ fulCurrentTsIdx

ULong64_t CbmStar2019MonitorAlgo::fulCurrentTsIdx
private

Running indices TS/MS info

Definition at line 105 of file CbmStar2019MonitorAlgo.h.

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

◆ fulStartTs

ULong64_t CbmStar2019MonitorAlgo::fulStartTs
private

Starting state book-keeping.

Definition at line 130 of file CbmStar2019MonitorAlgo.h.

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

◆ fuMaxTotPulser

UInt_t CbmStar2019MonitorAlgo::fuMaxTotPulser
private

Definition at line 96 of file CbmStar2019MonitorAlgo.h.

Referenced by SetPulserTotLimits().

◆ fuMinTotPulser

UInt_t CbmStar2019MonitorAlgo::fuMinTotPulser
private

Number of channels per GDPB.

User settings: Data correction parameters

Definition at line 95 of file CbmStar2019MonitorAlgo.h.

Referenced by SetPulserTotLimits().

◆ fuMsIndex

UInt_t CbmStar2019MonitorAlgo::fuMsIndex
private

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

Definition at line 110 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNbCoreMsPerTs

◆ fuNbMissmatchPattern

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

Pattern Messages Pattern messages per gDPB

Definition at line 200 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNbMsLoop

◆ fuNbOverMsPerTs

◆ fUnpackPar

CbmStar2019TofPar* CbmStar2019MonitorAlgo::fUnpackPar
private

◆ fuNrOfChannelsPerFee

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerFee
private

Number of channels in each GET4.

Definition at line 89 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNrOfChannelsPerGdpb

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerGdpb
private

Number of GET4s per GDPB.

Definition at line 92 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfChannelsPerGet4

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerGet4
private

Number of GET4s per FEE.

Definition at line 88 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNrOfFeePerGdpb

UInt_t CbmStar2019MonitorAlgo::fuNrOfFeePerGdpb
private

gDPB ID to index map

Definition at line 86 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfGdpbs

UInt_t CbmStar2019MonitorAlgo::fuNrOfGdpbs
private

◆ fuNrOfGet4

UInt_t CbmStar2019MonitorAlgo::fuNrOfGet4
private

Number of channels in each FEE.

Definition at line 90 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfGet4PerFee

UInt_t CbmStar2019MonitorAlgo::fuNrOfGet4PerFee
private

Number of FEBs per GDPB.

Definition at line 87 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessHit().

◆ fuNrOfGet4PerGdpb

UInt_t CbmStar2019MonitorAlgo::fuNrOfGet4PerGdpb
private

Total number of Get4 chips in the system.

Definition at line 91 of file CbmStar2019MonitorAlgo.h.

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

◆ fvbMaskedComponents

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

If ON not printout at all for critical errors.

Definition at line 78 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ fvcSumGdpbGet4

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

Definition at line 231 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fvhCmdDaqVsTrig

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

Definition at line 222 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbEnableEvoPerTs

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

Debug histo, only in DebugMonitorMode.

Definition at line 215 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbGet4ChanErrors

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

Definition at line 178 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbGet4ChanScm

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

Definition at line 177 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbGet4MessType

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

◆ fvhGdpbMissmatchEnaEvoPerTs

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

Debug histo, only in DebugMonitorMode.

Definition at line 214 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbMissmatchEvoPerTs

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

Exclude from dictionnary.

Definition at line 213 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbPatternEnableEvo

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

Debug histo, only in DebugMonitorMode.

Definition at line 207 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbPatternMissmatchEvo

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

Debug histo, only in DebugMonitorMode Per MS in gDPB

Definition at line 206 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbPatternResyncEvo

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

Debug histo, only in DebugMonitorMode.

Definition at line 208 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbResyncEnaEvoPerTs

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

Debug histo, only in DebugMonitorMode.

Definition at line 217 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbResyncEvoPerTs

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

Debug histo, only in DebugMonitorMode.

Definition at line 216 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbStateEvoPerTs

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

Debug histo, only in DebugMonitorMode.

Definition at line 218 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhRawCt_gDPB

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

Debug histo, only in DebugMonitorMode.

Definition at line 194 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhRawFt_gDPB

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

Raw data per channel

Definition at line 193 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhRemapChCount_gDPB

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

Definition at line 196 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhRemapChRate_gDPB

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

◆ fvhRemapTot_gDPB

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

Debug histo, only in DebugMonitorMode.

Definition at line 195 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhStarTokenEvo

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

◆ fvhStarTrigGdpbTsEvo

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

◆ fvhStarTrigStarTsEvo

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

◆ fvhTokenMsgType

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

Debug histo, only in DebugMonitorMode STAR TRIGGER detection

Definition at line 220 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhTriggerRate

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

◆ fvmEpSupprBuffer

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

Epoch + Epoch Cycle.

Buffer for suppressed epoch processing

Definition at line 127 of file CbmStar2019MonitorAlgo.h.

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

◆ 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> CbmStar2019MonitorAlgo::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 122 of file CbmStar2019MonitorAlgo.h.

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

◆ fvulCurrentEpochCycle

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

Current epoch index, per DPB.

Definition at line 123 of file CbmStar2019MonitorAlgo.h.

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

◆ fvulCurrentEpochFull

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

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

Definition at line 124 of file CbmStar2019MonitorAlgo.h.

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

◆ fvulGdpbTsFullLast

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

Definition at line 141 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulGdpbTsLsb

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

Definition at line 138 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulGdpbTsMsb

std::vector<ULong64_t> CbmStar2019MonitorAlgo::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 137 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsFullLast

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

Definition at line 142 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMid

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

Definition at line 140 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMsb

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

Definition at line 139 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarDaqCmdLast

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

Definition at line 144 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTokenLast

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

Definition at line 143 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTrigCmdLast

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

Definition at line 145 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvvbGdpbLastEnablePattern

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

Exclude from dictionnary.

Definition at line 211 of file CbmStar2019MonitorAlgo.h.

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

◆ fvvbGdpbLastMissmatchPattern

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

Debug histo, only in DebugMonitorMode State Per TS

Definition at line 210 of file CbmStar2019MonitorAlgo.h.

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

◆ fvvbGdpbLastResyncPattern

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

Exclude from dictionnary.

Definition at line 212 of file CbmStar2019MonitorAlgo.h.

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

◆ kiMaxNbFlibLinks

const Int_t CbmStar2019MonitorAlgo::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 99 of file CbmStar2019MonitorAlgo.h.

◆ kuBytesPerMessage

const UInt_t CbmStar2019MonitorAlgo::kuBytesPerMessage = 8
staticprivate

Definition at line 100 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ kuNbChanDiamond

const UInt_t CbmStar2019MonitorAlgo::kuNbChanDiamond = 8
staticprivate

Definition at line 101 of file CbmStar2019MonitorAlgo.h.


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