CbmRoot
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. More...
 
std::vector< std::pair< TNamed *, std::string > > GetHistoVector ()
 
void AddCanvasToVector (TCanvas *pointer, std::string sFolder="")
 
std::vector< std::pair< TCanvas *, std::string > > GetCanvasVector ()
 
void ClearVector ()
 For unpacker algos. More...
 
std::vector< CbmTofDigi > & GetVector ()
 
void ClearErrorVector ()
 
std::vector< CbmErrorMessage > & GetErrorVector ()
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 Control flags. More...
 

Protected Member Functions

Bool_t CheckParameterValidity (std::string, std::string)
 Map of parameter name and type. More...
 

Protected Attributes

TList * fParCList
 Parameter management. More...
 
std::vector< size_t > fvMsComponentsList
 Parameters related to FLES containers. More...
 
size_t fuNbCoreMsPerTs
 
size_t fuNbOverMsPerTs
 
size_t fuNbMsLoop
 
Bool_t fbIgnoreOverlapMs
 
Double_t fdMsSizeInNs
 /‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/ More...
 
Double_t fdTsCoreSizeInNs
 Size of a single MS, [nanoseconds]. More...
 
Double_t fdTsFullSizeInNs
 Total size of the core MS in a TS, [nanoseconds]. More...
 
std::vector< std::pair< TNamed *, std::string > > fvpAllHistoPointers
 Total size of the core MS in a TS, [nanoseconds]. More...
 
std::vector< std::pair< TCanvas *, std::string > > fvpAllCanvasPointers
 Vector of pointers to histograms + optional folder name. More...
 
std::vector< CbmTofDigifDigiVect
 Vector of pointers to canvases + optional folder name. More...
 
std::vector< CbmErrorMessagefErrVect
 
std::map< std::string, std::string > fParameterMap
 For any algo. More...
 

Private Member Functions

void ProcessEpochCycle (uint64_t ulCycleData)
 
void ProcessEpoch (gdpbv100::Message mess)
 
void ProcessEpSupprBuffer ()
 
void ProcessHit (gdpbv100::FullMessage mess)
 
void ProcessSysMess (gdpbv100::FullMessage mess)
 
void ProcessError (gdpbv100::FullMessage mess)
 
void ProcessPattern (gdpbv100::Message mess)
 
void ProcessSlowCtrl (gdpbv100::Message mess)
 
void ProcessStarTrig (gdpbv100::Message mess)
 
 CbmStar2019MonitorAlgo (const CbmStar2019MonitorAlgo &)
 
CbmStar2019MonitorAlgo operator= (const CbmStar2019MonitorAlgo &)
 

Private Attributes

Bool_t fbDebugMonitorMode
 Control flags. More...
 
Bool_t fbIgnoreCriticalErrors
 Switch ON the filling of a additional set of histograms. More...
 
std::vector< Bool_t > fvbMaskedComponents
 If ON not printout at all for critical errors. More...
 
Int_t fiSectorIndex
 
CbmStar2019TofParfUnpackPar
 Settings from parameter file. More...
 
UInt_t fuNrOfGdpbs
 
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
 Total number of GDPBs in the system. More...
 
UInt_t fuNrOfFeePerGdpb
 gDPB ID to index map More...
 
UInt_t fuNrOfGet4PerFee
 Number of FEBs per GDPB. More...
 
UInt_t fuNrOfChannelsPerGet4
 Number of GET4s per FEE. More...
 
UInt_t fuNrOfChannelsPerFee
 Number of channels in each GET4. More...
 
UInt_t fuNrOfGet4
 Number of channels in each FEE. More...
 
UInt_t fuNrOfGet4PerGdpb
 Total number of Get4 chips in the system. More...
 
UInt_t fuNrOfChannelsPerGdpb
 Number of GET4s per GDPB. More...
 
UInt_t fuMinTotPulser
 Number of channels per GDPB. More...
 
UInt_t fuMaxTotPulser
 
ULong64_t fulCurrentTsIdx
 
ULong64_t fulCurrentMsIdx
 
Double_t fdTsStartTime
 
