CbmRoot
CbmStar2019MonitorTof Class Reference

#include <CbmStar2019MonitorTof.h>

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

Public Member Functions

 CbmStar2019MonitorTof ()
 
virtual ~CbmStar2019MonitorTof ()
 
virtual Bool_t Init ()
 
virtual Bool_t DoUnpack (const fles::Timeslice &ts, size_t component)
 
virtual void Reset ()
 
virtual void Finish ()
 
void SetParContainers ()
 
Bool_t InitContainers ()
 
Bool_t ReInitContainers ()
 
void SetMsLimitLevel (size_t uAcceptBoundaryPct=100)
 
size_t GetMsLimitLevel ()
 
virtual void AddMsComponentToList (size_t component, UShort_t usDetectorId)
 
virtual void SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb)
 
void SetIgnoreMsOverlap (Bool_t bEnaFlag=kTRUE)
 
void SetMsOverlap (size_t uOverlapMsNb=1)
 
size_t GetMsOverlap ()
 
void SetFitZoomWidthPs (Double_t inZoomWidth=1000.0)
 
void SetHistoryHistoSize (UInt_t inHistorySizeSec=1800)
 
void SetHistoryHistoSizeLong (UInt_t inHistorySizeMin=1800)
 
void EnablePulserMode (Bool_t bEnaFlag=kTRUE)
 
void EnableCoincidenceMaps (Bool_t bEnaFlag=kTRUE)
 
void SaveAllHistos (TString sFileName="")
 
void ResetAllHistos ()
 
void ResetEvolutionHistograms ()
 
void ResetLongEvolutionHistograms ()
 
void UpdateNormedFt ()
 
void UpdateZoomedFit ()
 

Private Member Functions

void CreateHistograms ()
 
void ProcessEpochCycle (uint64_t ulCycleData)
 
void FillHitInfo (gdpbv100::Message)
 
void FillEpochInfo (gdpbv100::Message)
 
void PrintSlcInfo (gdpbv100::Message)
 
void PrintSysInfo (gdpbv100::Message)
 
void FillPattInfo (gdpbv100::Message)
 
void PrintGenInfo (gdpbv100::Message)
 
void FillStarTrigInfo (gdpbv100::Message)
 
Int_t GetArrayIndex (Int_t gdpbId, Int_t get4Id)
 
UInt_t ConvertElinkToGet4 (UInt_t uElinkIdx)
 
UInt_t ConvertGet4ToElink (UInt_t uGet4Idx)
 
 CbmStar2019MonitorTof (const CbmStar2019MonitorTof &)
 
CbmStar2019MonitorTof operator= (const CbmStar2019MonitorTof &)
 

Private Attributes

std::vector< size_t > fvMsComponentsList
 FLES containers. More...
 
size_t fuNbCoreMsPerTs
 
size_t fuNbOverMsPerTs
 
Bool_t fbIgnoreOverlapMs
 
size_t fuMsAcceptsPercent
 /‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/ More...
 
size_t fuTotalMsNb
 
size_t fuOverlapMsNb
 
size_t fuCoreMs
 
Double_t fdMsSizeInNs
 
Double_t fdTsCoreSizeInNs
 
UInt_t fuMinNbGdpb
 
UInt_t fuCurrNbGdpb
 
CbmStar2019TofParfUnpackPar
 
UInt_t fuNrOfGdpbs
 
UInt_t fuNrOfFeePerGdpb
 
UInt_t fuNrOfGet4PerFee
 
UInt_t fuNrOfChannelsPerGet4
 
UInt_t fuNrOfChannelsPerFee
 
UInt_t fuNrOfGet4
 
UInt_t fuNrOfGet4PerGdpb
 
UInt_t fuNrOfChannelsPerGdpb
 
UInt_t fuNrOfGbtx
 
UInt_t fuNrOfModules
 
std::vector< Int_t > fviNrOfRpc
 
std::vector< Int_t > fviRpcType
 
std::vector< Int_t > fviRpcSide
 
std::vector< Int_t > fviModuleId
 
const UInt_t kuNbFeePerGbtx = 5
 
const UInt_t kuNbGbtxPerGdpb = 6
 
UInt_t fuRawDataPrintMsgNb
 
UInt_t fuRawDataPrintMsgIdx
 
Bool_t fbPrintAllHitsEnable
 
Bool_t fbPrintAllEpochsEnable
 
Bool_t fbPulserModeEnable
 
Bool_t fbCoincMapsEnable
 
uint64_t fulCurrentTsIndex
 
size_t fuCurrentMs
 
Double_t fdMsIndex
 
UInt_t fuGdpbId
 
UInt_t fuGdpbNr
 
UInt_t fuGet4Id
 
UInt_t fuGet4Nr
 
Int_t fiEquipmentId
 
std::vector< int > fviMsgCounter
 
std::vector< ULong64_t > fvulGdpbTsMsb
 
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
 
std::vector< ULong64_t > fvulCurrentEpoch
 
std::vector< Bool_t > fvbFirstEpochSeen
 
std::vector< ULong64_t > fvulCurrentEpochCycle
 
std::vector< ULong64_t > fvulCurrentEpochFull
 Epoch cycle from the Ms Start message and Epoch counter flip. More...
 
ULong64_t fulCurrentEpochTime
 Epoch + Epoch Cycle. More...
 
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
 Map of ID to index for the gDPBs. More...
 
std::vector< std::vector< gdpbv100::Message > > fvmEpSupprBuffer
 Buffer for suppressed epoch processing. More...
 
std::vector< UInt_t > fvuFeeNbHitsLastMs
 Buffer for pulser channels. More...
 
std::vector< Double_t > fdTsLastPulserHit
 [ fuFeeNr ] More...
 
std::vector< std::vector< UInt_t > > fvuCoincNbHitsLastMs
 [ fuFeeNr ] More...
 
std::vector< std::vector< Double_t > > fvdCoincTsLastHit
 [ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ] More...
 
const UInt_t kuNbBinsDt = 2000
 [ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ] More...
 
Double_t dMinDt
 
Double_t dMaxDt
 
UInt_t fuNbFeePlot
 
UInt_t fuNbFeePlotsPerGdpb
 
Double_t fdStartTime
 
Double_t fdStartTimeLong
 
Double_t fdStartTimeMsSz
 
UInt_t fuHistoryHistoSize
 
UInt_t fuHistoryHistoSizeLong
 
Double_t fdLastRmsUpdateTime
 
Double_t fdFitZoomWidthPs
 
TCanvas * fcMsSizeAll
 
std::vector< TH1 * > fvhMsSzPerLink
 
std::vector< TProfile * > fvhMsSzTimePerLink
 
TH1 * fhMessType
 In System. More...
 
TH1 * fhSysMessType
 
TH2 * fhGet4MessType
 Per GET4 in system. More...
 
TH2 * fhGet4ChanScm
 
TH2 * fhGet4ChanErrors
 
TH2 * fhGet4EpochFlags
 
