CbmRoot
|
#include <CbmMcbm2018MonitorAlgoT0.h>
Public Member Functions | |
CbmMcbm2018MonitorAlgoT0 () | |
~CbmMcbm2018MonitorAlgoT0 () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms (Bool_t bResetTime=kTRUE) |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetSpillThreshold (UInt_t uCntLimit) |
void | SetChannelMap (UInt_t uChan0, UInt_t uChan1, UInt_t uChan2, UInt_t uChan3, UInt_t uChan4, UInt_t uChan5, UInt_t uChan6, UInt_t uChan7) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. More... | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. More... | |
std::vector< CbmTofDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. More... | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. More... | |
Protected Attributes | |
TList * | fParCList |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ More... | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. More... | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. More... | |
std::vector< CbmTofDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. More... | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. More... | |
Private Member Functions | |
CbmMcbm2018MonitorAlgoT0 (const CbmMcbm2018MonitorAlgoT0 &) | |
CbmMcbm2018MonitorAlgoT0 | operator= (const CbmMcbm2018MonitorAlgoT0 &) |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
std::vector< Bool_t > | fvbMaskedComponents = {} |
Switch ON the filling of a additional set of histograms. More... | |
CbmMcbm2018TofPar * | fUnpackPar = nullptr |
Settings from parameter file. More... | |
UInt_t | fuNrOfGdpbs = 0 |
Readout chain dimensions and mapping. More... | |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap = {} |
Total number of GDPBs in the system. More... | |
UInt_t | fuNrOfFeePerGdpb = 0 |
gDPB ID to index map More... | |
UInt_t | fuNrOfGet4PerFee = 0 |
Number of FEBs per GDPB. More... | |
UInt_t | fuNrOfChannelsPerGet4 = 0 |
Number of GET4s per FEE. More... | |
UInt_t | fuNrOfChannelsPerFee = 0 |
Number of channels in each GET4. More... | |
UInt_t | fuNrOfGet4 = 0 |
Number of channels in each FEE. More... | |
UInt_t | fuNrOfGet4PerGdpb = 0 |
Total number of Get4 chips in the system. More... | |
UInt_t | fuNrOfChannelsPerGdpb = 0 |
Number of GET4s per GDPB. More... | |
UInt_t | fuMinTotPulser = 90 |
Number of channels per GDPB. More... | |
UInt_t | fuMaxTotPulser = 100 |
UInt_t | fuOffSpillCountLimit = 200 |
ULong64_t | fulCurrentTsIdx = 0 |
ULong64_t | fulCurrentMsIdx = 0 |
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 = 0 |
Start Time in ns of current MS from its index field in header. More... | |
std::map< gdpbv100::MessageTypes, UInt_t > | fmMsgCounter = {} |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. More... | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. More... | |
Int_t | fiRunStartDateTimeSec |
Index of the DPB from which the MS currently unpacked is coming. More... | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. More... | |
UInt_t | fuGet4Id |
Bin size in s for the plots with date as X axis. More... | |
UInt_t | fuGet4Nr |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message More... | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. More... | |
std::vector< ULong64_t > | fvulCurrentEpochCycle |
Current epoch index, per DPB. More... | |
std::vector< ULong64_t > | fvulCurrentEpochFull = {} |
Epoch cycle from the Ms Start message and Epoch counter flip. More... | |
Double_t | fdStartTime |
Epoch + Epoch Cycle. More... | |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< std::vector< gdpbv100::Message > > | fvvmEpSupprBuffer = {} |
Buffers. More... | |
std::vector< gdpbv100::FullMessage > | fvmHitsInMs |
[DPB] More... | |
UInt_t | fuHistoryHistoSize |
All hits (time in bins, TOT in bins, asic, channel) in last MS, sorted with "<" operator. More... | |
std::vector< UInt_t > | fvuHitCntChanMs = std::vector<UInt_t>(kuNbChanDiamond, 0) |
std::vector< UInt_t > | fvuErrorCntChanMs |
std::vector< UInt_t > | fvuEvtLostCntChanMs |
std::vector< TH1 * > | fvhMsgCntEvoChan |
std::vector< TH2 * > | fvhMsgCntPerMsEvoChan |
std::vector< TH1 * > | fvhHitCntEvoChan |
std::vector< TH2 * > | fvhHitCntPerMsEvoChan |
std::vector< TH1 * > | fvhErrorCntEvoChan |
std::vector< TH2 * > | fvhErrorCntPerMsEvoChan |
std::vector< TH1 * > | fvhEvtLostCntEvoChan |
std::vector< TH2 * > | fvhEvtLostCntPerMsEvoChan |
std::vector< TProfile * > | fvhErrorFractEvoChan |
std::vector< TH2 * > | fvhErrorFractPerMsEvoChan |
std::vector< TProfile * > | fvhEvtLostFractEvoChan |
std::vector< TH2 * > | fvhEvtLostFractPerMsEvoChan |
Bool_t | fbSpillOn = kTRUE |
Channels map. More... | |
UInt_t | fuCurrentSpillIdx = 0 |
UInt_t | fuCurrentSpillPlot = 0 |
Double_t | fdStartTimeSpill = -1.0 |
Double_t | fdLastSecondTime = -1.0 |
UInt_t | fuCountsLastSecond = 0 |
UInt_t | fuDiamChanMap [kuNbChanDiamond] |
TH1 * | fhDpbMap = nullptr |
Map from electronics channel to Diamond strip. More... | |
TH1 * | fhChannelMap = nullptr |
TH2 * | fhHitMapEvo = nullptr |
TH2 * | fhHitTotEvo = nullptr |
TH2 * | fhChanHitMapEvo = nullptr |
std::vector< TH1 * > | fvhDpbMapSpill = {} |
std::vector< TH1 * > | fvhChannelMapSpill = {} |
TH1 * | fhHitsPerSpill = nullptr |
TH1 * | fhMsgCntEvo = nullptr |
Global Rate. More... | |
TH1 * | fhHitCntEvo = nullptr |
TH1 * | fhErrorCntEvo = nullptr |
TH1 * | fhLostEvtCntEvo = nullptr |
TProfile * | fhErrorFractEvo = nullptr |
TProfile * | fhLostEvtFractEvo = nullptr |
TH2 * | fhMsgCntPerMsEvo = nullptr |
TH2 * | fhHitCntPerMsEvo = nullptr |
TH2 * | fhErrorCntPerMsEvo = nullptr |
TH2 * | fhLostEvtCntPerMsEvo = nullptr |
TH2 * | fhErrorFractPerMsEvo = nullptr |
TH2 * | fhLostEvtFractPerMsEvo = nullptr |
TH1 * | fhChannelMapPulser = nullptr |
Pulser. More... | |
TH2 * | fhHitMapEvoPulser = nullptr |
TCanvas * | fcSummary = nullptr |
Canvases. More... | |
TCanvas * | fcHitMaps = nullptr |
TCanvas * | fcGenCntsPerMs = nullptr |
TCanvas * | fcSpillCounts = nullptr |
TCanvas * | fcSpillCountsHori = nullptr |
TCanvas * | fcSpillDpbCountsHori = nullptr |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. More... | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanDiamond = 8 |
static const UInt_t | kuNbSpillPlots = 5 |
Definition at line 35 of file CbmMcbm2018MonitorAlgoT0.h.
CbmMcbm2018MonitorAlgoT0::CbmMcbm2018MonitorAlgoT0 | ( | ) |
Definition at line 37 of file CbmMcbm2018MonitorAlgoT0.cxx.
CbmMcbm2018MonitorAlgoT0::~CbmMcbm2018MonitorAlgoT0 | ( | ) |
Clear buffers
Definition at line 38 of file CbmMcbm2018MonitorAlgoT0.cxx.
References fuNrOfGdpbs, fvmHitsInMs, and fvvmEpSupprBuffer.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
void CbmMcbm2018MonitorAlgoT0::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId | ||
) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 130 of file CbmMcbm2018MonitorAlgoT0.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmMcbm2018MonitorTaskT0::AddMsComponentToList(), and CbmDeviceMonitorT0::DoUnpack().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 147 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 96 of file CbmStar2019Algo.h.
Bool_t CbmMcbm2018MonitorAlgoT0::CreateHistograms | ( | ) |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Add pointers to the vector with all histo for access by steering class
Add pointers to the vector with all histo for access by steering class
Cleanup array of log bins
Canvases
Map of hits over T0 detector and same vs time in run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
Definition at line 753 of file CbmMcbm2018MonitorAlgoT0.cxx.
References CbmStar2019Algo< CbmTofDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmTofDigi >::AddHistoToVector(), fcGenCntsPerMs, fcHitMaps, fcSpillCounts, fcSpillCountsHori, fcSpillDpbCountsHori, fcSummary, fhChanHitMapEvo, fhChannelMap, fhChannelMapPulser, fhDpbMap, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhHitCntEvo, fhHitCntPerMsEvo, fhHitMapEvo, fhHitMapEvoPulser, fhHitsPerSpill, fhHitTotEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMsgCntEvo, fhMsgCntPerMsEvo, fuHistoryHistoSize, fuNrOfGdpbs, fvhChannelMapSpill, fvhDpbMapSpill, fvhErrorCntEvoChan, fvhErrorCntPerMsEvoChan, fvhErrorFractEvoChan, fvhErrorFractPerMsEvoChan, fvhEvtLostCntEvoChan, fvhEvtLostCntPerMsEvoChan, fvhEvtLostFractEvoChan, fvhEvtLostFractPerMsEvoChan, fvhHitCntEvoChan, fvhHitCntPerMsEvoChan, fvhMsgCntEvoChan, fvhMsgCntPerMsEvoChan, GenerateLogBinArray(), kuNbChanDiamond, and kuNbSpillPlots.
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoT0::FillHistograms | ( | ) |
Definition at line 1288 of file CbmMcbm2018MonitorAlgoT0.cxx.
References fdMsTime, fdStartTime, fhErrorCntPerMsEvo, fhErrorFractPerMsEvo, fhHitCntPerMsEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractPerMsEvo, fhMsgCntPerMsEvo, fvhErrorCntPerMsEvoChan, fvhErrorFractPerMsEvoChan, fvhEvtLostCntPerMsEvoChan, fvhEvtLostFractPerMsEvoChan, fvhHitCntPerMsEvoChan, fvhMsgCntEvoChan, fvhMsgCntPerMsEvoChan, fvuErrorCntChanMs, fvuEvtLostCntChanMs, fvuHitCntChanMs, and kuNbChanDiamond.
Referenced by ProcessMs(), and ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 54 of file CbmMcbm2018MonitorAlgoT0.cxx.
|
inlineinherited |
Definition at line 91 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 99 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 84 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 75 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 78 of file CbmMcbm2018MonitorAlgoT0.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmDeviceMonitorT0::InitContainers(), and CbmMcbm2018MonitorTaskT0::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 48 of file CbmMcbm2018MonitorAlgoT0.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 61 of file CbmMcbm2018MonitorAlgoT0.cxx.
References ReInitContainers().
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoT0::InitParameters | ( | ) |
Internal status initialization
Buffer initialization
Definition at line 85 of file CbmMcbm2018MonitorAlgoT0.cxx.
References fGdpbIdIndexMap, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, fvvmEpSupprBuffer, CbmMcbm2018TofPar::GetGdpbId(), CbmMcbm2018TofPar::GetNrOfChannelsPerGet4(), CbmMcbm2018TofPar::GetNrOfFeesPerGdpb(), CbmMcbm2018TofPar::GetNrOfGdpbs(), CbmMcbm2018TofPar::GetNrOfGet4PerFee(), and i.
Referenced by ReInitContainers().
|
private |
|
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!!!!
Spill Detection
Check only every second
Spill Off detection
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
2019 mapping with 320/640 Mb/s FW
Spill detection
Do not fill the pulser hits to keep counts low for channel 0
Fill histograms
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 227 of file CbmMcbm2018MonitorAlgoT0.cxx.
References fbSpillOn, fdLastSecondTime, fdMsTime, fdStartTime, fdStartTimeSpill, fGdpbIdIndexMap, fhChanHitMapEvo, fhChannelMap, fhChannelMapPulser, fhDpbMap, fhErrorCntEvo, fhErrorFractEvo, fhHitCntEvo, fhHitMapEvo, fhHitMapEvoPulser, fhHitsPerSpill, fhHitTotEvo, fhLostEvtCntEvo, fhLostEvtFractEvo, fhMsgCntEvo, FillHistograms(), FormatMsHeaderPrintout(), fuCountsLastSecond, fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrentSpillIdx, fuCurrentSpillPlot, fuDiamChanMap, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fuMaxTotPulser, fuMinTotPulser, fuNrOfGet4PerGdpb, fuOffSpillCountLimit, fvbMaskedComponents, fvhChannelMapSpill, fvhDpbMapSpill, fvhErrorCntEvoChan, fvhErrorFractEvoChan, fvhEvtLostCntEvoChan, fvhEvtLostFractEvoChan, fvhHitCntEvoChan, fvuErrorCntChanMs, fvuEvtLostCntChanMs, fvuHitCntChanMs, gdpbv100::GET4_V2X_ERR_LOST_EVT, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHit32Tot(), gdpbv100::Message::getGdpbHitIs24b(), gdpbv100::Message::getGdpbSysErrData(), gdpbv100::Message::getGdpbSysSubType(), gdpbv100::Message::getMessageType(), gdpbv100::Message::isStarTrigger(), kuBytesPerMessage, gdpbv100::kuChipIdMergedEpoch, kuNbSpillPlots, 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, ResetHistograms(), and gdpbv100::SYS_GET4_ERROR.
Referenced by ProcessTs().
|
virtual |
Ignore First TS as first MS is typically corrupt
On first TS, extract the TS parameters from header (by definition stable over time)
Ignore overlap ms if flag set by user
Compute time of TS core end
Loop over core microslices (and overlap ones if chosen)
Loop over registered components
Clear the buffer of hits
Clear buffers to prepare for the next TS
Fill plots if in monitor mode
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 145 of file CbmMcbm2018MonitorAlgoT0.cxx.
References CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, fbMonitorMode, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, fvmHitsInMs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, and ProcessMs().
Referenced by CbmMcbm2018MonitorTaskT0::DoUnpack(), CbmDeviceMonitorT0::DoUnpack(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 51 of file CbmMcbm2018MonitorAlgoT0.h.
References ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 67 of file CbmMcbm2018MonitorAlgoT0.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmMcbm2018MonitorTaskT0::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 53 of file CbmMcbm2018MonitorAlgoT0.cxx.
Bool_t CbmMcbm2018MonitorAlgoT0::ResetHistograms | ( | Bool_t | bResetTime = kTRUE | ) |
Also reset the Start time for the evolution plots!
Definition at line 1339 of file CbmMcbm2018MonitorAlgoT0.cxx.
References fdStartTime, fhChannelMap, fhChannelMapPulser, fhDpbMap, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhHitCntEvo, fhHitCntPerMsEvo, fhHitMapEvo, fhHitMapEvoPulser, fhHitsPerSpill, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMsgCntEvo, fhMsgCntPerMsEvo, fuCurrentSpillIdx, fuCurrentSpillPlot, fvhChannelMapSpill, fvhDpbMapSpill, fvhErrorCntEvoChan, fvhErrorCntPerMsEvoChan, fvhErrorFractEvoChan, fvhErrorFractPerMsEvoChan, fvhEvtLostCntEvoChan, fvhEvtLostCntPerMsEvoChan, fvhEvtLostFractEvoChan, fvhEvtLostFractPerMsEvoChan, fvhHitCntEvoChan, fvhHitCntPerMsEvoChan, fvhMsgCntEvoChan, fvhMsgCntPerMsEvoChan, kuNbChanDiamond, and kuNbSpillPlots.
Referenced by CbmMcbm2018MonitorTaskT0::DoUnpack(), CbmDeviceMonitorT0::DoUnpack(), ProcessMs(), and CbmDeviceMonitorT0::SendHistograms().
|
inline |
Definition at line 75 of file CbmMcbm2018MonitorAlgoT0.h.
References fuDiamChanMap.
Referenced by CbmMcbm2018MonitorTaskT0::SetChannelMap().
|
inline |
Definition at line 65 of file CbmMcbm2018MonitorAlgoT0.h.
References fuHistoryHistoSize.
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inline |
Definition at line 62 of file CbmMcbm2018MonitorAlgoT0.h.
References fbMonitorMode.
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 68 of file CbmMcbm2018MonitorAlgoT0.h.
References fuMaxTotPulser, and fuMinTotPulser.
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
|
inline |
Definition at line 72 of file CbmMcbm2018MonitorAlgoT0.h.
References fuOffSpillCountLimit.
Referenced by CbmMcbm2018MonitorTaskT0::InitContainers(), and CbmDeviceMonitorT0::InitContainers().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 97 of file CbmMcbm2018MonitorAlgoT0.h.
|
protectedinherited |
Definition at line 116 of file CbmStar2019Algo.h.
|
private |
Control flags.
Definition at line 95 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessTs(), and SetMonitorMode().
|
private |
|
private |
Definition at line 248 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
private |
Definition at line 247 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
private |
Definition at line 249 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
private |
Definition at line 250 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
private |
Definition at line 251 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
private |
Canvases.
Definition at line 246 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
|
private |
Definition at line 212 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 117 of file CbmStar2019Algo.h.
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 132 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Epoch + Epoch Cycle.
Starting state book-keeping
Definition at line 159 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by FillHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots
Definition at line 161 of file CbmMcbm2018MonitorAlgoT0.h.
|
private |
Definition at line 211 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 119 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 121 of file CbmStar2019Algo.h.
|
private |
Definition at line 128 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 130 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 105 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 222 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), and ProcessMs().
|
private |
Definition at line 219 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Pulser.
Definition at line 242 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Map from electronics channel to Diamond strip.
Definition at line 218 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 229 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 236 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 231 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 238 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 228 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 235 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 220 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 243 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 225 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 221 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), and ProcessMs().
|
private |
Definition at line 230 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), and ProcessMs().
|
private |
Definition at line 237 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 232 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 239 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Global Rate.
Definition at line 227 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 234 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 145 of file CbmMcbm2018MonitorAlgoT0.h.
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 143 of file CbmMcbm2018MonitorAlgoT0.h.
|
private |
Index of current MS within the TS Current data properties
Definition at line 136 of file CbmMcbm2018MonitorAlgoT0.h.
|
protectedinherited |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 163 of file CbmMcbm2018MonitorAlgoT0.h.
|
private |
Definition at line 213 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 139 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 141 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Definition at line 137 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Definition at line 209 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Definition at line 210 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Definition at line 216 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and SetChannelMap().
|
private |
Bin size in s for the plots with date as X axis.
Definition at line 147 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
Definition at line 149 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
All hits (time in bins, TOT in bins, asic, channel) in last MS, sorted with "<" operator.
Histograms related variables
Definition at line 173 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().
|
private |
Definition at line 127 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Running indices TS/MS info
Definition at line 126 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and ProcessTs().
|
private |
Definition at line 116 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and SetPulserTotLimits().
|
private |
Number of channels per GDPB.
User settings: Data correction parameters
Definition at line 115 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and SetPulserTotLimits().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 134 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 114 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 113 of file CbmStar2019Algo.h.
|
private |
Settings from parameter file.
Definition at line 102 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by GetParList(), InitParameters(), and ReInitContainers().
|
private |
Number of channels in each GET4.
Definition at line 109 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Number of GET4s per GDPB.
Definition at line 112 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Number of GET4s per FEE.
Definition at line 108 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
gDPB ID to index map
Definition at line 106 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Readout chain dimensions and mapping.
Definition at line 104 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), InitParameters(), and ~CbmMcbm2018MonitorAlgoT0().
|
private |
Number of channels in each FEE.
Definition at line 110 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Number of FEBs per GDPB.
Definition at line 107 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Total number of Get4 chips in the system.
Definition at line 111 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 117 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs(), and SetSpillThreshold().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 99 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
private |
Definition at line 224 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 223 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 191 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 193 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 199 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 201 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 195 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 197 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 203 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 205 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 187 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 189 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 183 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 185 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[DPB]
Definition at line 169 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessTs(), and ~CbmMcbm2018MonitorAlgoT0().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 137 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Definition at line 179 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Definition at line 181 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Size in seconds of the evolution histograms Histograms Channel rate plots
Definition at line 178 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by FillHistograms(), and ProcessMs().
|
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 152 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Current epoch index, per DPB.
Definition at line 154 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition at line 156 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters().
|
private |
Buffers.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 168 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by InitParameters(), and ~CbmMcbm2018MonitorAlgoT0().
|
staticprivate |
Constants.
Definition at line 120 of file CbmMcbm2018MonitorAlgoT0.h.
|
staticprivate |
Definition at line 121 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by ProcessMs().
|
staticprivate |
Definition at line 122 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
staticprivate |
Definition at line 214 of file CbmMcbm2018MonitorAlgoT0.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().