Double_t fdTsStopTimeCore
 Time in ns of current TS from the index of the first MS first component. More...
 
Double_t fdMsTime
 End Time in ns of current TS Core from the index of the first MS first component. More...
 
UInt_t fuMsIndex
 Start Time in ns of current MS from its index field in header. More...
 
std::map< gdpbv100::MessageTypes, UInt_t > fmMsgCounter
 
UInt_t fuCurrentEquipmentId
 
UInt_t fuCurrDpbId
 Current equipment ID, tells from which DPB the current MS is originating. More...
 
UInt_t fuCurrDpbIdx
 Temp holder until Current equipment ID is properly filled in MS. More...
 
UInt_t fuCurrSector
 Index of the DPB from which the MS currently unpacked is coming. More...
 
Int_t fiRunStartDateTimeSec
 Index of the sector from which the MS currently unpacked is coming. More...
 
Int_t fiBinSizeDatePlots
 Start of run time since "epoch" in s, for the plots with date as X axis. More...
 
UInt_t fuGet4Id
 Bin size in s for the plots with date as X axis. More...
 
UInt_t fuGet4Nr
 running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message More...
 
std::vector< ULong64_t > fvulCurrentEpoch
 Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. More...
 
std::vector< ULong64_t > fvulCurrentEpochCycle
 Current epoch index, per DPB. More...
 
std::vector< ULong64_t > fvulCurrentEpochFull
 Epoch cycle from the Ms Start message and Epoch counter flip. More...
 
std::vector< gdpbv100::MessagefvmEpSupprBuffer
 Epoch + Epoch Cycle. More...
 
ULong64_t fulStartTs
 Starting state book-keeping. More...
 
Double_t fdStartTime
 
Double_t fdStartTimeMsSz
 
std::chrono::steady_clock::time_point ftStartTimeUnix
 
std::vector< ULong64_t > fvulGdpbTsMsb
 STAR TRIGGER detection. More...
 
std::vector< ULong64_t > fvulGdpbTsLsb
 
std::vector< ULong64_t > fvulStarTsMsb
 
std::vector< ULong64_t > fvulStarTsMid
 
std::vector< ULong64_t > fvulGdpbTsFullLast
 
std::vector< ULong64_t > fvulStarTsFullLast
 
std::vector< UInt_t > fvuStarTokenLast
 
std::vector< UInt_t > fvuStarDaqCmdLast
 
std::vector< UInt_t > fvuStarTrigCmdLast
 
Bool_t fbEpochSinceLastHit
 Duplicate Hits detection. More...
 
UInt_t fuDuplicatesCount
 
gdpbv100::Message fmLastHit
 
UInt_t fuHistoryHistoSize
 Histograms related variables. More...
 
TH1 * fhMessType
 Size in seconds of the evolution histograms. More...
 
TH1 * fhSysMessType
 
TH2 * fhGet4MessType
 
TH2 * fhGet4ChanScm
 
TH2 * fhGet4ChanErrors
 
TH2 * fhGet4EpochFlags
 
TH2 * fhGdpbAsicSpiCounts
 
TH2 * fhGdpbMessType
 
TH2 * fhGdpbSysMessType
 
TH2 * fhGdpbSysMessPattType
 
TH2 * fhGdpbEpochFlags
 
TH2 * fhGdpbEpochSyncEvo
 
TH2 * fhGdpbEpochMissEvo
 
TH1 * fhGdpbEndMsBufferNotEmpty
 
TH2 * fhGdpbEndMsDataLost
 
std::vector< TH2 * > fvhGdpbGet4MessType
 
std::vector< TH2 * > fvhGdpbGet4ChanScm
 
std::vector< TH2 * > fvhGdpbGet4ChanErrors
 
TH1 * fhMsgCntEvo
 
TH1 * fhHitCntEvo
 
TH1 * fhErrorCntEvo
 
TH1 * fhLostEvtCntEvo
 
TProfile * fhErrorFractEvo
 
TProfile * fhLostEvtFractEvo
 
TH2 * fhMsgCntPerMsEvo
 