TH2 * fhGdpbMessType
 Per Gdpb. More...
 
TH2 * fhGdpbSysMessType
 
TH2 * fhGdpbSysMessPattType
 
TH2 * fhGdpbEpochFlags
 
TH2 * fhGdpbEpochSyncEvo
 
TH2 * fhGdpbEpochMissEvo
 
std::vector< TH2 * > fvhGdpbGet4MessType
 Per GET4 in gDPB. More...
 
std::vector< TH2 * > fvhGdpbGet4ChanScm
 
std::vector< TH2 * > fvhGdpbGet4ChanErrors
 
TH2 * fhScmScalerCounters
 Slow control messages. More...
 
TH2 * fhScmDeadtimeCounters
 
TH2 * fhScmSeuCounters
 
TH2 * fhScmSeuCountersEvo
 
TH2 * fhPatternMissmatch
 Pattern messages per gDPB. More...
 
TH2 * fhPatternEnable
 
TH2 * fhPatternResync
 
std::vector< TH2 * > fvhGdpbPatternMissmatchEvo
 Per MS in gDPB. More...
 
std::vector< TH2 * > fvhGdpbPatternEnableEvo
 
std::vector< TH2 * > fvhGdpbPatternResyncEvo
 
std::vector< TH2 * > fvhRawFt_gDPB
 TODO: Channel rate plots! More...
 
std::vector< TH2 * > fvhRawTot_gDPB
 
std::vector< TH1 * > fvhChCount_gDPB
 
std::vector< TH2 * > fvhChannelRate_gDPB
 
std::vector< TH2 * > fvhRemapTot_gDPB
 
std::vector< TH1 * > fvhRemapChCount_gDPB
 
std::vector< TH2 * > fvhRemapChRate_gDPB
 
std::vector< TH1 * > fvhFeeRate_gDPB
 
std::vector< TH1 * > fvhFeeErrorRate_gDPB
 
std::vector< TProfile * > fvhFeeErrorRatio_gDPB
 
std::vector< TH1 * > fvhFeeRateLong_gDPB
 
std::vector< TH1 * > fvhFeeErrorRateLong_gDPB
 
std::vector< TProfile * > fvhFeeErrorRatioLong_gDPB
 
const UInt_t kuNbFeeSide = 5
 
std::vector< TH2 * > fvhRemapTotSideA_mod
 
std::vector< TH2 * > fvhRemapTotSideB_mod
 
std::vector< TH1 * > fvhModRate
 module plots More...
 
std::vector< TH1 * > fvhModErrorRate
 
std::vector< TProfile * > fvhModErrorRatio
 
std::vector< TH1 * > fvhTokenMsgType
 
std::vector< TH1 * > fvhTriggerRate
 
std::vector< TH2 * > fvhCmdDaqVsTrig
 
std::vector< TH2 * > fvhStarTokenEvo
 
std::vector< TProfile * > fvhStarTrigGdpbTsEvo
 
std::vector< TProfile * > fvhStarTrigStarTsEvo
 
const Double_t kdMaxDtPulserPs = 300e3
 
std::vector< std::vector< TH1 * > > fvhTimeDiffPulser
 
TH2 * fhTimeMeanPulser
 
TH2 * fhTimeRmsPulser
 
TH2 * fhTimeRmsZoomFitPuls
 
TH2 * fhTimeResFitPuls
 
std::vector< TProfile * > fvhPulserTimeDiffEvoGbtxGbtx
 
std::vector< std::vector< TProfile * > > fvvhPulserTimeDiffEvoGdpbGdpb
 
std::vector< TH2 * > fvhCoincMapAllChanGdpb
 
std::vector< TProfile2D * > fvhCoincMeanAllChanGdpb
 
std::vector< UInt_t > fvuPadiToGet4
 
std::vector< UInt_t > fvuGet4ToPadi
 
std::vector< UInt_t > fvuElinkToGet4
 5 FEE with 8 GET4 each More...
 
std::vector< UInt_t > fvuGet4ToElink
 
std::chrono::time_point< std::chrono::system_clock > fTimeLastHistoSaving
 

Static Private Attributes

static const UInt_t kuNbGet4PerGbtx = 5 * 8
 

Detailed Description

Definition at line 33 of file CbmStar2019MonitorTof.h.

Constructor & Destructor Documentation

◆ CbmStar2019MonitorTof() [1/2]

CbmStar2019MonitorTof::CbmStar2019MonitorTof ( )

Definition at line 48 of file CbmStar2019MonitorTof.cxx.

◆ ~CbmStar2019MonitorTof()

CbmStar2019MonitorTof::~CbmStar2019MonitorTof ( )
virtual

Definition at line 185 of file CbmStar2019MonitorTof.cxx.

◆ CbmStar2019MonitorTof() [2/2]

CbmStar2019MonitorTof::CbmStar2019MonitorTof ( const CbmStar2019MonitorTof )
private

Member Function Documentation

◆ AddMsComponentToList()

void CbmStar2019MonitorTof::AddMsComponentToList ( size_t  component,
UShort_t  usDetectorId 
)
virtual

Check for duplicates and ignore if it is the case

Add to list

Create MS size monitoring histos

Implements CbmMcbmUnpack.

Definition at line 403 of file CbmStar2019MonitorTof.cxx.

References fcMsSizeAll, fuHistoryHistoSize, fvhMsSzPerLink, fvhMsSzTimePerLink, and fvMsComponentsList.

◆ ConvertElinkToGet4()

UInt_t CbmStar2019MonitorTof::ConvertElinkToGet4 ( UInt_t  uElinkIdx)
inlineprivate

Definition at line 323 of file CbmStar2019MonitorTof.h.

References fvuElinkToGet4, and kuNbGet4PerGbtx.

Referenced by DoUnpack(), and FillPattInfo().

◆ ConvertGet4ToElink()

UInt_t CbmStar2019MonitorTof::ConvertGet4ToElink ( UInt_t  uGet4Idx)
inlineprivate

Definition at line 327 of file CbmStar2019MonitorTof.h.

References fvuGet4ToElink, and kuNbGet4PerGbtx.

◆ CreateHistograms()

void CbmStar2019MonitorTof::CreateHistograms ( )
private

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

STAR Trigger decoding and monitoring

Module TOT map

FEE pulser test channels

Coincidence maps

Create summary Canvases for STAR 2018

Create summary Canvases with plots VS Gdpb

Create summary Canvases with plots VS GET4 or channel per gDPB

Create FEE rates Canvas for STAR 2018

Create FEE error ratio Canvas for STAR 2018

Create FEE rates long Canvas for STAR 2018

Create FEE error ratio long Canvas for STAR 2018

Create channel count Canvas for STAR 2018

Create remapped channel count Canvas for STAR 2018

Create channel rate Canvas for STAR 2018

Create remapped rate count Canvas for STAR 2018

Create TOT Canvas(es) for STAR 2018

Create PADI TOT Canvas(es) for STAR 2018

Create Side TOT Canvas(es) for STAR 2018

