CbmRoot
|
#include <CbmTofUnpackMonitor.h>
Public Member Functions | |
CbmTofUnpackMonitor () | |
virtual | ~CbmTofUnpackMonitor () |
Bool_t | Init (CbmMcbm2018TofPar *digiParSet) |
Init all required parameter informations and histograms. | |
Bool_t | CreateHistograms () |
Bool_t | ResetHistograms () |
void | DrawCanvases () |
Bool_t | CreateBmonHistograms () |
Bool_t | ResetBmonHistograms (Bool_t bResetTime) |
void | DrawBmonCanvases () |
Bool_t | CreateHistogramsMicroSpills () |
Bool_t | ResetHistogramsMicroSpills (Bool_t bResetTime) |
void | DrawCanvasesMicroSpills () |
Bool_t | CreateMsComponentSizeHistos (UInt_t component) |
Bool_t | ResetMsComponentSizeHistos (UInt_t component) |
void | Finish () |
Write all histograms and canvases to file. | |
void | SetHistoFileName (TString nameIn) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetSpillThreshold (UInt_t uCntLimit) |
void | SetSpillThresholdNonPulser (UInt_t uCntLimit) |
void | SetSpillCheckInterval (Double_t dIntervalSec) |
void | SetBmonChannelMap (std::vector< uint32_t > vChanMapIn) |
void | SetLongDurationLimits (UInt_t uDurationSeconds, UInt_t uBinSize) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
UInt_t | GetMaxNbFlibLinks () |
void | FillMsSize (UInt_t uMsComp, UInt_t uSize) |
Fill Ms Component Size Histos. | |
void | FillMsSizeTime (UInt_t uMsComp, Double_t dTime, UInt_t uSize) |
void | FillHitMonitoringHistos (const double_t &dMsTime, const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const uint32_t &uRawCh, const uint32_t &uRemapCh, const uint32_t &uTot) |
Fill general histograms. | |
void | FillEpochMonitoringHistos (const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const bool &bSyncFlag, const bool &bDataLoss, const bool &bEpochLoss, const bool &bMissmMatch) |
void | FillScmMonitoringHistos (const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const uint32_t &uCh, const uint32_t &uEdge, const uint32_t &uType) |
void | FillSysMonitoringHistos (const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const uint32_t &uType) |
void | FillErrMonitoringHistos (const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const uint32_t &uCh, const uint32_t &uType) |
void | CheckBmonSpillLimits (const double_t &dMsTime) |
Fill BMon histograms. | |
void | FillHitBmonMonitoringHistos (const double_t &dMsTime, const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const uint32_t &uTot) |
void | FillErrBmonMonitoringHistos (const double_t &dMsTime, const uint32_t &uCurrCompIdx, const uint32_t &uGet4Id, const bool &bErrEvtLost) |
void | SetBmonMode (bool value) |
Activate the BMon mode. | |
bool | GetBmonMode () |
Read the BMon mode. | |
void | FillHitBmonMicroSpillHistos (const double_t &dTime) |
Fill BMon Microspill histograms. | |
void | FinalizeTsBmonMicroSpillHistos () |
Finalize BMon Microspill histograms. | |
void | SetBmonMicroSpillMode (bool value) |
Activate the BMon mode. | |
bool | GetBmonMicroSpillMode () |
Read the Bmon mode. | |
void | SetBmonScvdMode (bool value) |
Activate the BMon sCVD mode. | |
bool | GetBmonScvdMode () |
Read the BMon mode. | |
void | SetInternalHttpMode (bool value) |
Activate/de-activate the internal histo serve mode. | |
bool | GetInternalHttpMode () |
Read the Bmon mode. | |
void | SetHistosStartTime (double_t value) |
Set start time for evolution histos. | |
double_t | GetHistosStartTime () |
Set start time for evolution histos. | |
Private Member Functions | |
CbmTofUnpackMonitor (const CbmTofUnpackMonitor &) | |
Vector of pointers to canvases + optional folder name. | |
CbmTofUnpackMonitor | operator= (const CbmTofUnpackMonitor &) |
Private Attributes | |
TString | fHistoFileName = "data/mon.tof.root" |
CbmMcbm2018TofPar * | fUnpackPar = nullptr |
Settings from parameter file. | |
UInt_t | fuNbOfComps = 0 |
Readout chain dimensions and mapping. | |
UInt_t | fuNbOfGet4PerComp = 0 |
Total number of Components in the system. | |
UInt_t | fuNbOfChannelsPerGet4 = 0 |
Max number of Get4 per component. | |
UInt_t | fuNbOfChannelsPerComp = 0 |
Number of channels per Get4, constant. | |
UInt_t | fuNbOfGet4InSyst = 0 |
Number of channels per Component, recalculated. | |
Double_t | fdStartTime = -1.0 |
Total/maximum number of Get4 in system. | |
UInt_t | fuHistoryHistoSize = 3600 |
double_t | dFirstTsStartTime = 0 |
UInt_t | fuLongHistoNbSeconds = 3600 |
UInt_t | fuLongHistoBinSizeSec = 10 |
UInt_t | fuLongHistoBinNb = 1 |
bool | fBmonMode = false |
Flag if debug mode is active or not. | |
bool | fBmonScvdMode = false |
bool | fBmonMicroSpillMode = false |
bool | fbInternalHttp = true |
UInt_t | fuMinTotPulser = 185 |
---> User settings: Data correction parameters | |
UInt_t | fuMaxTotPulser = 189 |
UInt_t | fuOffSpillCountLimit = 200 |
UInt_t | fuOffSpillCountLimitNonPulser = 80 |
Double_t | fdSpillCheckInterval = 1.0 |
UInt_t | fuNbChanBmon = 0 |
Runtime values. | |
std::vector< UInt_t > | fuBmonChanMap = {} |
TH1 * | fvhMsSize [kuMaxNbFlibLinks] |
MS size histograms. | |
TProfile * | fvhMsSizeTime [kuMaxNbFlibLinks] |
TH2 * | fhGet4MessType = nullptr |
TH2 * | fhGet4EpochFlags = nullptr |
TH2 * | fhGet4ScmType = nullptr |
TH2 * | fhGet4SysMessType = nullptr |
TH2 * | fhGet4ErrorsType = nullptr |
std::vector< TH2 * > | fvhCompGet4MessType = {} |
---> Per GET4 in Component | |
std::vector< TH2 * > | fvhCompGet4ChScm = {} |
std::vector< TH2 * > | fvhCompGet4ChErrors = {} |
std::vector< TH1 * > | fvhCompRawChCount = {} |
---> Per raw channel in Component | |
std::vector< TH2 * > | fvhCompRawChRate = {} |
std::vector< TH2 * > | fvhCompRawChTot = {} |
std::vector< TH1 * > | fvhCompRemapChCount = {} |
---> Per remapped (PADI) channel in Component | |
std::vector< TH2 * > | fvhCompRemapChRate = {} |
std::vector< TH2 * > | fvhCompRemapChTot = {} |
TH1 * | fhPulserChCounts = nullptr |
---> Pulser | |
TH2 * | fhPulserChEvo = nullptr |
std::vector< UInt_t > | fvuBmonHitCntChanMs = {} |
std::vector< UInt_t > | fvuBmonErrorCntChanMs = {} |
std::vector< UInt_t > | fvuBmonEvtLostCntChanMs = {} |
std::vector< TH1 * > | fvhBmonMsgCntEvoChan = {} |
std::vector< TH2 * > | fvhBmonMsgCntPerMsEvoChan = {} |
std::vector< TH1 * > | fvhBmonHitCntEvoChan = {} |
std::vector< TH2 * > | fvhBmonHitCntPerMsEvoChan = {} |
std::vector< TH1 * > | fvhBmonErrorCntEvoChan = {} |
std::vector< TH2 * > | fvhBmonErrorCntPerMsEvoChan = {} |
std::vector< TH1 * > | fvhBmonEvtLostCntEvoChan = {} |
std::vector< TH2 * > | fvhBmonEvtLostCntPerMsEvoChan = {} |
std::vector< TProfile * > | fvhBmonErrorFractEvoChan = {} |
std::vector< TH2 * > | fvhBmonErrorFractPerMsEvoChan = {} |
std::vector< TProfile * > | fvhBmonEvtLostFractEvoChan = {} |
std::vector< TH2 * > | fvhBmonEvtLostFractPerMsEvoChan = {} |
TH1 * | fhBmonCompMapAll = nullptr |
---> Channels maps without cuts | |
TH2 * | fhBmonCompGet4 = nullptr |
TH1 * | fhBmonGet4Map = nullptr |
TH2 * | fhBmonGet4MapEvo = nullptr |
TH1 * | fhBmonChannelMapAll = nullptr |
TH2 * | fhBmonChannelTotAll = nullptr |
TH2 * | fhBmonHitMapEvoAll = nullptr |
TH2 * | fhBmonHitTotEvoAll = nullptr |
TH1 * | fhBmonChanHitMapAll = nullptr |
TH2 * | fhBmonChanHitMapEvoAll = nullptr |
TH1 * | fhBmonCompMap = nullptr |
---> No Pulser cut | |
TH1 * | fhBmonChannelMap = nullptr |
TH2 * | fhBmonHitMapEvo = nullptr |
TH2 * | fhBmonHitTotEvo = nullptr |
TH1 * | fhBmonChanHitMap = nullptr |
TH2 * | fhBmonChanHitMapEvo = nullptr |
std::vector< TH1 * > | fvhBmonCompMapSpill = {} |
---> No Pulser cut + Spill detection | |
std::vector< TH1 * > | fvhBmonChannelMapSpill = {} |
TH1 * | fhBmonHitsPerSpill = nullptr |
TH1 * | fhBmonMsgCntEvo = nullptr |
---> Global Rate | |
TH1 * | fhBmonHitCntEvo = nullptr |
TH1 * | fhBmonErrorCntEvo = nullptr |
TH1 * | fhBmonLostEvtCntEvo = nullptr |
TProfile * | fhBmonErrorFractEvo = nullptr |
TProfile * | fhBmonLostEvtFractEvo = nullptr |
TH2 * | fhBmonMsgCntPerMsEvo = nullptr |
---> Global Rate per MS | |
TH2 * | fhBmonHitCntPerMsEvo = nullptr |
TH2 * | fhBmonErrorCntPerMsEvo = nullptr |
TH2 * | fhBmonLostEvtCntPerMsEvo = nullptr |
TH2 * | fhBmonErrorFractPerMsEvo = nullptr |
TH2 * | fhBmonLostEvtFractPerMsEvo = nullptr |
TH1 * | fhBmonChannelMapPulser = nullptr |
---> Pulser | |
TH2 * | fhBmonHitMapEvoPulser = nullptr |
double_t | fdBmonMicrospillsTsLengthSec = 0.128 |
BMon micro-spills monitoring histograms. | |
uint32_t | fuBmonMicrospillsNbBinsTs = 0 |
uint32_t | fuNbTsMicrospills = 0 |
std::unique_ptr< double[]> | fArrHitCounts |
std::unique_ptr< double[]> | fArrErrCounts |
TH1 * | fhBmonMicrospillsDistHits = nullptr |
TH1 * | fhBmonMicrospillsDistErrs = nullptr |
TH2 * | fhBmonMicrospillsTsBinCntHits = nullptr |
TH2 * | fhBmonMicrospillsTsBinCntErrs = nullptr |
TH1 * | fhBmonMicrospillsTsMeanHits = nullptr |
TH1 * | fhBmonMicrospillsTsMeanErrs = nullptr |
TH1 * | fhBmonMicrospillsTsMedianHits = nullptr |
TH1 * | fhBmonMicrospillsTsMedianErrs = nullptr |
TH2 * | fhBmonMicrospillsTsBinRatioHits = nullptr |
TH2 * | fhBmonMicrospillsTsBinRatioErrs = nullptr |
TH2 * | fhBmonMicrospillsTsBinFractHits = nullptr |
TH2 * | fhBmonMicrospillsTsBinFractErrs = nullptr |
TCanvas * | fcSummaryGet4s = nullptr |
std::vector< TCanvas * > | fvcSumComp = {} |
TCanvas * | fcBmonSummary = nullptr |
---> BMon | |
TCanvas * | fcBmonSummaryMap = nullptr |
TCanvas * | fcBmonHitMaps = nullptr |
TCanvas * | fcBmonGenCntsPerMs = nullptr |
TCanvas * | fcBmonSpillCounts = nullptr |
TCanvas * | fcBmonSpillCountsHori = nullptr |
TCanvas * | fcBmonSpillCompCountsHori = nullptr |
TCanvas * | fcBmonMicrospillsBinCnts = nullptr |
---> BMon Microspills monitoring | |
TCanvas * | fcBmonMicrospillsRatios = nullptr |
TCanvas * | fcBmonMicrospillsFraction = nullptr |
Bool_t | fbSpillOn = kTRUE |
Spill detection. | |
UInt_t | fuCurrentSpillIdx = 0 |
UInt_t | fuCurrentSpillPlot = 0 |
Double_t | fdStartTimeSpill = -1.0 |
Double_t | fdBmonLastInterTime = -1.0 |
UInt_t | fuBmonCountsLastInter = 0 |
UInt_t | fuBmonNonPulserCountsLastInter = 0 |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. | |
Static Private Attributes | |
static const UInt_t | kuMaxNbFlibLinks = 32 |
---> Constants | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanBmon = 16 |
static const UInt_t | kuNbChanBmonScvd = 20 |
static const UInt_t | kuNbSpillPlots = 5 |
static constexpr UInt_t | kuBmonChanMap [kuNbChanBmon] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15} |
static constexpr UInt_t | kuBmonChanMapScvd [kuNbChanBmonScvd] |
2024 mapping: +4 channels scvd added | |
Definition at line 21 of file CbmTofUnpackMonitor.h.
CbmTofUnpackMonitor::CbmTofUnpackMonitor | ( | ) |
Definition at line 34 of file CbmTofUnpackMonitor.cxx.
References fvhMsSize, fvhMsSizeTime, and kuMaxNbFlibLinks.
|
virtual |
Definition at line 43 of file CbmTofUnpackMonitor.cxx.
References fvpAllCanvasPointers, and fvpAllHistoPointers.
|
private |
Vector of pointers to canvases + optional folder name.
|
inline |
Definition at line 73 of file CbmTofUnpackMonitor.h.
References fvpAllCanvasPointers.
Referenced by DrawBmonCanvases(), DrawCanvases(), and DrawCanvasesMicroSpills().
|
inline |
Definition at line 67 of file CbmTofUnpackMonitor.h.
References fvpAllHistoPointers.
Referenced by CreateBmonHistograms(), CreateHistograms(), CreateHistogramsMicroSpills(), and CreateMsComponentSizeHistos().
void CbmTofUnpackMonitor::CheckBmonSpillLimits | ( | const double_t & | dMsTime | ) |
Fill BMon histograms.
Initialize Start time for evolution plots
Spill Detection Check only every second
Spill Off detection
Definition at line 1401 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fbSpillOn, fdBmonLastInterTime, fdSpillCheckInterval, fdStartTime, fdStartTimeSpill, fuBmonCountsLastInter, fuBmonNonPulserCountsLastInter, fuCurrentSpillIdx, fuCurrentSpillPlot, fuOffSpillCountLimit, fuOffSpillCountLimitNonPulser, fvhBmonChannelMapSpill, fvhBmonCompMapSpill, and kuNbSpillPlots.
Bool_t CbmTofUnpackMonitor::CreateBmonHistograms | ( | ) |
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
Definition at line 435 of file CbmTofUnpackMonitor.cxx.
References AddHistoToVector(), fBmonScvdMode, fhBmonChanHitMap, fhBmonChanHitMapAll, fhBmonChanHitMapEvo, fhBmonChanHitMapEvoAll, fhBmonChannelMap, fhBmonChannelMapAll, fhBmonChannelMapPulser, fhBmonChannelTotAll, fhBmonCompGet4, fhBmonCompMap, fhBmonCompMapAll, fhBmonErrorCntEvo, fhBmonErrorCntPerMsEvo, fhBmonErrorFractEvo, fhBmonErrorFractPerMsEvo, fhBmonGet4Map, fhBmonGet4MapEvo, fhBmonHitCntEvo, fhBmonHitCntPerMsEvo, fhBmonHitMapEvo, fhBmonHitMapEvoAll, fhBmonHitMapEvoPulser, fhBmonHitsPerSpill, fhBmonHitTotEvo, fhBmonHitTotEvoAll, fhBmonLostEvtCntEvo, fhBmonLostEvtCntPerMsEvo, fhBmonLostEvtFractEvo, fhBmonLostEvtFractPerMsEvo, fhBmonMsgCntEvo, fhBmonMsgCntPerMsEvo, fuBmonChanMap, fuHistoryHistoSize, fuNbChanBmon, fuNbOfComps, fvhBmonChannelMapSpill, fvhBmonCompMapSpill, fvhBmonErrorCntEvoChan, fvhBmonErrorCntPerMsEvoChan, fvhBmonErrorFractEvoChan, fvhBmonErrorFractPerMsEvoChan, fvhBmonEvtLostCntEvoChan, fvhBmonEvtLostCntPerMsEvoChan, fvhBmonEvtLostFractEvoChan, fvhBmonEvtLostFractPerMsEvoChan, fvhBmonHitCntEvoChan, fvhBmonHitCntPerMsEvoChan, fvhBmonMsgCntEvoChan, fvhBmonMsgCntPerMsEvoChan, fvuBmonErrorCntChanMs, fvuBmonEvtLostCntChanMs, fvuBmonHitCntChanMs, GenerateLogBinArray(), kuBmonChanMap, kuBmonChanMapScvd, kuNbChanBmon, kuNbChanBmonScvd, and kuNbSpillPlots.
Referenced by Init().
Bool_t CbmTofUnpackMonitor::CreateHistograms | ( | ) |
Avoid name collision for the histos and canvases in Root memory
Add pointers to the vector with all histo for access by steering class
---> Per GET4 in Component
---> Per raw channel in Component
---> Per remapped (PADI) channel in Component
Add pointers to the vector with all histo for access by steering class Per GET4 in gDPB
---> Per raw channel in Component
---> Per remapped (PADI) channel in Component
Definition at line 71 of file CbmTofUnpackMonitor.cxx.
References AddHistoToVector(), fBmonMode, fhGet4EpochFlags, fhGet4ErrorsType, fhGet4MessType, fhGet4ScmType, fhGet4SysMessType, fuHistoryHistoSize, fuNbOfChannelsPerComp, fuNbOfComps, fuNbOfGet4InSyst, fuNbOfGet4PerComp, fvhCompGet4ChErrors, fvhCompGet4ChScm, fvhCompGet4MessType, fvhCompRawChCount, fvhCompRawChRate, fvhCompRawChTot, fvhCompRemapChCount, fvhCompRemapChRate, fvhCompRemapChTot, critof001::SYS_GDPB_UNKWN, critof001::SYS_GET4_ERROR, critof001::SYS_GET4_SYNC_MISS, and critof001::SYS_PATTERN.
Referenced by Init().
Bool_t CbmTofUnpackMonitor::CreateHistogramsMicroSpills | ( | ) |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep, start decade exponent (def 0), add [0;min[ bin flag
Add pointers to the vector with all histo for access by steering class
Definition at line 1004 of file CbmTofUnpackMonitor.cxx.
References AddHistoToVector(), fArrErrCounts, fArrHitCounts, fdBmonMicrospillsTsLengthSec, fhBmonMicrospillsDistErrs, fhBmonMicrospillsDistHits, fhBmonMicrospillsTsBinCntErrs, fhBmonMicrospillsTsBinCntHits, fhBmonMicrospillsTsBinFractErrs, fhBmonMicrospillsTsBinFractHits, fhBmonMicrospillsTsBinRatioErrs, fhBmonMicrospillsTsBinRatioHits, fhBmonMicrospillsTsMeanErrs, fhBmonMicrospillsTsMeanHits, fhBmonMicrospillsTsMedianErrs, fhBmonMicrospillsTsMedianHits, fuBmonMicrospillsNbBinsTs, and GenerateLogBinArray().
Referenced by Init().
Bool_t CbmTofUnpackMonitor::CreateMsComponentSizeHistos | ( | UInt_t | component | ) |
Definition at line 381 of file CbmTofUnpackMonitor.cxx.
References AddHistoToVector(), fvhMsSize, and fvhMsSizeTime.
void CbmTofUnpackMonitor::DrawBmonCanvases | ( | ) |
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
General summary after mapping: Hit maps, Hit rate vs time in run, error fraction vs time un run
Map of hits over Bmon 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
Definition at line 804 of file CbmTofUnpackMonitor.cxx.
References AddCanvasToVector(), fcBmonGenCntsPerMs, fcBmonHitMaps, fcBmonSpillCompCountsHori, fcBmonSpillCounts, fcBmonSpillCountsHori, fcBmonSummary, fcBmonSummaryMap, fhBmonChanHitMap, fhBmonChanHitMapEvo, fhBmonChannelMap, fhBmonErrorFractEvo, fhBmonErrorFractPerMsEvo, fhBmonHitCntEvo, fhBmonHitCntPerMsEvo, fhBmonHitMapEvo, fhBmonLostEvtFractPerMsEvo, fhBmonMsgCntPerMsEvo, fvhBmonChannelMapSpill, fvhBmonCompMapSpill, and kuNbSpillPlots.
Referenced by Init().
void CbmTofUnpackMonitor::DrawCanvases | ( | ) |
Avoid name collision for the histos and canvases in Root memory
General summary: Messages types per GET4 (index in system)
-------------------------------------------------------------------------------------------------------------—///
---> Per GET4 in Component
---> Per raw channel in Component
---> Per remapped (PADI) channel in Component
Definition at line 266 of file CbmTofUnpackMonitor.cxx.
References AddCanvasToVector(), fBmonMode, fcSummaryGet4s, fhGet4EpochFlags, fhGet4ErrorsType, fhGet4MessType, fhGet4ScmType, fhGet4SysMessType, fuNbOfComps, fvcSumComp, fvhCompGet4ChErrors, fvhCompGet4ChScm, fvhCompGet4MessType, fvhCompRawChCount, fvhCompRawChRate, fvhCompRawChTot, fvhCompRemapChCount, fvhCompRemapChRate, and fvhCompRemapChTot.
Referenced by Init().
void CbmTofUnpackMonitor::DrawCanvasesMicroSpills | ( | ) |
Count for each TS how many 10 us bins in a TS have a given number of hits/errors
Count for each TS how many 10 us bins in a TS have a given fraction of number of hits/errors divided by TS total
Count for each TS how many 10 us bins in a TS have a given ratio of number of hits/errors divided by TS mean
Definition at line 1110 of file CbmTofUnpackMonitor.cxx.
References AddCanvasToVector(), fcBmonMicrospillsBinCnts, fcBmonMicrospillsFraction, fcBmonMicrospillsRatios, fhBmonMicrospillsTsBinCntErrs, fhBmonMicrospillsTsBinCntHits, fhBmonMicrospillsTsBinFractErrs, fhBmonMicrospillsTsBinFractHits, fhBmonMicrospillsTsBinRatioErrs, fhBmonMicrospillsTsBinRatioHits, fhBmonMicrospillsTsMeanErrs, fhBmonMicrospillsTsMeanHits, fhBmonMicrospillsTsMedianErrs, and fhBmonMicrospillsTsMedianHits.
Referenced by Init().
void CbmTofUnpackMonitor::FillEpochMonitoringHistos | ( | const uint32_t & | uCurrCompIdx, |
const uint32_t & | uGet4Id, | ||
const bool & | bSyncFlag, | ||
const bool & | bDataLoss, | ||
const bool & | bEpochLoss, | ||
const bool & | bMissmMatch ) |
---> Per GET4 in system
---> Per GET4 in Component
Definition at line 1216 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fhGet4EpochFlags, fhGet4MessType, fuNbOfGet4PerComp, and fvhCompGet4MessType.
void CbmTofUnpackMonitor::FillErrBmonMonitoringHistos | ( | const double_t & | dMsTime, |
const uint32_t & | uCurrCompIdx, | ||
const uint32_t & | uGet4Id, | ||
const bool & | bErrEvtLost ) |
Initialize Start time for evolution plots
2022 mapping: Y[0-3] on c0, Y[4-7] on c1, X[0-3] on c2, X[4-7] on c3 Y not cabled for diamond but pulser there
Definition at line 1498 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fdStartTime, fhBmonErrorCntEvo, fhBmonErrorFractEvo, fhBmonLostEvtCntEvo, fhBmonLostEvtFractEvo, fhBmonMicrospillsDistErrs, fhBmonMsgCntEvo, fvhBmonErrorCntEvoChan, fvhBmonErrorFractEvoChan, fvhBmonEvtLostCntEvoChan, fvhBmonEvtLostFractEvoChan, fvuBmonErrorCntChanMs, and fvuBmonEvtLostCntChanMs.
void CbmTofUnpackMonitor::FillErrMonitoringHistos | ( | const uint32_t & | uCurrCompIdx, |
const uint32_t & | uGet4Id, | ||
const uint32_t & | uCh, | ||
const uint32_t & | uType ) |
---> Per GET4 in system
---> Per GET4 in Component
Definition at line 1270 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fhGet4ErrorsType, fhGet4MessType, fuNbOfChannelsPerGet4, fuNbOfGet4PerComp, fvhCompGet4ChErrors, fvhCompGet4MessType, critof001::GET4_V2X_ERR_ADD_RIS_EDG, critof001::GET4_V2X_ERR_CHAN_STATE, critof001::GET4_V2X_ERR_DLL_LOCK, critof001::GET4_V2X_ERR_DLL_RESET, critof001::GET4_V2X_ERR_EP, critof001::GET4_V2X_ERR_EP_CNT_SYNC, critof001::GET4_V2X_ERR_EPOCH_OVERF, critof001::GET4_V2X_ERR_EVT_DISCARD, critof001::GET4_V2X_ERR_FIFO_WRITE, critof001::GET4_V2X_ERR_LOST_EVT, critof001::GET4_V2X_ERR_READ_INIT, critof001::GET4_V2X_ERR_READOUT_ERR, critof001::GET4_V2X_ERR_SEQUENCE_ER, critof001::GET4_V2X_ERR_SPI, critof001::GET4_V2X_ERR_SYNC, critof001::GET4_V2X_ERR_TOK_RING_ST, critof001::GET4_V2X_ERR_TOKEN, critof001::GET4_V2X_ERR_TOT_OVERWRT, critof001::GET4_V2X_ERR_TOT_RANGE, critof001::GET4_V2X_ERR_UNKNOWN, and critof001::GET4_V2X_ERR_UNPAIR_FALL.
void CbmTofUnpackMonitor::FillHitBmonMicroSpillHistos | ( | const double_t & | dTime | ) |
Fill BMon Microspill histograms.
Initialize Start time for evolution plots
Definition at line 1541 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fdStartTime, and fhBmonMicrospillsDistHits.
void CbmTofUnpackMonitor::FillHitBmonMonitoringHistos | ( | const double_t & | dMsTime, |
const uint32_t & | uCurrCompIdx, | ||
const uint32_t & | uGet4Id, | ||
const uint32_t & | uTot ) |
Initialize Start time for evolution plots
2022 mapping: Y[0-3] on c0, Y[4-7] on c1, X[0-3] on c2, X[4-7] on c3 Y not cabled for diamond but pulser there
Spill detection
Do not fill the pulser hits to keep counts low for channel 0 of each Board For now hard-code the pulser channel
Definition at line 1435 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fdStartTime, fhBmonChanHitMap, fhBmonChanHitMapAll, fhBmonChanHitMapEvo, fhBmonChanHitMapEvoAll, fhBmonChannelMap, fhBmonChannelMapAll, fhBmonChannelMapPulser, fhBmonChannelTotAll, fhBmonCompGet4, fhBmonCompMap, fhBmonCompMapAll, fhBmonErrorFractEvo, fhBmonGet4Map, fhBmonGet4MapEvo, fhBmonHitCntEvo, fhBmonHitMapEvo, fhBmonHitMapEvoAll, fhBmonHitMapEvoPulser, fhBmonHitsPerSpill, fhBmonHitTotEvo, fhBmonHitTotEvoAll, fhBmonLostEvtFractEvo, fhBmonMsgCntEvo, fuBmonChanMap, fuBmonCountsLastInter, fuBmonNonPulserCountsLastInter, fuCurrentSpillIdx, fuCurrentSpillPlot, fuMaxTotPulser, fuMinTotPulser, fuNbChanBmon, fvhBmonChannelMapSpill, fvhBmonCompMapSpill, fvhBmonErrorFractEvoChan, fvhBmonEvtLostFractEvoChan, fvhBmonHitCntEvoChan, and fvuBmonHitCntChanMs.
void CbmTofUnpackMonitor::FillHitMonitoringHistos | ( | const double_t & | dMsTime, |
const uint32_t & | uCurrCompIdx, | ||
const uint32_t & | uGet4Id, | ||
const uint32_t & | uRawCh, | ||
const uint32_t & | uRemapCh, | ||
const uint32_t & | uTot ) |
Fill general histograms.
Initialize Start time for evolution plots
---> Per GET4 in system
---> Per GET4 in Component
---> Per raw channel in Component
---> Per remapped (PADI) channel in Component
Definition at line 1191 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fdStartTime, fhGet4MessType, fuNbOfGet4PerComp, fvhCompGet4MessType, fvhCompRawChCount, fvhCompRawChRate, fvhCompRawChTot, fvhCompRemapChCount, fvhCompRemapChRate, and fvhCompRemapChTot.
|
inline |
Fill Ms Component Size Histos.
Definition at line 82 of file CbmTofUnpackMonitor.h.
References fvhMsSize.
|
inline |
Definition at line 83 of file CbmTofUnpackMonitor.h.
References fvhMsSizeTime.
void CbmTofUnpackMonitor::FillScmMonitoringHistos | ( | const uint32_t & | uCurrCompIdx, |
const uint32_t & | uGet4Id, | ||
const uint32_t & | uCh, | ||
const uint32_t & | uEdge, | ||
const uint32_t & | uType ) |
---> Per GET4 in system
---> Per GET4 in Component
Start/SEU + Start flag is set
Definition at line 1235 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fhGet4MessType, fhGet4ScmType, fuNbOfChannelsPerGet4, fuNbOfGet4PerComp, fvhCompGet4ChScm, fvhCompGet4MessType, and critof001::GET4_32B_SLC_START_SEU.
void CbmTofUnpackMonitor::FillSysMonitoringHistos | ( | const uint32_t & | uCurrCompIdx, |
const uint32_t & | uGet4Id, | ||
const uint32_t & | uType ) |
---> Per GET4 in system
Definition at line 1260 of file CbmTofUnpackMonitor.cxx.
References fBmonMicroSpillMode, fhGet4SysMessType, and fuNbOfGet4PerComp.
void CbmTofUnpackMonitor::FinalizeTsBmonMicroSpillHistos | ( | ) |
Finalize BMon Microspill histograms.
Definition at line 1553 of file CbmTofUnpackMonitor.cxx.
References fArrErrCounts, fArrHitCounts, fBmonMicroSpillMode, fdStartTime, fhBmonMicrospillsDistErrs, fhBmonMicrospillsDistHits, fhBmonMicrospillsTsBinCntErrs, fhBmonMicrospillsTsBinCntHits, fhBmonMicrospillsTsBinFractErrs, fhBmonMicrospillsTsBinFractHits, fhBmonMicrospillsTsBinRatioErrs, fhBmonMicrospillsTsBinRatioHits, fhBmonMicrospillsTsMeanErrs, fhBmonMicrospillsTsMeanHits, fhBmonMicrospillsTsMedianErrs, fhBmonMicrospillsTsMedianHits, fuBmonMicrospillsNbBinsTs, and fuNbTsMicrospills.
void CbmTofUnpackMonitor::Finish | ( | ) |
Write all histograms and canvases to file.
Obtain vector of pointers on each histo (+ optionally desired folder)
Obtain vector of pointers on each canvas (+ optionally desired folder)
Save old global file and folder pointer to avoid messing with FairRoot
Write histos to output file
Make sure we end up in chosen folder
Write plot
Write canvases to output file
Make sure we end up in chosen folder
Write canvas
Restore old global file and folder pointer to avoid messing with FairRoot
Cleanup memory
Definition at line 1663 of file CbmTofUnpackMonitor.cxx.
References fHistoFileName, fvpAllCanvasPointers, fvpAllHistoPointers, GetCanvasVector(), and GetHistoVector().
|
inline |
Read the Bmon mode.
Definition at line 121 of file CbmTofUnpackMonitor.h.
References fBmonMicroSpillMode.
|
inline |
|
inline |
|
inline |
Definition at line 77 of file CbmTofUnpackMonitor.h.
References fvpAllCanvasPointers.
|
inline |
Set start time for evolution histos.
Definition at line 139 of file CbmTofUnpackMonitor.h.
References fdStartTime.
|
inline |
Definition at line 71 of file CbmTofUnpackMonitor.h.
References fvpAllHistoPointers.
|
inline |
Read the Bmon mode.
Definition at line 133 of file CbmTofUnpackMonitor.h.
References fbInternalHttp.
|
inline |
Definition at line 79 of file CbmTofUnpackMonitor.h.
References kuMaxNbFlibLinks.
Bool_t CbmTofUnpackMonitor::Init | ( | CbmMcbm2018TofPar * | digiParSet | ) |
Init all required parameter informations and histograms.
Other constants are defined for the AFCK/DPB in the current parameter class!!!
Save old global file and folder pointer to avoid messing with FairRoot
Trigger histo creation on all associated monitors
Restore old global file and folder pointer to avoid messing with FairRoot
Obtain vector of pointers on each histo from the algo (+ optionally desired folder)
Obtain vector of pointers on each canvas from the algo (+ optionally desired folder)
Register the histos and canvases in the HTTP server
Definition at line 1594 of file CbmTofUnpackMonitor.cxx.
References CreateBmonHistograms(), CreateHistograms(), CreateHistogramsMicroSpills(), DrawBmonCanvases(), DrawCanvases(), DrawCanvasesMicroSpills(), fbInternalHttp, fBmonMicroSpillMode, fBmonMode, fuNbOfChannelsPerComp, fuNbOfChannelsPerGet4, fuNbOfComps, fuNbOfGet4InSyst, fuNbOfGet4PerComp, fUnpackPar, GetCanvasVector(), GetHistoVector(), and CbmMcbm2018TofPar::GetNrOfGdpbs().
|
private |
Bool_t CbmTofUnpackMonitor::ResetBmonHistograms | ( | Bool_t | bResetTime | ) |
Also reset the Start time for the evolution plots!
Definition at line 730 of file CbmTofUnpackMonitor.cxx.
References fdStartTime, fhBmonChanHitMap, fhBmonChanHitMapAll, fhBmonChanHitMapEvo, fhBmonChanHitMapEvoAll, fhBmonChannelMap, fhBmonChannelMapAll, fhBmonChannelMapPulser, fhBmonChannelTotAll, fhBmonCompGet4, fhBmonCompMap, fhBmonErrorCntEvo, fhBmonErrorCntPerMsEvo, fhBmonErrorFractEvo, fhBmonErrorFractPerMsEvo, fhBmonGet4Map, fhBmonGet4MapEvo, fhBmonHitCntEvo, fhBmonHitCntPerMsEvo, fhBmonHitMapEvo, fhBmonHitMapEvoAll, fhBmonHitMapEvoPulser, fhBmonHitsPerSpill, fhBmonHitTotEvo, fhBmonHitTotEvoAll, fhBmonLostEvtCntPerMsEvo, fhBmonLostEvtFractEvo, fhBmonLostEvtFractPerMsEvo, fhBmonMsgCntEvo, fhBmonMsgCntPerMsEvo, fuCurrentSpillIdx, fuCurrentSpillPlot, fuNbChanBmon, fvhBmonChannelMapSpill, fvhBmonCompMapSpill, fvhBmonErrorCntEvoChan, fvhBmonErrorCntPerMsEvoChan, fvhBmonErrorFractEvoChan, fvhBmonErrorFractPerMsEvoChan, fvhBmonEvtLostCntEvoChan, fvhBmonEvtLostCntPerMsEvoChan, fvhBmonEvtLostFractEvoChan, fvhBmonEvtLostFractPerMsEvoChan, fvhBmonHitCntEvoChan, fvhBmonHitCntPerMsEvoChan, fvhBmonMsgCntEvoChan, fvhBmonMsgCntPerMsEvoChan, and kuNbSpillPlots.
Bool_t CbmTofUnpackMonitor::ResetHistograms | ( | ) |
---> Per GET4 in Component
---> Per raw channel in Component
---> Per remapped (PADI) channel in Component
Definition at line 411 of file CbmTofUnpackMonitor.cxx.
References fhGet4EpochFlags, fhGet4ErrorsType, fhGet4MessType, fhGet4ScmType, fuNbOfComps, fvhCompGet4ChErrors, fvhCompGet4ChScm, fvhCompGet4MessType, fvhCompRawChCount, fvhCompRawChRate, fvhCompRawChTot, fvhCompRemapChCount, fvhCompRemapChRate, and fvhCompRemapChTot.
Bool_t CbmTofUnpackMonitor::ResetHistogramsMicroSpills | ( | Bool_t | bResetTime | ) |
Definition at line 1094 of file CbmTofUnpackMonitor.cxx.
References fhBmonMicrospillsTsBinCntErrs, fhBmonMicrospillsTsBinCntHits, fhBmonMicrospillsTsBinFractErrs, fhBmonMicrospillsTsBinFractHits, fhBmonMicrospillsTsBinRatioErrs, fhBmonMicrospillsTsBinRatioHits, fhBmonMicrospillsTsMeanErrs, fhBmonMicrospillsTsMeanHits, fhBmonMicrospillsTsMedianErrs, and fhBmonMicrospillsTsMedianHits.
Bool_t CbmTofUnpackMonitor::ResetMsComponentSizeHistos | ( | UInt_t | component | ) |
Definition at line 400 of file CbmTofUnpackMonitor.cxx.
References fvhMsSize, and fvhMsSizeTime.
void CbmTofUnpackMonitor::SetBmonChannelMap | ( | std::vector< uint32_t > | vChanMapIn | ) |
Definition at line 59 of file CbmTofUnpackMonitor.cxx.
References fuBmonChanMap.
|
inline |
Activate the BMon mode.
Definition at line 118 of file CbmTofUnpackMonitor.h.
References fBmonMicroSpillMode.
|
inline |
|
inline |
Activate the BMon sCVD mode.
Definition at line 124 of file CbmTofUnpackMonitor.h.
References fBmonScvdMode.
|
inline |
Definition at line 48 of file CbmTofUnpackMonitor.h.
References fHistoFileName.
|
inline |
Set start time for evolution histos.
Definition at line 136 of file CbmTofUnpackMonitor.h.
References fdStartTime.
|
inline |
Activate/de-activate the internal histo serve mode.
Definition at line 130 of file CbmTofUnpackMonitor.h.
References fbInternalHttp.
|
inline |
Definition at line 60 of file CbmTofUnpackMonitor.h.
References fuLongHistoBinSizeSec, and fuLongHistoNbSeconds.
|
inline |
Definition at line 50 of file CbmTofUnpackMonitor.h.
References fuMaxTotPulser, and fuMinTotPulser.
|
inline |
Definition at line 57 of file CbmTofUnpackMonitor.h.
References fdSpillCheckInterval.
|
inline |
Definition at line 55 of file CbmTofUnpackMonitor.h.
References fuOffSpillCountLimit.
|
inline |
Definition at line 56 of file CbmTofUnpackMonitor.h.
References fuOffSpillCountLimitNonPulser.
|
private |
Size in seconds of the evolution histograms
Definition at line 156 of file CbmTofUnpackMonitor.h.
|
private |
Definition at line 281 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), and FinalizeTsBmonMicroSpillHistos().
|
private |
Definition at line 280 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), and FinalizeTsBmonMicroSpillHistos().
|
private |
Definition at line 166 of file CbmTofUnpackMonitor.h.
Referenced by GetInternalHttpMode(), Init(), and SetInternalHttpMode().
|
private |
Definition at line 165 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), FillEpochMonitoringHistos(), FillErrBmonMonitoringHistos(), FillErrMonitoringHistos(), FillHitBmonMicroSpillHistos(), FillHitBmonMonitoringHistos(), FillHitMonitoringHistos(), FillScmMonitoringHistos(), FillSysMonitoringHistos(), FinalizeTsBmonMicroSpillHistos(), GetBmonMicroSpillMode(), Init(), and SetBmonMicroSpillMode().
|
private |
Flag if debug mode is active or not.
Definition at line 163 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), GetBmonMode(), Init(), and SetBmonMode().
|
private |
Definition at line 164 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), GetBmonScvdMode(), and SetBmonScvdMode().
|
private |
Spill detection.
Definition at line 313 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits().
|
private |
Definition at line 303 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
Definition at line 302 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
---> BMon Microspills monitoring
Definition at line 308 of file CbmTofUnpackMonitor.h.
Referenced by DrawCanvasesMicroSpills().
|
private |
Definition at line 310 of file CbmTofUnpackMonitor.h.
Referenced by DrawCanvasesMicroSpills().
|
private |
Definition at line 309 of file CbmTofUnpackMonitor.h.
Referenced by DrawCanvasesMicroSpills().
|
private |
Definition at line 306 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
Definition at line 304 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
Definition at line 305 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
|
private |
Definition at line 301 of file CbmTofUnpackMonitor.h.
Referenced by DrawBmonCanvases().
|
private |
Canvases ---> Generic
Definition at line 297 of file CbmTofUnpackMonitor.h.
Referenced by DrawCanvases().
|
private |
Definition at line 317 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits().
|
private |
BMon micro-spills monitoring histograms.
Definition at line 277 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills().
|
private |
Definition at line 180 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), and SetSpillCheckInterval().
|
private |
Total/maximum number of Get4 in system.
Rate evolution histos
Definition at line 154 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), FillErrBmonMonitoringHistos(), FillHitBmonMicroSpillHistos(), FillHitBmonMonitoringHistos(), FillHitMonitoringHistos(), FinalizeTsBmonMicroSpillHistos(), GetHistosStartTime(), ResetBmonHistograms(), and SetHistosStartTime().
|
private |
Definition at line 316 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits().
|
private |
Definition at line 252 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 245 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 253 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 246 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 249 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 241 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
---> Pulser
Definition at line 273 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 242 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 238 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
---> No Pulser cut
Definition at line 248 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
---> Channels maps without cuts
Definition at line 237 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and FillHitBmonMonitoringHistos().
|
private |
Definition at line 261 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 268 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 263 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillErrBmonMonitoringHistos(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 270 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), and ResetBmonHistograms().
|
private |
Definition at line 239 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 240 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 260 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 267 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), and ResetBmonHistograms().
|
private |
Definition at line 250 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 243 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 274 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 257 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 251 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 244 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 262 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and FillErrBmonMonitoringHistos().
|
private |
Definition at line 269 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 264 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 271 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), and ResetBmonHistograms().
|
private |
Definition at line 283 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), FillErrBmonMonitoringHistos(), and FinalizeTsBmonMicroSpillHistos().
|
private |
Definition at line 282 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), FillHitBmonMicroSpillHistos(), and FinalizeTsBmonMicroSpillHistos().
|
private |
Definition at line 285 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 284 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 293 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 292 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 291 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 290 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 287 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 286 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 289 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
Definition at line 288 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), DrawCanvasesMicroSpills(), FinalizeTsBmonMicroSpillHistos(), and ResetHistogramsMicroSpills().
|
private |
---> Global Rate
Definition at line 259 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
---> Global Rate per MS
Definition at line 266 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), DrawBmonCanvases(), and ResetBmonHistograms().
|
private |
Definition at line 199 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillEpochMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 202 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillErrMonitoringHistos(), and ResetHistograms().
|
private |
TOF system general histograms ---> Per GET4 in system
Definition at line 198 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillEpochMonitoringHistos(), FillErrMonitoringHistos(), FillHitMonitoringHistos(), FillScmMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 200 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillScmMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 201 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), and FillSysMonitoringHistos().
|
private |
Definition at line 142 of file CbmTofUnpackMonitor.h.
Referenced by Finish(), and SetHistoFileName().
|
private |
---> Pulser
Definition at line 216 of file CbmTofUnpackMonitor.h.
|
private |
Definition at line 217 of file CbmTofUnpackMonitor.h.
|
private |
Definition at line 190 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and SetBmonChannelMap().
|
private |
Definition at line 318 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), and FillHitBmonMonitoringHistos().
|
private |
Definition at line 278 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistogramsMicroSpills(), and FinalizeTsBmonMicroSpillHistos().
|
private |
Definition at line 319 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), and FillHitBmonMonitoringHistos().
|
private |
Definition at line 314 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 315 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots
Definition at line 155 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and CreateHistograms().
|
private |
Definition at line 160 of file CbmTofUnpackMonitor.h.
|
private |
Definition at line 159 of file CbmTofUnpackMonitor.h.
Referenced by SetLongDurationLimits().
|
private |
Definition at line 158 of file CbmTofUnpackMonitor.h.
Referenced by SetLongDurationLimits().
|
private |
Definition at line 177 of file CbmTofUnpackMonitor.h.
Referenced by FillHitBmonMonitoringHistos(), and SetPulserTotLimits().
|
private |
---> User settings: Data correction parameters
Definition at line 176 of file CbmTofUnpackMonitor.h.
Referenced by FillHitBmonMonitoringHistos(), and SetPulserTotLimits().
|
private |
Runtime values.
Definition at line 189 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Number of channels per Get4, constant.
Definition at line 150 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), and Init().
|
private |
Max number of Get4 per component.
Definition at line 149 of file CbmTofUnpackMonitor.h.
Referenced by FillErrMonitoringHistos(), FillScmMonitoringHistos(), and Init().
|
private |
Readout chain dimensions and mapping.
Definition at line 147 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), CreateHistograms(), DrawCanvases(), Init(), and ResetHistograms().
|
private |
Number of channels per Component, recalculated.
Definition at line 151 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), and Init().
|
private |
Total number of Components in the system.
Definition at line 148 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), FillEpochMonitoringHistos(), FillErrMonitoringHistos(), FillHitMonitoringHistos(), FillScmMonitoringHistos(), FillSysMonitoringHistos(), and Init().
|
private |
Definition at line 279 of file CbmTofUnpackMonitor.h.
Referenced by FinalizeTsBmonMicroSpillHistos().
|
private |
Settings from parameter file.
Definition at line 145 of file CbmTofUnpackMonitor.h.
Referenced by Init().
|
private |
Definition at line 178 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), and SetSpillThreshold().
|
private |
Definition at line 179 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), and SetSpillThresholdNonPulser().
|
private |
Definition at line 298 of file CbmTofUnpackMonitor.h.
Referenced by DrawCanvases().
|
private |
Definition at line 256 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
---> No Pulser cut + Spill detection
Definition at line 255 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), CreateBmonHistograms(), DrawBmonCanvases(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 228 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 229 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 232 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 233 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 230 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 231 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 234 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillErrBmonMonitoringHistos(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 235 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 226 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), FillHitBmonMonitoringHistos(), and ResetBmonHistograms().
|
private |
Definition at line 227 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 224 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 225 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and ResetBmonHistograms().
|
private |
Definition at line 206 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillErrMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 205 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillScmMonitoringHistos(), and ResetHistograms().
|
private |
---> Per GET4 in Component
Definition at line 204 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillEpochMonitoringHistos(), FillErrMonitoringHistos(), FillHitMonitoringHistos(), FillScmMonitoringHistos(), and ResetHistograms().
|
private |
---> Per raw channel in Component
Definition at line 208 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 209 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 210 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
---> Per remapped (PADI) channel in Component
Definition at line 212 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 213 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
Definition at line 214 of file CbmTofUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillHitMonitoringHistos(), and ResetHistograms().
|
private |
MS size histograms.
Definition at line 193 of file CbmTofUnpackMonitor.h.
Referenced by CbmTofUnpackMonitor(), CreateMsComponentSizeHistos(), FillMsSize(), and ResetMsComponentSizeHistos().
|
private |
Definition at line 194 of file CbmTofUnpackMonitor.h.
Referenced by CbmTofUnpackMonitor(), CreateMsComponentSizeHistos(), FillMsSizeTime(), and ResetMsComponentSizeHistos().
|
private |
Vector of pointers to histograms + optional folder name.
Definition at line 335 of file CbmTofUnpackMonitor.h.
Referenced by AddCanvasToVector(), Finish(), GetCanvasVector(), and ~CbmTofUnpackMonitor().
|
private |
For monitoring of internal processes. => 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 333 of file CbmTofUnpackMonitor.h.
Referenced by AddHistoToVector(), Finish(), GetHistoVector(), and ~CbmTofUnpackMonitor().
|
private |
Definition at line 222 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and FillErrBmonMonitoringHistos().
|
private |
Definition at line 223 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and FillErrBmonMonitoringHistos().
|
private |
BMon specific histograms ---> Channel rate plots
Definition at line 221 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms(), and FillHitBmonMonitoringHistos().
|
staticconstexprprivate |
Map from electronics channel to BMon strip 2022 mapping: Y[0-3] on c0, Y[4-7] on c1, X[4-7] on c2, X[0-3] on c3, re-ordered in par file and par class Y not cabled for diamond but pulser there
Definition at line 184 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms().
|
staticconstexprprivate |
2024 mapping: +4 channels scvd added
Definition at line 186 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms().
|
staticprivate |
Definition at line 170 of file CbmTofUnpackMonitor.h.
|
staticprivate |
---> Constants
Definition at line 169 of file CbmTofUnpackMonitor.h.
Referenced by CbmTofUnpackMonitor(), and GetMaxNbFlibLinks().
|
staticprivate |
Definition at line 171 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms().
|
staticprivate |
Definition at line 172 of file CbmTofUnpackMonitor.h.
Referenced by CreateBmonHistograms().
|
staticprivate |
Definition at line 173 of file CbmTofUnpackMonitor.h.
Referenced by CheckBmonSpillLimits(), CreateBmonHistograms(), DrawBmonCanvases(), and ResetBmonHistograms().