TH2 * fhHitCntPerMsEvo
 
TH2 * fhErrorCntPerMsEvo
 
TH2 * fhLostEvtCntPerMsEvo
 
TH2 * fhErrorFractPerMsEvo
 
TH2 * fhLostEvtFractPerMsEvo
 
std::vector< TH2 * > fvhRawFt_gDPB
 
std::vector< TH2 * > fvhRawCt_gDPB
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhRemapTot_gDPB
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH1 * > fvhRemapChCount_gDPB
 
std::vector< TH2 * > fvhRemapChRate_gDPB
 
std::vector< UInt_t > fuNbMissmatchPattern
 
TH2 * fhNbMissPatternPerMs
 
TH2 * fhPatternMissmatch
 Debug histo, only in DebugMonitorMode. More...
 
TH2 * fhPatternEnable
 Debug histo, only in DebugMonitorMode. More...
 
TH2 * fhPatternResync
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbPatternMissmatchEvo
 
std::vector< TH2 * > fvhGdpbPatternEnableEvo
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbPatternResyncEvo
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< std::vector< bool > > fvvbGdpbLastMissmatchPattern
 
std::vector< std::vector< bool > > fvvbGdpbLastEnablePattern
 Exclude from dictionnary. More...
 
std::vector< std::vector< bool > > fvvbGdpbLastResyncPattern
 Exclude from dictionnary. More...
 
std::vector< TH2 * > fvhGdpbMissmatchEvoPerTs
 Exclude from dictionnary. More...
 
std::vector< TH2 * > fvhGdpbMissmatchEnaEvoPerTs
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbEnableEvoPerTs
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbResyncEvoPerTs
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbResyncEnaEvoPerTs
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH2 * > fvhGdpbStateEvoPerTs
 Debug histo, only in DebugMonitorMode. More...
 
std::vector< TH1 * > fvhTokenMsgType
 
std::vector< TH1 * > fvhTriggerRate
 
std::vector< TH2 * > fvhCmdDaqVsTrig
 
std::vector< TH2 * > fvhStarTokenEvo
 
std::vector< TProfile * > fvhStarTrigGdpbTsEvo
 
std::vector< TProfile * > fvhStarTrigStarTsEvo
 
TCanvas * fcSummary
 Canvases. More...
 
TCanvas * fcSummaryGdpb
 
std::vector< TCanvas * > fvcSumGdpbGet4
 
TCanvas * fcStarTrigTokenType
 
TCanvas * fcStarTriggerRate
 
TCanvas * fcStarTrigCmdDaqVsTrig
 
TCanvas * fcStarTrigStarTokenEvo
 
TCanvas * fcStarTrigGdpbTsEvo
 
TCanvas * fcStarTrigStarTsEvo
 

Static Private Attributes

static const Int_t kiMaxNbFlibLinks = 32
 Constants. More...
 
static const UInt_t kuBytesPerMessage = 8
 
static const UInt_t kuNbChanDiamond = 8
 

Detailed Description

Definition at line 31 of file CbmStar2019MonitorAlgo.h.

Constructor & Destructor Documentation

◆ CbmStar2019MonitorAlgo() [1/2]

CbmStar2019MonitorAlgo::CbmStar2019MonitorAlgo ( )

Definition at line 37 of file CbmStar2019MonitorAlgo.cxx.

◆ ~CbmStar2019MonitorAlgo()

CbmStar2019MonitorAlgo::~CbmStar2019MonitorAlgo ( )

Clear buffers

Definition at line 160 of file CbmStar2019MonitorAlgo.cxx.

References fvmEpSupprBuffer.

◆ CbmStar2019MonitorAlgo() [2/2]

CbmStar2019MonitorAlgo::CbmStar2019MonitorAlgo ( const CbmStar2019MonitorAlgo )
private

Member Function Documentation

◆ AddCanvasToVector()

void CbmStar2019Algo< CbmTofDigi >::AddCanvasToVector ( TCanvas *  pointer,
std::string  sFolder = "" 
)
inlineinherited

Definition at line 87 of file CbmStar2019Algo.h.

◆ AddHistoToVector()