Create STAR token Canvas for STAR 2018

Create Pulser check Canvas for STAR 2018

Create Pulser evo Canvas for gDPB to gDPB

Create Pulser evo Canvas within gDPB

Create Module rates Canvas

Recovers/Create Ms Size Canvas for STAR 2018

Definition at line 449 of file CbmStar2019MonitorTof.cxx.

References dMaxDt, dMinDt, fbCoincMapsEnable, fbPulserModeEnable, fcMsSizeAll, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhMessType, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhScmDeadtimeCounters, fhScmScalerCounters, fhScmSeuCounters, fhScmSeuCountersEvo, fhSysMessType, fhTimeMeanPulser, fhTimeResFitPuls, fhTimeRmsPulser, fhTimeRmsZoomFitPuls, fuHistoryHistoSize, fuHistoryHistoSizeLong, fuNbFeePlot, fuNbFeePlotsPerGdpb, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerGdpb, fuNrOfModules, fvhChannelRate_gDPB, fvhChCount_gDPB, fvhCmdDaqVsTrig, fvhCoincMapAllChanGdpb, fvhCoincMeanAllChanGdpb, fvhFeeErrorRate_gDPB, fvhFeeErrorRateLong_gDPB, fvhFeeErrorRatio_gDPB, fvhFeeErrorRatioLong_gDPB, fvhFeeRate_gDPB, fvhFeeRateLong_gDPB, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhModErrorRate, fvhModErrorRatio, fvhModRate, fvhPulserTimeDiffEvoGbtxGbtx, fvhRawFt_gDPB, fvhRawTot_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhRemapTotSideA_mod, fvhRemapTotSideB_mod, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTimeDiffPulser, fvhTokenMsgType, fvhTriggerRate, fvvhPulserTimeDiffEvoGdpbGdpb, kuNbBinsDt, kuNbFeePerGbtx, kuNbFeeSide, kuNbGbtxPerGdpb, 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 InitContainers().

◆ DoUnpack()

Bool_t CbmStar2019MonitorTof::DoUnpack ( const fles::Timeslice &  ts,
size_t  component 
)
virtual

Periodically save the histograms

Ignore overlap ms if flag set by user

Loop over core microslices (and overlap ones if chosen)

Loop over registered components

Check if this gDPB ID was declared in parameter file and stop there if not

Catch the Epoch cycle block which is always the first 64b of the MS

fuGet4Id = mess.getGdpbGenChipId();

Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4

This epoch is corrupt, should be merged, just count how often it happens and ignore it

  • Pulser monitoring *‍///

Fill the corresponding histos if the time difference is reasonnable

Pulser should lead to single hit in a MS, so ignore this time

Update the difference to all other FEE with higher indices

Dt Evo plots only for first FEE in each GBTx

Evo of GBTx inside same DPB

Evo of DPBs if both first FEE in First GBTx

Done with this FEE, we can reset the hit counter

Coinc need a hit in a MS, so ignore this time

Coinc need a hit in a MS, so ignore this time

Done with this channel, we can reset the hit counter

Implements CbmMcbmUnpack.

Definition at line 1865 of file CbmStar2019MonitorTof.cxx.

References bMcbmMoniTofPrintAllEpochsEna, bMcbmMoniTofPrintAllHitsEna, bMcbmMoniTofRawDataPrint, bMcbmMoniTofResetHistos, bMcbmMoniTofSaveHistos, bMcbmMoniTofUpdateZoomedFit, ConvertElinkToGet4(), fbCoincMapsEnable, fbIgnoreOverlapMs, fbPrintAllEpochsEnable, fbPrintAllHitsEnable, fbPulserModeEnable, fdLastRmsUpdateTime, fdMsIndex, fdStartTime, fdStartTimeLong, fdStartTimeMsSz, fdTsLastPulserHit, fGdpbIdIndexMap, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4MessType, fhMessType, fhSysMessType, fhTimeMeanPulser, fhTimeRmsPulser, fiEquipmentId, PairAnalysisStyler::Fill, FillEpochInfo(), FillPattInfo(), FillStarTrigInfo(), fTimeLastHistoSaving, fuCurrentMs, fuGdpbId, fuGdpbNr, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentTsIndex, fuMsAcceptsPercent, fuNbCoreMsPerTs, fuNbOverMsPerTs, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fuRawDataPrintMsgIdx, fuRawDataPrintMsgNb, fvdCoincTsLastHit, fvhCoincMapAllChanGdpb, fvhCoincMeanAllChanGdpb, fvhFeeErrorRate_gDPB, fvhFeeErrorRateLong_gDPB, fvhFeeErrorRatio_gDPB, fvhFeeErrorRatioLong_gDPB, fvhGdpbGet4ChanErrors, fvhGdpbGet4MessType, fvhModErrorRate, fvhModErrorRatio, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhPulserTimeDiffEvoGbtxGbtx, fvhTimeDiffPulser, fviModuleId, fviMsgCounter, fvmEpSupprBuffer, fvMsComponentsList, fvuCoincNbHitsLastMs, fvuFeeNbHitsLastMs, fvulCurrentEpoch, fvvhPulserTimeDiffEvoGdpbGdpb, 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::getGdpbEpDataLoss(), gdpbv100::Message::getGdpbEpEpochLoss(), gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::Message::getGdpbEpLinkId(), gdpbv100::Message::getGdpbEpMissmatch(), gdpbv100::Message::getGdpbEpSync(), gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHitIs24b(), gdpbv100::Message::getGdpbSysErrChanId(), gdpbv100::Message::getGdpbSysErrData(), gdpbv100::Message::getGdpbSysPattType(), gdpbv100::Message::getGdpbSysSubType(), gdpbv100::Message::getMessageType(), gdpbv100::Message::getMsgFullTimeD(), GetRMS(), gdpbv100::Message::isStarTrigger(), kdMaxDtPulserPs, gdpbv100::kuChipIdMergedEpoch, kuNbFeePerGbtx, kuNbGbtxPerGdpb, 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::Message::printDataCout(), PrintGenInfo(), PrintSlcInfo(), PrintSysInfo(), ProcessEpochCycle(), ResetAllHistos(), SaveAllHistos(), gdpbv100::Message::setGdpbGenChipId(), gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_PATTERN, and UpdateZoomedFit().

◆ EnableCoincidenceMaps()

void CbmStar2019MonitorTof::EnableCoincidenceMaps ( Bool_t  bEnaFlag = kTRUE)
inline

Definition at line 78 of file CbmStar2019MonitorTof.h.

References fbCoincMapsEnable.

◆ EnablePulserMode()

void CbmStar2019MonitorTof::EnablePulserMode ( Bool_t  bEnaFlag = kTRUE)
inline

Definition at line 75 of file CbmStar2019MonitorTof.h.

References fbPulserModeEnable.

◆ FillEpochInfo()

void CbmStar2019MonitorTof::FillEpochInfo ( gdpbv100::Message  mess)
private

Re-align the epoch number of the message in case it will be used later: We received the epoch after the data instead of the one before!

Data are sorted between epochs, not inside => Epoch level ordering Sorting at lower bin precision level

Definition at line 2676 of file CbmStar2019MonitorTof.cxx.

References fhGet4EpochFlags, FillHitInfo(), fuGet4Nr, fulCurrentEpochTime, fvmEpSupprBuffer, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, gdpbv100::Message::getGdpbEpDataLoss(), gdpbv100::Message::getGdpbEpEpochLoss(), gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::Message::getGdpbEpMissmatch(), gdpbv100::Message::getGdpbEpSync(), gdpbv100::Message::getMsgFullTime(), gdpbv100::kuEpochCounterSz, and gdpbv100::Message::setGdpbEpEpochNb().

Referenced by DoUnpack().

◆ FillHitInfo()

void CbmStar2019MonitorTof::FillHitInfo ( gdpbv100::Message  mess)
private

◆ FillPattInfo()

void CbmStar2019MonitorTof::FillPattInfo ( gdpbv100::Message  mess)
private

Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4

Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4

Diamond FEE have straight connection from Get4 to eLink and from PADI to GET4

Definition at line 2896 of file CbmStar2019MonitorTof.cxx.

References ConvertElinkToGet4(), fhPatternEnable, fhPatternMissmatch, fhPatternResync, fuGdpbNr, fulCurrentTsIndex, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, gdpbv100::Message::getGdpbSysPattIndex(), gdpbv100::Message::getGdpbSysPattPattern(), gdpbv100::Message::getGdpbSysPattType(), gdpbv100::PATT_ENABLE, gdpbv100::PATT_MISSMATCH, and gdpbv100::PATT_RESYNC.

Referenced by DoUnpack().

◆ FillStarTrigInfo()

void CbmStar2019MonitorTof::FillStarTrigInfo ( gdpbv100::Message  )
private

Referenced by DoUnpack().

◆ Finish()

void CbmStar2019MonitorTof::Finish ( )
virtual

Update RMS plots

Reset summary histograms for safety

Update zoomed RMS and pulser fit plots

Implements CbmMcbmUnpack.

Definition at line 3088 of file CbmStar2019MonitorTof.cxx.

References fbPulserModeEnable, fhTimeMeanPulser, fhTimeRmsPulser, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvhTimeDiffPulser, fviMsgCounter, fvulCurrentEpoch, GetArrayIndex(), GetRMS(), i, SaveAllHistos(), and UpdateZoomedFit().

◆ GetArrayIndex()

Int_t CbmStar2019MonitorTof::GetArrayIndex ( Int_t  gdpbId,
Int_t  get4Id 
)
inlineprivate

Definition at line 311 of file CbmStar2019MonitorTof.h.

References fuNrOfGet4PerGdpb.

Referenced by Finish(), and InitContainers().

◆ GetMsLimitLevel()

size_t CbmStar2019MonitorTof::GetMsLimitLevel ( )
inline

Definition at line 55 of file CbmStar2019MonitorTof.h.

References fuMsAcceptsPercent.

◆ GetMsOverlap()

size_t CbmStar2019MonitorTof::GetMsOverlap ( )
inline

Definition at line 63 of file CbmStar2019MonitorTof.h.

References fuOverlapMsNb.

◆ Init()

Bool_t CbmStar2019MonitorTof::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 187 of file CbmStar2019MonitorTof.cxx.

◆ InitContainers()

Bool_t CbmStar2019MonitorTof::InitContainers ( )
virtual

◆ operator=()

CbmStar2019MonitorTof CbmStar2019MonitorTof::operator= ( const CbmStar2019MonitorTof )
private

◆ PrintGenInfo()

void CbmStar2019MonitorTof::PrintGenInfo ( gdpbv100::Message  mess)
private

◆ PrintSlcInfo()

◆ PrintSysInfo()

◆ ProcessEpochCycle()

void CbmStar2019MonitorTof::ProcessEpochCycle ( uint64_t  ulCycleData)
private

◆ ReInitContainers()

Bool_t CbmStar2019MonitorTof::ReInitContainers ( )
virtual

STAR Trigger decoding and monitoring

  • Pulser monitoring *‍///
  • coincidence maps *‍///

TODO: move these constants somewhere shared, e.g the parameter file

From NH files, for Fall 2018 detectors

TODO: move these constants somewhere shared, e.g the parameter file

Reimplemented from CbmMcbmUnpack.

Definition at line 226 of file CbmStar2019MonitorTof.cxx.

References fbCoincMapsEnable, fbPulserModeEnable, fdMsSizeInNs, fdTsCoreSizeInNs, fdTsLastPulserHit, fGdpbIdIndexMap, fuCoreMs, fuMinNbGdpb, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGbtx, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fuNrOfModules, fuOverlapMsNb, fuTotalMsNb, fvdCoincTsLastHit, fviModuleId, fviNrOfRpc, fviRpcSide, fviRpcType, fvmEpSupprBuffer, fvuCoincNbHitsLastMs, fvuElinkToGet4, fvuFeeNbHitsLastMs, fvuGet4ToElink, fvuGet4ToPadi, fvulGdpbTsFullLast, fvulGdpbTsLsb, fvulGdpbTsMsb, fvulStarTsFullLast, fvulStarTsMid, fvulStarTsMsb, fvuPadiToGet4, fvuStarDaqCmdLast, fvuStarTokenLast, fvuStarTrigCmdLast, CbmStar2019TofPar::GetGdpbId(), CbmStar2019TofPar::GetModuleId(), CbmStar2019TofPar::GetNrOfChannelsPerGet4(), CbmStar2019TofPar::GetNrOfGbtx(), CbmStar2019TofPar::GetNrOfGdpbs(), CbmStar2019TofPar::GetNrOfGet4PerFee(), CbmStar2019TofPar::GetNrOfModules(), CbmStar2019TofPar::GetNrOfRpc(), CbmStar2019TofPar::GetRpcSide(), CbmStar2019TofPar::GetRpcType(), CbmStar2019TofPar::GetSizeMsInNs(), i, and kuNbGet4PerGbtx.

Referenced by InitContainers().

◆ Reset()

void CbmStar2019MonitorTof::Reset ( )
virtual

◆ ResetAllHistos()

void CbmStar2019MonitorTof::ResetAllHistos ( )
  • STAR event building/cutting *‍///
  • Pulser monitoring *‍///
  • Coincidence maps *‍///

Definition at line 3306 of file CbmStar2019MonitorTof.cxx.