void CbmStar2019Algo< CbmTofDigi >::AddHistoToVector ( TNamed *  pointer,
std::string  sFolder = "" 
)
inlineinherited

For monitor algos.

Definition at line 80 of file CbmStar2019Algo.h.

◆ 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 304 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 147 of file CbmStar2019Algo.h.

◆ ClearErrorVector()

void CbmStar2019Algo< CbmTofDigi >::ClearErrorVector ( )
inlineinherited

Definition at line 98 of file CbmStar2019Algo.h.

◆ ClearVector()

void CbmStar2019Algo< CbmTofDigi >::ClearVector ( )
inlineinherited

For unpacker algos.

Definition at line 96 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 1308 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 172 of file CbmStar2019MonitorAlgo.cxx.

◆ GetCanvasVector()

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

Definition at line 91 of file CbmStar2019Algo.h.

◆ GetErrorVector()

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

Definition at line 99 of file CbmStar2019Algo.h.

◆ GetHistoVector()

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

Definition at line 84 of file CbmStar2019Algo.h.

◆ GetParameter()

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

Definition at line 75 of file CbmStar2019Algo.h.

◆ GetParList()

TList * CbmStar2019MonitorAlgo::GetParList ( )
virtual

◆ GetVector()

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

Definition at line 97 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmStar2019MonitorAlgo::Init ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 166 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 656 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 838 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 721 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 382 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 319 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(), and ProcessTs().

◆ ProcessTs() [2/2]

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

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 47 of file CbmStar2019MonitorAlgo.h.

References ProcessTs().

◆ ReInitContainers()

Bool_t CbmStar2019MonitorAlgo::ReInitContainers ( )
virtual

◆ Reset()

void CbmStar2019MonitorAlgo::Reset ( )
virtual

Implements CbmStar2019Algo< CbmTofDigi >.

Definition at line 171 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 2532 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 60 of file CbmStar2019MonitorAlgo.h.

References fbDebugMonitorMode.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetHistoryHistoSize()

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

Definition at line 66 of file CbmStar2019MonitorAlgo.h.

References fuHistoryHistoSize.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetIgnoreCriticalErrors()

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

Definition at line 63 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 102 of file CbmStar2019Algo.h.

◆ SetParameter()

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

Definition at line 74 of file CbmStar2019Algo.h.

◆ SetPulserTotLimits()

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

Definition at line 69 of file CbmStar2019MonitorAlgo.h.

References fuMaxTotPulser, and fuMinTotPulser.

Referenced by CbmStar2019MonitorTask::InitContainers().

◆ SetSectorIndex()

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

Definition at line 74 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 166 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 81 of file CbmStar2019MonitorAlgo.h.

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

◆ fbIgnoreOverlapMs

Bool_t CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs
protectedinherited

Definition at line 116 of file CbmStar2019Algo.h.

◆ fcStarTrigCmdDaqVsTrig

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigCmdDaqVsTrig
private

Definition at line 264 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigGdpbTsEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigGdpbTsEvo
private

Definition at line 266 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTriggerRate

TCanvas* CbmStar2019MonitorAlgo::fcStarTriggerRate
private

Definition at line 263 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTokenEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigStarTokenEvo
private

Definition at line 265 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigStarTsEvo

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigStarTsEvo
private

Definition at line 267 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcStarTrigTokenType

TCanvas* CbmStar2019MonitorAlgo::fcStarTrigTokenType
private

Definition at line 262 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcSummary

TCanvas* CbmStar2019MonitorAlgo::fcSummary
private

Canvases.

Definition at line 259 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fcSummaryGdpb

TCanvas* CbmStar2019MonitorAlgo::fcSummaryGdpb
private

Definition at line 260 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 140 of file CbmStar2019Algo.h.

◆ fdMsSizeInNs

Double_t CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs
protectedinherited

/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/

Definition at line 117 of file CbmStar2019Algo.h.

◆ 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 116 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 148 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 150 of file CbmStar2019MonitorAlgo.h.

◆ fdTsCoreSizeInNs

Double_t CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs
protectedinherited