References fbCoincMapsEnable, fbPulserModeEnable, fdStartTime, fdStartTimeLong, fdStartTimeMsSz, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhMessType, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhScmDeadtimeCounters, fhScmScalerCounters, fhScmSeuCounters, fhScmSeuCountersEvo, fhSysMessType, fhTimeMeanPulser, fhTimeResFitPuls, fhTimeRmsPulser, fhTimeRmsZoomFitPuls, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfModules, fvhChannelRate_gDPB, fvhChCount_gDPB, fvhCmdDaqVsTrig, fvhCoincMapAllChanGdpb, fvhCoincMeanAllChanGdpb, fvhFeeErrorRate_gDPB, fvhFeeErrorRateLong_gDPB, fvhFeeErrorRatio_gDPB, fvhFeeErrorRatioLong_gDPB, fvhFeeRate_gDPB, fvhFeeRateLong_gDPB, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhModErrorRate, fvhModErrorRatio, fvhModRate, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhPulserTimeDiffEvoGbtxGbtx, fvhRawFt_gDPB, fvhRawTot_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhRemapTotSideA_mod, fvhRemapTotSideB_mod, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTimeDiffPulser, fvhTokenMsgType, fvhTriggerRate, fvvhPulserTimeDiffEvoGdpbGdpb, kuNbGbtxPerGdpb, and Reset().

Referenced by DoUnpack().

◆ ResetEvolutionHistograms()

◆ ResetLongEvolutionHistograms()

void CbmStar2019MonitorTof::ResetLongEvolutionHistograms ( )

◆ SaveAllHistos()

void CbmStar2019MonitorTof::SaveAllHistos ( TString  sFileName = "")
  • STAR event building/cutting *‍///
  • Pulser monitoring *‍///
  • Pulser evolution monitoring *‍///
  • Coincidence maps *‍///

Definition at line 3142 of file CbmStar2019MonitorTof.cxx.

References fbCoincMapsEnable, fbPulserModeEnable, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhMessType, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhScmDeadtimeCounters, fhScmScalerCounters, fhScmSeuCounters, fhScmSeuCountersEvo, fhSysMessType, fhTimeMeanPulser, fhTimeResFitPuls, fhTimeRmsPulser, fhTimeRmsZoomFitPuls, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfModules, fvhChannelRate_gDPB, fvhChCount_gDPB, fvhCmdDaqVsTrig, fvhCoincMapAllChanGdpb, fvhCoincMeanAllChanGdpb, fvhFeeErrorRate_gDPB, fvhFeeErrorRateLong_gDPB, fvhFeeErrorRatio_gDPB, fvhFeeErrorRatioLong_gDPB, fvhFeeRate_gDPB, fvhFeeRateLong_gDPB, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhModErrorRate, fvhModErrorRatio, fvhModRate, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhPulserTimeDiffEvoGbtxGbtx, fvhRawFt_gDPB, fvhRawTot_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhRemapTotSideA_mod, fvhRemapTotSideB_mod, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTimeDiffPulser, fvhTokenMsgType, fvhTriggerRate, fvvhPulserTimeDiffEvoGdpbGdpb, and kuNbGbtxPerGdpb.

Referenced by DoUnpack(), and Finish().

◆ SetFitZoomWidthPs()

void CbmStar2019MonitorTof::SetFitZoomWidthPs ( Double_t  inZoomWidth = 1000.0)
inline

Definition at line 65 of file CbmStar2019MonitorTof.h.

References fdFitZoomWidthPs.

◆ SetHistoryHistoSize()

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

Definition at line 68 of file CbmStar2019MonitorTof.h.

References fuHistoryHistoSize.

◆ SetHistoryHistoSizeLong()

void CbmStar2019MonitorTof::SetHistoryHistoSizeLong ( UInt_t  inHistorySizeMin = 1800)
inline

Definition at line 71 of file CbmStar2019MonitorTof.h.

References fuHistoryHistoSizeLong.

◆ SetIgnoreMsOverlap()

void CbmStar2019MonitorTof::SetIgnoreMsOverlap ( Bool_t  bEnaFlag = kTRUE)
inline

Definition at line 59 of file CbmStar2019MonitorTof.h.

References fbIgnoreOverlapMs.

◆ SetMsLimitLevel()

void CbmStar2019MonitorTof::SetMsLimitLevel ( size_t  uAcceptBoundaryPct = 100)
inline

Definition at line 52 of file CbmStar2019MonitorTof.h.

References fuMsAcceptsPercent.

◆ SetMsOverlap()

void CbmStar2019MonitorTof::SetMsOverlap ( size_t  uOverlapMsNb = 1)
inline

Definition at line 62 of file CbmStar2019MonitorTof.h.

References fuOverlapMsNb.

◆ SetNbMsInTs()

void CbmStar2019MonitorTof::SetNbMsInTs ( size_t  uCoreMsNb,
size_t  uOverlapMsNb 
)
virtual

Implements CbmMcbmUnpack.

Definition at line 442 of file CbmStar2019MonitorTof.cxx.

References fuNbCoreMsPerTs, and fuNbOverMsPerTs.

◆ SetParContainers()

void CbmStar2019MonitorTof::SetParContainers ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 198 of file CbmStar2019MonitorTof.cxx.

References fUnpackPar.

◆ UpdateNormedFt()

void CbmStar2019MonitorTof::UpdateNormedFt ( )

◆ UpdateZoomedFit()

void CbmStar2019MonitorTof::UpdateZoomedFit ( )

Member Data Documentation

◆ dMaxDt

Double_t CbmStar2019MonitorTof::dMaxDt
private

Definition at line 198 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms().

◆ dMinDt

Double_t CbmStar2019MonitorTof::dMinDt
private

Definition at line 197 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms().

◆ fbCoincMapsEnable

Bool_t CbmStar2019MonitorTof::fbCoincMapsEnable
private

◆ fbIgnoreOverlapMs

Bool_t CbmStar2019MonitorTof::fbIgnoreOverlapMs
private

Definition at line 95 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and SetIgnoreMsOverlap().

◆ fbPrintAllEpochsEnable

Bool_t CbmStar2019MonitorTof::fbPrintAllEpochsEnable
private

Definition at line 135 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ fbPrintAllHitsEnable

Bool_t CbmStar2019MonitorTof::fbPrintAllHitsEnable
private

Definition at line 134 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and FillHitInfo().

◆ fbPulserModeEnable

Bool_t CbmStar2019MonitorTof::fbPulserModeEnable
private

◆ fcMsSizeAll

TCanvas* CbmStar2019MonitorTof::fcMsSizeAll
private

Definition at line 216 of file CbmStar2019MonitorTof.h.

Referenced by AddMsComponentToList(), and CreateHistograms().

◆ fdFitZoomWidthPs

Double_t CbmStar2019MonitorTof::fdFitZoomWidthPs
private

Definition at line 214 of file CbmStar2019MonitorTof.h.

Referenced by SetFitZoomWidthPs(), and UpdateZoomedFit().

◆ fdLastRmsUpdateTime

Double_t CbmStar2019MonitorTof::fdLastRmsUpdateTime
private

Size in minutes of the long evolution histograms

Definition at line 213 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ fdMsIndex

Double_t CbmStar2019MonitorTof::fdMsIndex
private

Definition at line 142 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ fdMsSizeInNs

Double_t CbmStar2019MonitorTof::fdMsSizeInNs
private

Number of non overlap MS at beginning of TS

Definition at line 104 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fdStartTime

Double_t CbmStar2019MonitorTof::fdStartTime
private

◆ fdStartTimeLong

Double_t CbmStar2019MonitorTof::fdStartTimeLong
private

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

Definition at line 206 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), ResetAllHistos(), and ResetLongEvolutionHistograms().

◆ fdStartTimeMsSz

Double_t CbmStar2019MonitorTof::fdStartTimeMsSz
private

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

Definition at line 208 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and ResetAllHistos().

◆ fdTsCoreSizeInNs

Double_t CbmStar2019MonitorTof::fdTsCoreSizeInNs
private

Definition at line 105 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fdTsLastPulserHit

std::vector<Double_t> CbmStar2019MonitorTof::fdTsLastPulserHit
private

[ fuFeeNr ]

Definition at line 186 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fGdpbIdIndexMap

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

Map of ID to index for the gDPBs.

Time stamp of current epoch

Definition at line 179 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), PrintSlcInfo(), PrintSysInfo(), and ReInitContainers().

◆ fhGdpbEpochFlags

TH2* CbmStar2019MonitorTof::fhGdpbEpochFlags
private

Definition at line 233 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGdpbEpochMissEvo

TH2* CbmStar2019MonitorTof::fhGdpbEpochMissEvo
private

Definition at line 235 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGdpbEpochSyncEvo

TH2* CbmStar2019MonitorTof::fhGdpbEpochSyncEvo
private

Definition at line 234 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGdpbMessType

TH2* CbmStar2019MonitorTof::fhGdpbMessType
private

Per Gdpb.

Definition at line 230 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGdpbSysMessPattType

TH2* CbmStar2019MonitorTof::fhGdpbSysMessPattType
private

Definition at line 232 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGdpbSysMessType

TH2* CbmStar2019MonitorTof::fhGdpbSysMessType
private

Definition at line 231 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGet4ChanErrors

TH2* CbmStar2019MonitorTof::fhGet4ChanErrors
private

Definition at line 227 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhGet4ChanScm

TH2* CbmStar2019MonitorTof::fhGet4ChanScm
private

◆ fhGet4EpochFlags

TH2* CbmStar2019MonitorTof::fhGet4EpochFlags
private

◆ fhGet4MessType

TH2* CbmStar2019MonitorTof::fhGet4MessType
private

Per GET4 in system.

Definition at line 225 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhMessType

TH1* CbmStar2019MonitorTof::fhMessType
private

In System.

Definition at line 222 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhPatternEnable

TH2* CbmStar2019MonitorTof::fhPatternEnable
private

◆ fhPatternMissmatch

TH2* CbmStar2019MonitorTof::fhPatternMissmatch
private

Pattern messages per gDPB.

Definition at line 246 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), FillPattInfo(), ResetAllHistos(), and SaveAllHistos().

◆ fhPatternResync

TH2* CbmStar2019MonitorTof::fhPatternResync
private

◆ fhScmDeadtimeCounters

TH2* CbmStar2019MonitorTof::fhScmDeadtimeCounters
private

◆ fhScmScalerCounters

TH2* CbmStar2019MonitorTof::fhScmScalerCounters
private

Slow control messages.

Definition at line 241 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), PrintSlcInfo(), ResetAllHistos(), and SaveAllHistos().

◆ fhScmSeuCounters

TH2* CbmStar2019MonitorTof::fhScmSeuCounters
private

◆ fhScmSeuCountersEvo

TH2* CbmStar2019MonitorTof::fhScmSeuCountersEvo
private

◆ fhSysMessType

TH1* CbmStar2019MonitorTof::fhSysMessType
private

Definition at line 223 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fhTimeMeanPulser

TH2* CbmStar2019MonitorTof::fhTimeMeanPulser
private

◆ fhTimeResFitPuls

TH2* CbmStar2019MonitorTof::fhTimeResFitPuls
private

◆ fhTimeRmsPulser

TH2* CbmStar2019MonitorTof::fhTimeRmsPulser
private

◆ fhTimeRmsZoomFitPuls

TH2* CbmStar2019MonitorTof::fhTimeRmsZoomFitPuls
private

◆ fiEquipmentId

Int_t CbmStar2019MonitorTof::fiEquipmentId
private

Definition at line 150 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ fTimeLastHistoSaving

std::chrono::time_point<std::chrono::system_clock> CbmStar2019MonitorTof::fTimeLastHistoSaving
private
  • Periodic histos saving *‍///

Definition at line 333 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ fuCoreMs

size_t CbmStar2019MonitorTof::fuCoreMs
private

Overlap Ms: all fuOverlapMsNb MS at the end of timeslice

Definition at line 103 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fuCurrentMs

size_t CbmStar2019MonitorTof::fuCurrentMs
private

Definition at line 141 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and ProcessEpochCycle().

◆ fuCurrNbGdpb

UInt_t CbmStar2019MonitorTof::fuCurrNbGdpb
private

Definition at line 107 of file CbmStar2019MonitorTof.h.

◆ fuGdpbId

UInt_t CbmStar2019MonitorTof::fuGdpbId
private

◆ fuGdpbNr

UInt_t CbmStar2019MonitorTof::fuGdpbNr
private

◆ fuGet4Id

UInt_t CbmStar2019MonitorTof::fuGet4Id
private

◆ fuGet4Nr

UInt_t CbmStar2019MonitorTof::fuGet4Nr
private

◆ fuHistoryHistoSize

UInt_t CbmStar2019MonitorTof::fuHistoryHistoSize
private

Time of first microslice, used as reference for evolution plots

Definition at line 209 of file CbmStar2019MonitorTof.h.

Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), FillHitInfo(), and SetHistoryHistoSize().

◆ fuHistoryHistoSizeLong

UInt_t CbmStar2019MonitorTof::fuHistoryHistoSizeLong
private

Size in seconds of the evolution histograms

Definition at line 211 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), FillHitInfo(), and SetHistoryHistoSizeLong().

◆ fulCurrentEpochTime

ULong64_t CbmStar2019MonitorTof::fulCurrentEpochTime
private

Epoch + Epoch Cycle.

Definition at line 176 of file CbmStar2019MonitorTof.h.

Referenced by FillEpochInfo(), PrintSlcInfo(), and PrintSysInfo().

◆ fulCurrentTsIndex

uint64_t CbmStar2019MonitorTof::fulCurrentTsIndex
private

Running indices

Definition at line 140 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillPattInfo(), and ProcessEpochCycle().

◆ fuMinNbGdpb

UInt_t CbmStar2019MonitorTof::fuMinNbGdpb
private

Definition at line 106 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fuMsAcceptsPercent

size_t CbmStar2019MonitorTof::fuMsAcceptsPercent
private

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

OLD, to be cleaned out !!!!!

Definition at line 99 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), GetMsLimitLevel(), and SetMsLimitLevel().

◆ fuNbCoreMsPerTs

size_t CbmStar2019MonitorTof::fuNbCoreMsPerTs
private