Size of a single MS, [nanoseconds].

Definition at line 119 of file CbmStar2019Algo.h.

◆ fdTsFullSizeInNs

Double_t CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs
protectedinherited

Total size of the core MS in a TS, [nanoseconds].

Definition at line 121 of file CbmStar2019Algo.h.

◆ fdTsStartTime

Double_t CbmStar2019MonitorAlgo::fdTsStartTime
private

Definition at line 112 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 114 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessTs().

◆ fErrVect

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

Definition at line 141 of file CbmStar2019Algo.h.

◆ fGdpbIdIndexMap

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

Total number of GDPBs in the system.

Definition at line 89 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 183 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbEndMsBufferNotEmpty

TH1* CbmStar2019MonitorAlgo::fhGdpbEndMsBufferNotEmpty
private

Definition at line 191 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbEndMsDataLost

TH2* CbmStar2019MonitorAlgo::fhGdpbEndMsDataLost
private

Definition at line 192 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 185 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbSysMessPattType

TH2* CbmStar2019MonitorAlgo::fhGdpbSysMessPattType
private

Definition at line 187 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGdpbSysMessType

TH2* CbmStar2019MonitorAlgo::fhGdpbSysMessType
private

Definition at line 186 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4ChanErrors

TH2* CbmStar2019MonitorAlgo::fhGet4ChanErrors
private

Definition at line 181 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4ChanScm

TH2* CbmStar2019MonitorAlgo::fhGet4ChanScm
private

Definition at line 180 of file CbmStar2019MonitorAlgo.h.

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

◆ fhGet4EpochFlags

TH2* CbmStar2019MonitorAlgo::fhGet4EpochFlags
private

Definition at line 182 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 176 of file CbmStar2019MonitorAlgo.h.

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

◆ fhMsgCntEvo

TH1* CbmStar2019MonitorAlgo::fhMsgCntEvo
private

◆ fhMsgCntPerMsEvo

TH2* CbmStar2019MonitorAlgo::fhMsgCntPerMsEvo
private

Definition at line 204 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fhNbMissPatternPerMs

TH2* CbmStar2019MonitorAlgo::fhNbMissPatternPerMs
private

Definition at line 219 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternEnable

TH2* CbmStar2019MonitorAlgo::fhPatternEnable
private

Debug histo, only in DebugMonitorMode.

Definition at line 221 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternMissmatch

TH2* CbmStar2019MonitorAlgo::fhPatternMissmatch
private

Debug histo, only in DebugMonitorMode.

Definition at line 220 of file CbmStar2019MonitorAlgo.h.

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

◆ fhPatternResync

TH2* CbmStar2019MonitorAlgo::fhPatternResync
private

Debug histo, only in DebugMonitorMode.

Definition at line 222 of file CbmStar2019MonitorAlgo.h.

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

◆ fhSysMessType

TH1* CbmStar2019MonitorAlgo::fhSysMessType
private

Definition at line 177 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 130 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 129 of file CbmStar2019MonitorAlgo.h.

◆ fiSectorIndex

Int_t CbmStar2019MonitorAlgo::fiSectorIndex
private

Definition at line 83 of file CbmStar2019MonitorAlgo.h.

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

◆ fmLastHit

gdpbv100::Message CbmStar2019MonitorAlgo::fmLastHit
private

Definition at line 168 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 119 of file CbmStar2019MonitorAlgo.h.

◆ fParameterMap

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

For any algo.

Definition at line 145 of file CbmStar2019Algo.h.

◆ fParCList

TList* CbmStar2019Algo< CbmTofDigi >::fParCList
protectedinherited

Parameter management.

Definition at line 108 of file CbmStar2019Algo.h.

◆ ftStartTimeUnix

std::chrono::steady_clock::time_point CbmStar2019MonitorAlgo::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 152 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 123 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 125 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 121 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 127 of file CbmStar2019MonitorAlgo.h.

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

◆ fuDuplicatesCount

UInt_t CbmStar2019MonitorAlgo::fuDuplicatesCount
private