Definition at line 92 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and SetNbMsInTs().

◆ fuNbFeePlot

UInt_t CbmStar2019MonitorTof::fuNbFeePlot
private

Definition at line 200 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms().

◆ fuNbFeePlotsPerGdpb

UInt_t CbmStar2019MonitorTof::fuNbFeePlotsPerGdpb
private

Definition at line 201 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms().

◆ fuNbOverMsPerTs

size_t CbmStar2019MonitorTof::fuNbOverMsPerTs
private

Definition at line 93 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and SetNbMsInTs().

◆ fUnpackPar

CbmStar2019TofPar* CbmStar2019MonitorTof::fUnpackPar
private

Settings from parameter file

Definition at line 110 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers(), and SetParContainers().

◆ fuNrOfChannelsPerFee

UInt_t CbmStar2019MonitorTof::fuNrOfChannelsPerFee
private

Definition at line 116 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), FillHitInfo(), and ReInitContainers().

◆ fuNrOfChannelsPerGdpb

UInt_t CbmStar2019MonitorTof::fuNrOfChannelsPerGdpb
private

Definition at line 119 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), and ReInitContainers().

◆ fuNrOfChannelsPerGet4

UInt_t CbmStar2019MonitorTof::fuNrOfChannelsPerGet4
private

◆ fuNrOfFeePerGdpb

◆ fuNrOfGbtx

UInt_t CbmStar2019MonitorTof::fuNrOfGbtx
private

Definition at line 121 of file CbmStar2019MonitorTof.h.

Referenced by FillHitInfo(), and ReInitContainers().

◆ fuNrOfGdpbs

◆ fuNrOfGet4

UInt_t CbmStar2019MonitorTof::fuNrOfGet4
private

Definition at line 117 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), and ReInitContainers().

◆ fuNrOfGet4PerFee

UInt_t CbmStar2019MonitorTof::fuNrOfGet4PerFee
private

Definition at line 113 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fuNrOfGet4PerGdpb

UInt_t CbmStar2019MonitorTof::fuNrOfGet4PerGdpb
private

◆ fuNrOfModules

UInt_t CbmStar2019MonitorTof::fuNrOfModules
private

◆ fuOverlapMsNb

size_t CbmStar2019MonitorTof::fuOverlapMsNb
private

Total nb of MS per link in timeslice

Definition at line 102 of file CbmStar2019MonitorTof.h.

Referenced by GetMsOverlap(), ReInitContainers(), and SetMsOverlap().

◆ fuRawDataPrintMsgIdx

UInt_t CbmStar2019MonitorTof::fuRawDataPrintMsgIdx
private

Definition at line 133 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and ProcessEpochCycle().

◆ fuRawDataPrintMsgNb

UInt_t CbmStar2019MonitorTof::fuRawDataPrintMsgNb
private

Control Flags

Definition at line 132 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and ProcessEpochCycle().

◆ fuTotalMsNb

size_t CbmStar2019MonitorTof::fuTotalMsNb
private

Reject Ms with index inside TS above this, assumes 100 MS per TS

Definition at line 100 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvbFirstEpochSeen

std::vector<Bool_t> CbmStar2019MonitorTof::fvbFirstEpochSeen
private

Definition at line 171 of file CbmStar2019MonitorTof.h.

Referenced by InitContainers().

◆ fvdCoincTsLastHit

std::vector<std::vector<Double_t> > CbmStar2019MonitorTof::fvdCoincTsLastHit
private

[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]

Definition at line 192 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fvhChannelRate_gDPB

std::vector<TH2*> CbmStar2019MonitorTof::fvhChannelRate_gDPB
private

◆ fvhChCount_gDPB

std::vector<TH1*> CbmStar2019MonitorTof::fvhChCount_gDPB
private

◆ fvhCmdDaqVsTrig

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

Definition at line 281 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), ResetAllHistos(), and SaveAllHistos().

◆ fvhCoincMapAllChanGdpb

std::vector<TH2*> CbmStar2019MonitorTof::fvhCoincMapAllChanGdpb
private
  • Coincidence maps *‍///

Definition at line 297 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fvhCoincMeanAllChanGdpb

std::vector<TProfile2D*> CbmStar2019MonitorTof::fvhCoincMeanAllChanGdpb
private

Definition at line 298 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fvhFeeErrorRate_gDPB

std::vector<TH1*> CbmStar2019MonitorTof::fvhFeeErrorRate_gDPB
private

◆ fvhFeeErrorRateLong_gDPB

std::vector<TH1*> CbmStar2019MonitorTof::fvhFeeErrorRateLong_gDPB
private

◆ fvhFeeErrorRatio_gDPB

std::vector<TProfile*> CbmStar2019MonitorTof::fvhFeeErrorRatio_gDPB
private

◆ fvhFeeErrorRatioLong_gDPB

std::vector<TProfile*> CbmStar2019MonitorTof::fvhFeeErrorRatioLong_gDPB
private

◆ fvhFeeRate_gDPB

std::vector<TH1*> CbmStar2019MonitorTof::fvhFeeRate_gDPB
private

◆ fvhFeeRateLong_gDPB

std::vector<TH1*> CbmStar2019MonitorTof::fvhFeeRateLong_gDPB
private

◆ fvhGdpbGet4ChanErrors

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

Definition at line 239 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fvhGdpbGet4ChanScm

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

◆ fvhGdpbGet4MessType

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

Per GET4 in gDPB.

Definition at line 237 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fvhGdpbPatternEnableEvo

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

◆ fvhGdpbPatternMissmatchEvo

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

Per MS in gDPB.

Definition at line 250 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), FillPattInfo(), ResetAllHistos(), and SaveAllHistos().

◆ fvhGdpbPatternResyncEvo

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

◆ fvhModErrorRate

std::vector<TH1*> CbmStar2019MonitorTof::fvhModErrorRate
private

◆ fvhModErrorRatio

std::vector<TProfile*> CbmStar2019MonitorTof::fvhModErrorRatio
private

◆ fvhModRate

std::vector<TH1*> CbmStar2019MonitorTof::fvhModRate
private

◆ fvhMsSzPerLink

std::vector<TH1*> CbmStar2019MonitorTof::fvhMsSzPerLink
private

◆ fvhMsSzTimePerLink

std::vector<TProfile*> CbmStar2019MonitorTof::fvhMsSzTimePerLink
private

◆ fvhPulserTimeDiffEvoGbtxGbtx

std::vector<TProfile*> CbmStar2019MonitorTof::fvhPulserTimeDiffEvoGbtxGbtx
private

Definition at line 293 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ fvhRawFt_gDPB

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

TODO: Channel rate plots!

Definition at line 256 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().

◆ fvhRawTot_gDPB

std::vector<TH2*> CbmStar2019MonitorTof::fvhRawTot_gDPB
private

◆ fvhRemapChCount_gDPB

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

◆ fvhRemapChRate_gDPB

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

◆ fvhRemapTot_gDPB

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

◆ fvhRemapTotSideA_mod

std::vector<TH2*> CbmStar2019MonitorTof::fvhRemapTotSideA_mod
private

◆ fvhRemapTotSideB_mod

std::vector<TH2*> CbmStar2019MonitorTof::fvhRemapTotSideB_mod
private

◆ fvhStarTokenEvo

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

◆ fvhStarTrigGdpbTsEvo

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

◆ fvhStarTrigStarTsEvo

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

◆ fvhTimeDiffPulser

std::vector<std::vector<TH1*> > CbmStar2019MonitorTof::fvhTimeDiffPulser
private

◆ fvhTokenMsgType

std::vector<TH1*> CbmStar2019MonitorTof::fvhTokenMsgType
private
  • STAR TRIGGER detection *‍///

Definition at line 279 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), ResetAllHistos(), and SaveAllHistos().

◆ fvhTriggerRate

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

◆ fviModuleId

std::vector<Int_t> CbmStar2019MonitorTof::fviModuleId
private

Definition at line 126 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fviMsgCounter

std::vector<int> CbmStar2019MonitorTof::fviMsgCounter
private

Definition at line 151 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), and Finish().

◆ fviNrOfRpc

std::vector<Int_t> CbmStar2019MonitorTof::fviNrOfRpc
private

Definition at line 123 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fviRpcSide

std::vector<Int_t> CbmStar2019MonitorTof::fviRpcSide
private

Definition at line 125 of file CbmStar2019MonitorTof.h.

Referenced by FillHitInfo(), and ReInitContainers().

◆ fviRpcType

std::vector<Int_t> CbmStar2019MonitorTof::fviRpcType
private

Definition at line 124 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvmEpSupprBuffer

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

Buffer for suppressed epoch processing.

Definition at line 182 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillEpochInfo(), and ReInitContainers().

◆ fvMsComponentsList

std::vector<size_t> CbmStar2019MonitorTof::fvMsComponentsList
private

FLES containers.

Definition at line 91 of file CbmStar2019MonitorTof.h.

Referenced by AddMsComponentToList(), and DoUnpack().

◆ fvuCoincNbHitsLastMs

std::vector<std::vector<UInt_t> > CbmStar2019MonitorTof::fvuCoincNbHitsLastMs
private

[ fuFeeNr ]

Buffers for coincidence maps

Definition at line 190 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fvuElinkToGet4

std::vector<UInt_t> CbmStar2019MonitorTof::fvuElinkToGet4
private

5 FEE with 8 GET4 each

Definition at line 321 of file CbmStar2019MonitorTof.h.

Referenced by ConvertElinkToGet4(), and ReInitContainers().

◆ fvuFeeNbHitsLastMs

std::vector<UInt_t> CbmStar2019MonitorTof::fvuFeeNbHitsLastMs
private

Buffer for pulser channels.

Definition at line 185 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillHitInfo(), and ReInitContainers().

◆ fvuGet4ToElink

std::vector<UInt_t> CbmStar2019MonitorTof::fvuGet4ToElink
private

Definition at line 322 of file CbmStar2019MonitorTof.h.

Referenced by ConvertGet4ToElink(), and ReInitContainers().

◆ fvuGet4ToPadi

std::vector<UInt_t> CbmStar2019MonitorTof::fvuGet4ToPadi
private

Definition at line 317 of file CbmStar2019MonitorTof.h.

Referenced by FillHitInfo(), and ReInitContainers().

◆ fvulCurrentEpoch

std::vector<ULong64_t> CbmStar2019MonitorTof::fvulCurrentEpoch
private

Current epoch marker for each GDPB and GET4 (first epoch in the stream initializes the map item) pointer points to an array of size fuNrOfGdpbs * fuNrOfGet4PerGdpb The correct array index is calculated using the function GetArrayIndex(gdpbId, get4Id)

Definition at line 170 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack(), FillEpochInfo(), FillHitInfo(), Finish(), InitContainers(), and PrintSysInfo().

◆ fvulCurrentEpochCycle

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

Definition at line 173 of file CbmStar2019MonitorTof.h.

Referenced by FillEpochInfo(), InitContainers(), and ProcessEpochCycle().

◆ fvulCurrentEpochFull

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

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

Definition at line 174 of file CbmStar2019MonitorTof.h.

Referenced by FillEpochInfo(), and InitContainers().

◆ fvulGdpbTsFullLast

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

Definition at line 158 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvulGdpbTsLsb

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

Definition at line 155 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvulGdpbTsMsb

std::vector<ULong64_t> CbmStar2019MonitorTof::fvulGdpbTsMsb
private
  • STAR TRIGGER detection *‍///

Definition at line 154 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvulStarTsFullLast

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

Definition at line 159 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvulStarTsMid

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

Definition at line 157 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvulStarTsMsb

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

Definition at line 156 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvuPadiToGet4

std::vector<UInt_t> CbmStar2019MonitorTof::fvuPadiToGet4
private
  • PADI channel to GET4 channel mapping and reverse *‍///

Definition at line 316 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvuStarDaqCmdLast

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

Definition at line 161 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvuStarTokenLast

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

Definition at line 160 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvuStarTrigCmdLast

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

Definition at line 162 of file CbmStar2019MonitorTof.h.

Referenced by ReInitContainers().

◆ fvvhPulserTimeDiffEvoGdpbGdpb

std::vector<std::vector<TProfile*> > CbmStar2019MonitorTof::fvvhPulserTimeDiffEvoGdpbGdpb
private

Definition at line 294 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().

◆ kdMaxDtPulserPs

const Double_t CbmStar2019MonitorTof::kdMaxDtPulserPs = 300e3
private
  • Pulser monitoring *‍///

Definition at line 287 of file CbmStar2019MonitorTof.h.

Referenced by DoUnpack().

◆ kuNbBinsDt

const UInt_t CbmStar2019MonitorTof::kuNbBinsDt = 2000
private

[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]

Histograms and histogram control variables

Definition at line 196 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms().

◆ kuNbFeePerGbtx

const UInt_t CbmStar2019MonitorTof::kuNbFeePerGbtx = 5
private

Definition at line 128 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), DoUnpack(), and FillHitInfo().

◆ kuNbFeeSide

const UInt_t CbmStar2019MonitorTof::kuNbFeeSide = 5
private

Definition at line 270 of file CbmStar2019MonitorTof.h.

Referenced by CreateHistograms(), and FillHitInfo().

◆ kuNbGbtxPerGdpb

const UInt_t CbmStar2019MonitorTof::kuNbGbtxPerGdpb = 6
private

◆ kuNbGet4PerGbtx

const UInt_t CbmStar2019MonitorTof::kuNbGet4PerGbtx = 5 * 8
staticprivate
  • GET4 to eLink mapping and reverse *‍///

Definition at line 320 of file CbmStar2019MonitorTof.h.

Referenced by ConvertElinkToGet4(), ConvertGet4ToElink(), and ReInitContainers().


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