Definition at line 167 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 132 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 134 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 171 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 109 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 146 of file CbmStar2019MonitorAlgo.h.

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

◆ fuMaxTotPulser

UInt_t CbmStar2019MonitorAlgo::fuMaxTotPulser
private

Definition at line 100 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 99 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 117 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNbCoreMsPerTs

size_t CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs
protectedinherited

Definition at line 112 of file CbmStar2019Algo.h.

◆ fuNbMissmatchPattern

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

Pattern Messages Pattern messages per gDPB

Definition at line 218 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNbMsLoop

size_t CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop
protectedinherited

Definition at line 114 of file CbmStar2019Algo.h.

◆ fuNbOverMsPerTs

size_t CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs
protectedinherited

Definition at line 113 of file CbmStar2019Algo.h.

◆ fUnpackPar

CbmStar2019TofPar* CbmStar2019MonitorAlgo::fUnpackPar
private

◆ fuNrOfChannelsPerFee

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerFee
private

Number of channels in each GET4.

Definition at line 93 of file CbmStar2019MonitorAlgo.h.

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

◆ fuNrOfChannelsPerGdpb

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerGdpb
private

Number of GET4s per GDPB.

Definition at line 96 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfChannelsPerGet4

UInt_t CbmStar2019MonitorAlgo::fuNrOfChannelsPerGet4
private

Number of GET4s per FEE.

Definition at line 92 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 90 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 94 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms(), and InitParameters().

◆ fuNrOfGet4PerFee

UInt_t CbmStar2019MonitorAlgo::fuNrOfGet4PerFee
private

Number of FEBs per GDPB.

Definition at line 91 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 95 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 82 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ fvcSumGdpbGet4

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

Definition at line 261 of file CbmStar2019MonitorAlgo.h.

Referenced by CreateHistograms().

◆ fvhCmdDaqVsTrig

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

Definition at line 252 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 242 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbGet4ChanErrors

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

Definition at line 196 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbGet4ChanScm

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

Definition at line 195 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 240 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhGdpbMissmatchEvoPerTs

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

Exclude from dictionnary.

Definition at line 238 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 227 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 225 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 229 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 246 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 244 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 248 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 212 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 211 of file CbmStar2019MonitorAlgo.h.

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

◆ fvhRemapChCount_gDPB

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

Definition at line 214 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 213 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 250 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 142 of file CbmStar2019MonitorAlgo.h.

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

◆ fvMsComponentsList

std::vector<size_t> CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList
protectedinherited

Parameters related to FLES containers.

Definition at line 111 of file CbmStar2019Algo.h.

◆ fvpAllCanvasPointers

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

Vector of pointers to histograms + optional folder name.

Definition at line 137 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 135 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 136 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 138 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 139 of file CbmStar2019MonitorAlgo.h.

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

◆ fvulGdpbTsFullLast

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

Definition at line 159 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulGdpbTsLsb

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

Definition at line 156 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 155 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsFullLast

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

Definition at line 160 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMid

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

Definition at line 158 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvulStarTsMsb

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

Definition at line 157 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarDaqCmdLast

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

Definition at line 162 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTokenLast

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

Definition at line 161 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvuStarTrigCmdLast

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

Definition at line 163 of file CbmStar2019MonitorAlgo.h.

Referenced by InitParameters(), and ProcessStarTrig().

◆ fvvbGdpbLastEnablePattern

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

Exclude from dictionnary.

Definition at line 234 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 232 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 236 of file CbmStar2019MonitorAlgo.h.

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

◆ kiMaxNbFlibLinks

const Int_t CbmStar2019MonitorAlgo::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 103 of file CbmStar2019MonitorAlgo.h.

◆ kuBytesPerMessage

const UInt_t CbmStar2019MonitorAlgo::kuBytesPerMessage = 8
staticprivate

Definition at line 104 of file CbmStar2019MonitorAlgo.h.

Referenced by ProcessMs().

◆ kuNbChanDiamond

const UInt_t CbmStar2019MonitorAlgo::kuNbChanDiamond = 8
staticprivate

Definition at line 105 of file CbmStar2019MonitorAlgo.h.


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