CbmRoot
|
#include <CbmStsUnpackMonitor.h>
Public Member Functions | |
CbmStsUnpackMonitor () | |
virtual | ~CbmStsUnpackMonitor () |
void | ResetDebugInfo () |
void | PrintDebugInfo (const uint64_t MsStartTime, const size_t NrProcessedTs, const uint16_t msDescriptorFlags, const uint32_t uSize) |
Bool_t | Init (CbmMcbm2018StsPar *digiParSet) |
Init all required parameter informations and histograms. | |
Bool_t | CreateHistograms (CbmMcbm2018StsPar *pUnpackPar) |
Bool_t | ResetHistograms () |
Bool_t | CreateDebugHistograms (CbmMcbm2018StsPar *pUnpackPar) |
Bool_t | ResetDebugHistograms () |
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 | DrawCanvases () |
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 () |
void | SetLongDurationLimits (UInt_t uDurationSeconds, UInt_t uBinSize) |
UInt_t | GetMaxNbFlibLinks () |
void | FillVectorSize (ULong64_t TsIdx, UInt_t Size) |
Fill general histograms. | |
void | FillVectorCapacity (ULong64_t TsIdx, UInt_t Capacity) |
void | FillMsCntEvo (ULong64_t MsIdx) |
void | FillMsErrorsEvo (ULong64_t MsIdx, uint16_t MsErrorType) |
void | FillDigisTimeInRun (Double_t Time) |
void | FillStsAllFebsHitRateEvo (Double_t dTimeSinceStartSec, UInt_t uFebIdx) |
void | FillStsAllAsicsHitRateEvo (Double_t dTimeSinceStartSec, UInt_t uAsicIdx) |
void | FillStsFebAsicHitCounts (UInt_t uFebIdx, UInt_t uAsicInFeb) |
void | FillStsStatusMessType (UInt_t uAsicIdx, UShort_t usStatusField) |
void | FillStsFebChanCntRaw (UInt_t uFebIdx, UInt_t uChanInFeb) |
Fill general "per Feb" histogram vectors. | |
void | FillStsFebChanAdcRaw (UInt_t uFebIdx, UInt_t uChanInFeb, UShort_t usRawAdc) |
void | FillStsFebChanAdcRawProf (UInt_t uFebIdx, UInt_t uChanInFeb, UShort_t usRawAdc) |
void | FillStsFebChanAdcCal (UInt_t uFebIdx, UInt_t uChanInFeb, Double_t dCalAdc) |
void | FillStsFebChanAdcCalProf (UInt_t uFebIdx, UInt_t uChanInFeb, Double_t dCalAdc) |
void | FillStsFebChanRawTs (UInt_t uFebIdx, UInt_t uChan, UShort_t usRawTs) |
void | FillStsFebChanMissEvt (UInt_t uFebIdx, UInt_t uChan, bool missEvtFlag) |
void | FillStsFebChanMissEvtEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec, UInt_t uChanInFeb) |
void | FillStsFebAsicMissEvtEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec, UInt_t uAsicInFeb) |
void | FillStsFebMissEvtEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec) |
void | FillStsFebChanHitRateEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec, UInt_t uChanInFeb) |
void | FillStsFebAsicHitRateEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec, UInt_t uAsicInFeb) |
void | FillStsFebHitRateEvo (UInt_t uFebIdx, Double_t dTimeSinceStartSec) |
void | FillStsFebChanHitRateEvoLong (UInt_t uFebIdx, Double_t dTimeSinceStartMin, UInt_t uChanInFeb) |
void | FillStsFebAsicHitRateEvoLong (UInt_t uFebIdx, Double_t dTimeSinceStartMin, UInt_t uAsicInFeb) |
void | FillStsFebHitRateEvoLong (UInt_t uFebIdx, Double_t dTimeSinceStartMin) |
void | FillStsMessType (uint16_t typeMess) |
Fill debugging histograms. | |
void | FillStsMessTypePerDpb (UInt_t DpbIdx, uint16_t typeMess) |
void | FillStsMessTypePerElink (UInt_t ElinkIdx, uint16_t typeMess) |
void | FillStsHitsElinkPerDpb (UInt_t DpbIdx, UInt_t ElinkIdx) |
void | FillStsDpbRawTsMsb (UInt_t uCurrDpbIdx, ULong_t ulCurrentTsMsb) |
void | FillStsDpbRawTsMsbSx (UInt_t uCurrDpbIdx, ULong_t ulCurrentTsMsb) |
void | FillStsDpbRawTsMsbDpb (UInt_t uCurrDpbIdx, ULong_t ulCurrentTsMsb) |
void | FillStsChanCntRaw (UInt_t uAsicIdx, UShort_t usChan) |
Fill debugging "per Asic" histogram vectors. | |
void | FillStsChanAdcRaw (UInt_t uAsicIdx, UShort_t usChan, UShort_t usRawAdc) |
void | FillStsChanAdcRawProf (UInt_t uAsicIdx, UShort_t usChan, UShort_t usRawAdc) |
void | FillStsChanRawTs (UInt_t uAsicIdx, UShort_t usChan, UShort_t usRawTs) |
void | FillStsChanMissEvt (UInt_t uAsicIdx, UShort_t usChan, bool missedEvtFlag) |
void | FillMsSize (UInt_t uMsComp, UInt_t uSize) |
void | FillMsSizeTime (UInt_t uMsComp, Double_t dTime, UInt_t uSize) |
void | FillHitMonitoringHistos (const UInt_t &uFebIdx, const UShort_t &usChan, const UInt_t &uChanInFeb, const UShort_t &usRawAdc, const Double_t &dCalAdc, const UShort_t &usRawTs, const bool &isHitMissedEvts) |
void | FillHitDebugMonitoringHistos (const UInt_t &uAsicIdx, const UShort_t &usChan, const UShort_t &usRawAdc, const UShort_t &usRawTs, const bool &isHitMissedEvts) |
void | FillHitEvoMonitoringHistos (const UInt_t &uFebIdx, const UInt_t &uAsicIdx, const UInt_t &uAsicInFeb, const UInt_t &uChanInFeb, const Double_t &dAbsTimeSec, const bool &isHitMissedEvts) |
void | CountRawHit (uint32_t uFebIdx, uint32_t uChanInFeb) |
void | CountDigi (uint32_t uFebIdx, uint32_t uChanInFeb) |
void | FillPerTimesliceCountersHistos (double_t dTsStartTime) |
void | FillDuplicateHitsAdc (const uint32_t &uFebIdx, const uint32_t &uChanInFeb, const uint16_t &usAdc) |
bool | GetDebugMode () |
Activate the debug mode. | |
void | ProcessDebugInfo (const stsxyter::Message &Mess, const UInt_t &uCurrDpbIdx) |
void | SetDebugMode (bool value) |
Activate the debug mode. | |
Public Attributes | |
std::vector< uint32_t > | vNbMessType |
std::string | sMessPatt = "" |
bool | bError = false |
Private Member Functions | |
CbmStsUnpackMonitor (const CbmStsUnpackMonitor &) | |
Vector of pointers to canvases + optional folder name. | |
CbmStsUnpackMonitor | operator= (const CbmStsUnpackMonitor &) |
Private Attributes | |
TString | fHistoFileName = "HistosUnpackerSts.root" |
double_t | dFirstTsStartTime = 0 |
Rate evolution histos. | |
double | fdStartTime = -1 |
double | fdStartTimeMsSz = -1 |
UInt_t | fuLongHistoNbSeconds = 3600 |
UInt_t | fuLongHistoBinSizeSec = 10 |
UInt_t | fuLongHistoBinNb = 1 |
std::vector< uint32_t > | fvuNbRawTsFeb = {} |
Per timeslice counters to evaluate the eventual raw messages rejection per FEB. | |
std::vector< uint32_t > | fvuNbDigisTsFeb = {} |
std::vector< std::vector< uint32_t > > | fvvuNbRawTsChan = {} |
Per timeslice counters to evaluate the eventual raw messages rejection per [FEB, chan] pairs. | |
std::vector< std::vector< uint32_t > > | fvvuNbDigisTsChan = {} |
std::vector< TCanvas * > | fvcStsSumm |
Canvases. | |
std::vector< TCanvas * > | fvcStsSmxErr |
TH1 * | fhDigisTimeInRun = nullptr |
General histograms. | |
TH1 * | fhVectorSize = nullptr |
TH1 * | fhVectorCapacity = nullptr |
TH1 * | fhMsCntEvo = nullptr |
TH2 * | fhMsErrorsEvo = nullptr |
TH2 * | fhStsAllFebsHitRateEvo = nullptr |
TH2 * | fhStsAllAsicsHitRateEvo = nullptr |
TH2 * | fhStsFebAsicHitCounts = nullptr |
TH2 * | fhStsStatusMessType = nullptr |
TProfile * | fhRawHitRatioPerFeb = nullptr |
std::vector< TProfile * > | fvhRawChRatio = {} |
General "per Feb" histogram vectors. | |
std::vector< TProfile * > | fvhHitChRatio = {} |
std::vector< TProfile * > | fvhDupliChRatio = {} |
std::vector< TProfile * > | fvhRawHitRatioPerCh = {} |
std::vector< TProfile * > | fvhRawDupliRatioPerCh = {} |
std::vector< TH1 * > | fvhStsFebChanCntRaw |
std::vector< TH2 * > | fvhStsFebChanAdcRaw |
std::vector< TProfile * > | fvhStsFebChanAdcRawProf |
std::vector< TH2 * > | fvhStsFebChanAdcCal |
std::vector< TProfile * > | fvhStsFebChanAdcCalProf |
std::vector< TH2 * > | fvhStsFebChanRawTs |
std::vector< TH2 * > | fvhStsFebChanMissEvt |
std::vector< TH2 * > | fvhStsFebChanMissEvtEvo |
std::vector< TH2 * > | fvhStsFebAsicMissEvtEvo |
std::vector< TH1 * > | fvhStsFebMissEvtEvo |
std::vector< TH2 * > | fvhStsFebChanHitRateEvo |
std::vector< TH2 * > | fvhStsFebAsicHitRateEvo |
std::vector< TH1 * > | fvhStsFebHitRateEvo |
std::vector< TH2 * > | fvhStsFebChanHitRateEvoLong |
std::vector< TH2 * > | fvhStsFebAsicHitRateEvoLong |
std::vector< TH1 * > | fvhStsFebHitRateEvoLong |
bool | fDebugMode = false |
Flag if debug mode is active or not. | |
TH1 * | fhStsMessType = nullptr |
Debugging histograms. | |
TH2 * | fhStsMessTypePerDpb = nullptr |
TH2 * | fhStsMessTypePerElink = nullptr |
TH2 * | fhStsHitsElinkPerDpb = nullptr |
TH2 * | fhStsDpbRawTsMsb = nullptr |
TH2 * | fhStsDpbRawTsMsbSx = nullptr |
TH2 * | fhStsDpbRawTsMsbDpb = nullptr |
TProfile2D * | fhRawHitRatioEvoPerFeb = nullptr |
std::vector< TH2 * > | fvhChDupliAdc = {} |
std::vector< TProfile2D * > | fvhRawChRatioEvo = {} |
std::vector< TProfile2D * > | fvhHitChRatioEvo = {} |
std::vector< TProfile2D * > | fvhDupliChRatioEvo = {} |
std::vector< TProfile2D * > | fvhRawHitRatioEvoPerCh = {} |
std::vector< TProfile2D * > | fvhRawDupliRatioEvoPerCh = {} |
TH1 * | fvhMsSize [kiMaxNbFlibLinks] |
TProfile * | fvhMsSizeTime [kiMaxNbFlibLinks] |
std::vector< TH1 * > | fvhStsChanCntRaw |
Debugging "per Asic" histogram vectors. | |
std::vector< TH2 * > | fvhStsChanAdcRaw |
std::vector< TProfile * > | fvhStsChanAdcRawProf |
std::vector< TH2 * > | fvhStsChanRawTs |
std::vector< TH2 * > | fvhStsChanMissEvt |
uint32_t | fNrElinksPerDpb = 0 |
Number of elinks per dpb, extracted from the parset. | |
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 | kiMaxNbFlibLinks = 32 |
Definition at line 20 of file CbmStsUnpackMonitor.h.
CbmStsUnpackMonitor::CbmStsUnpackMonitor | ( | ) |
Definition at line 30 of file CbmStsUnpackMonitor.cxx.
References fvhMsSize, fvhMsSizeTime, and kiMaxNbFlibLinks.
|
virtual |
Definition at line 39 of file CbmStsUnpackMonitor.cxx.
References fvpAllCanvasPointers, and fvpAllHistoPointers.
|
private |
Vector of pointers to canvases + optional folder name.
|
inline |
Definition at line 60 of file CbmStsUnpackMonitor.h.
References fvpAllCanvasPointers.
Referenced by CreateHistograms().
|
inline |
Definition at line 54 of file CbmStsUnpackMonitor.h.
References fvpAllHistoPointers.
Referenced by CreateDebugHistograms(), CreateHistograms(), and CreateMsComponentSizeHistos().
|
inline |
Definition at line 218 of file CbmStsUnpackMonitor.h.
References fvuNbDigisTsFeb, and fvvuNbDigisTsChan.
|
inline |
Definition at line 213 of file CbmStsUnpackMonitor.h.
References fvuNbRawTsFeb, and fvvuNbRawTsChan.
Bool_t CbmStsUnpackMonitor::CreateDebugHistograms | ( | CbmMcbm2018StsPar * | pUnpackPar | ) |
Timeslice counter ratio Plots
Asic plots All histos per Asic: with channels or ASIC as axis!!
Channel counts
Raw Adc Distribution
Raw Adc Distribution profile
Raw Ts Distribution
Missed event flag
Definition at line 457 of file CbmStsUnpackMonitor.cxx.
References AddHistoToVector(), fhRawHitRatioEvoPerFeb, fhStsDpbRawTsMsb, fhStsDpbRawTsMsbDpb, fhStsDpbRawTsMsbSx, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fNrElinksPerDpb, fvhChDupliAdc, fvhDupliChRatioEvo, fvhHitChRatioEvo, fvhRawChRatioEvo, fvhRawDupliRatioEvoPerCh, fvhRawHitRatioEvoPerCh, fvhStsChanAdcRaw, fvhStsChanAdcRawProf, fvhStsChanCntRaw, fvhStsChanMissEvt, fvhStsChanRawTs, CbmMcbm2018StsPar::GetNbChanPerAsic(), CbmMcbm2018StsPar::GetNbChanPerFeb(), CbmMcbm2018StsPar::GetNrOfAsics(), CbmMcbm2018StsPar::GetNrOfDpbs(), CbmMcbm2018StsPar::GetNrOfFebs(), stsxyter::kuHitNbAdcBins, and stsxyter::kuHitNbTsBins.
Referenced by Init().
Bool_t CbmStsUnpackMonitor::CreateHistograms | ( | CbmMcbm2018StsPar * | pUnpackPar | ) |
Initialize the per timeslice counters
Create general unpacking histograms
Hit rates evo per FEB in system
Hit rates evo per ASIC in system
Hit counts map in system
Timeslice counter ratio Plots
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/// FEB-8 plots All histos per FEB: with channels or ASIC as axis!!
Timeslice counter ratio Plots
Channel counts
Raw Adc Distribution
Raw Adc Distribution profile
Cal Adc Distribution
Cal Adc Distribution profile
Raw Ts Distribution
Missed event flag
Missed event flag counts evolution
Missed event flag counts evolution
Missed event flag counts evolution
Hit rates evo per channel
Hit rates evo per StsXyter
Hit rates evo per FEB
Hit rates evo per channel, 1 minute bins, 24h
Hit rates evo per channel, 1 minute bins, 24h
Hit rates evo per FEB, 1 minute bins, 24h
Summary canvases
Definition at line 55 of file CbmStsUnpackMonitor.cxx.
References AddCanvasToVector(), AddHistoToVector(), fhDigisTimeInRun, fhMsCntEvo, fhMsErrorsEvo, fhRawHitRatioPerFeb, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsStatusMessType, fhVectorCapacity, fhVectorSize, fuLongHistoBinNb, fuLongHistoBinSizeSec, fuLongHistoNbSeconds, fvcStsSmxErr, fvcStsSumm, fvhDupliChRatio, fvhHitChRatio, fvhRawChRatio, fvhRawDupliRatioPerCh, fvhRawHitRatioPerCh, fvhStsFebAsicHitRateEvo, fvhStsFebAsicHitRateEvoLong, fvhStsFebAsicMissEvtEvo, fvhStsFebChanAdcCal, fvhStsFebChanAdcCalProf, fvhStsFebChanAdcRaw, fvhStsFebChanAdcRawProf, fvhStsFebChanCntRaw, fvhStsFebChanHitRateEvo, fvhStsFebChanHitRateEvoLong, fvhStsFebChanMissEvt, fvhStsFebChanMissEvtEvo, fvhStsFebChanRawTs, fvhStsFebHitRateEvo, fvhStsFebHitRateEvoLong, fvhStsFebMissEvtEvo, fvuNbDigisTsFeb, fvuNbRawTsFeb, fvvuNbDigisTsChan, fvvuNbRawTsChan, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerFeb(), CbmMcbm2018StsPar::GetNrOfAsics(), CbmMcbm2018StsPar::GetNrOfFebs(), stsxyter::kuHitNbAdcBins, and stsxyter::kuHitNbTsBins.
Referenced by Init().
Bool_t CbmStsUnpackMonitor::CreateMsComponentSizeHistos | ( | UInt_t | component | ) |
Definition at line 356 of file CbmStsUnpackMonitor.cxx.
References AddHistoToVector(), fvhMsSize, and fvhMsSizeTime.
void CbmStsUnpackMonitor::DrawCanvases | ( | ) |
Definition at line 300 of file CbmStsUnpackMonitor.cxx.
References fvcStsSumm, fvhStsFebChanAdcRaw, fvhStsFebChanAdcRawProf, fvhStsFebChanCntRaw, fvhStsFebChanHitRateEvo, and fvhStsFebChanMissEvt.
Referenced by Init().
|
inline |
Definition at line 80 of file CbmStsUnpackMonitor.h.
References fhDigisTimeInRun.
void CbmStsUnpackMonitor::FillDuplicateHitsAdc | ( | const uint32_t & | uFebIdx, |
const uint32_t & | uChanInFeb, | ||
const uint16_t & | usAdc ) |
Definition at line 794 of file CbmStsUnpackMonitor.cxx.
References fDebugMode, and fvhChDupliAdc.
void CbmStsUnpackMonitor::FillHitDebugMonitoringHistos | ( | const UInt_t & | uAsicIdx, |
const UShort_t & | usChan, | ||
const UShort_t & | usRawAdc, | ||
const UShort_t & | usRawTs, | ||
const bool & | isHitMissedEvts ) |
Definition at line 673 of file CbmStsUnpackMonitor.cxx.
References FillStsChanAdcRaw(), FillStsChanAdcRawProf(), FillStsChanCntRaw(), FillStsChanMissEvt(), and FillStsChanRawTs().
void CbmStsUnpackMonitor::FillHitEvoMonitoringHistos | ( | const UInt_t & | uFebIdx, |
const UInt_t & | uAsicIdx, | ||
const UInt_t & | uAsicInFeb, | ||
const UInt_t & | uChanInFeb, | ||
const Double_t & | dAbsTimeSec, | ||
const bool & | isHitMissedEvts ) |
Definition at line 686 of file CbmStsUnpackMonitor.cxx.
References fdStartTime, FillStsAllAsicsHitRateEvo(), FillStsAllFebsHitRateEvo(), FillStsFebAsicHitCounts(), FillStsFebAsicHitRateEvo(), FillStsFebAsicHitRateEvoLong(), FillStsFebAsicMissEvtEvo(), FillStsFebChanHitRateEvo(), FillStsFebChanHitRateEvoLong(), FillStsFebChanMissEvtEvo(), FillStsFebHitRateEvo(), FillStsFebHitRateEvoLong(), and FillStsFebMissEvtEvo().
void CbmStsUnpackMonitor::FillHitMonitoringHistos | ( | const UInt_t & | uFebIdx, |
const UShort_t & | usChan, | ||
const UInt_t & | uChanInFeb, | ||
const UShort_t & | usRawAdc, | ||
const Double_t & | dCalAdc, | ||
const UShort_t & | usRawTs, | ||
const bool & | isHitMissedEvts ) |
Definition at line 657 of file CbmStsUnpackMonitor.cxx.
References FillStsFebChanAdcCal(), FillStsFebChanAdcCalProf(), FillStsFebChanAdcRaw(), FillStsFebChanAdcRawProf(), FillStsFebChanCntRaw(), FillStsFebChanMissEvt(), and FillStsFebChanRawTs().
|
inline |
Definition at line 78 of file CbmStsUnpackMonitor.h.
References fhMsCntEvo.
|
inline |
Definition at line 79 of file CbmStsUnpackMonitor.h.
References fhMsErrorsEvo.
|
inline |
Definition at line 196 of file CbmStsUnpackMonitor.h.
References fvhMsSize.
|
inline |
Definition at line 197 of file CbmStsUnpackMonitor.h.
References fdStartTimeMsSz, and fvhMsSizeTime.
void CbmStsUnpackMonitor::FillPerTimesliceCountersHistos | ( | double_t | dTsStartTime | ) |
Definition at line 728 of file CbmStsUnpackMonitor.cxx.
References dFirstTsStartTime, fDebugMode, fhRawHitRatioEvoPerFeb, fhRawHitRatioPerFeb, fvhDupliChRatio, fvhDupliChRatioEvo, fvhHitChRatio, fvhHitChRatioEvo, fvhRawChRatio, fvhRawChRatioEvo, fvhRawDupliRatioEvoPerCh, fvhRawDupliRatioPerCh, fvhRawHitRatioEvoPerCh, fvhRawHitRatioPerCh, fvuNbDigisTsFeb, fvuNbRawTsFeb, fvvuNbDigisTsChan, and fvvuNbRawTsChan.
|
inline |
Definition at line 85 of file CbmStsUnpackMonitor.h.
References fhStsAllAsicsHitRateEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 81 of file CbmStsUnpackMonitor.h.
References fhStsAllFebsHitRateEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 178 of file CbmStsUnpackMonitor.h.
References fvhStsChanAdcRaw.
Referenced by FillHitDebugMonitoringHistos().
|
inline |
Definition at line 182 of file CbmStsUnpackMonitor.h.
References fvhStsChanAdcRawProf.
Referenced by FillHitDebugMonitoringHistos().
|
inline |
Fill debugging "per Asic" histogram vectors.
Definition at line 177 of file CbmStsUnpackMonitor.h.
References fvhStsChanCntRaw.
Referenced by FillHitDebugMonitoringHistos().
|
inline |
Definition at line 190 of file CbmStsUnpackMonitor.h.
References fvhStsChanMissEvt.
Referenced by FillHitDebugMonitoringHistos().
|
inline |
Definition at line 186 of file CbmStsUnpackMonitor.h.
References fvhStsChanRawTs.
Referenced by FillHitDebugMonitoringHistos().
|
inline |
Definition at line 163 of file CbmStsUnpackMonitor.h.
References fhStsDpbRawTsMsb.
|
inline |
Definition at line 171 of file CbmStsUnpackMonitor.h.
References fhStsDpbRawTsMsbDpb.
|
inline |
Definition at line 167 of file CbmStsUnpackMonitor.h.
References fhStsDpbRawTsMsbSx.
|
inline |
Definition at line 89 of file CbmStsUnpackMonitor.h.
References fhStsFebAsicHitCounts.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 137 of file CbmStsUnpackMonitor.h.
References fvhStsFebAsicHitRateEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 149 of file CbmStsUnpackMonitor.h.
References fvhStsFebAsicHitRateEvoLong.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 125 of file CbmStsUnpackMonitor.h.
References fvhStsFebAsicMissEvtEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 105 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanAdcCal.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 109 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanAdcCalProf.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 97 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanAdcRaw.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 101 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanAdcRawProf.
Referenced by FillHitMonitoringHistos().
|
inline |
Fill general "per Feb" histogram vectors.
Definition at line 96 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanCntRaw.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 133 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanHitRateEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 145 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanHitRateEvoLong.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 117 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanMissEvt.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 121 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanMissEvtEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 113 of file CbmStsUnpackMonitor.h.
References fvhStsFebChanRawTs.
Referenced by FillHitMonitoringHistos().
|
inline |
Definition at line 141 of file CbmStsUnpackMonitor.h.
References fvhStsFebHitRateEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 153 of file CbmStsUnpackMonitor.h.
References fvhStsFebHitRateEvoLong.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 129 of file CbmStsUnpackMonitor.h.
References fvhStsFebMissEvtEvo.
Referenced by FillHitEvoMonitoringHistos().
|
inline |
Definition at line 162 of file CbmStsUnpackMonitor.h.
References fhStsHitsElinkPerDpb.
Referenced by ProcessDebugInfo().
|
inline |
Fill debugging histograms.
Definition at line 159 of file CbmStsUnpackMonitor.h.
References fhStsMessType.
Referenced by ProcessDebugInfo().
|
inline |
Definition at line 160 of file CbmStsUnpackMonitor.h.
References fhStsMessTypePerDpb.
Referenced by ProcessDebugInfo().
|
inline |
Definition at line 161 of file CbmStsUnpackMonitor.h.
References fhStsMessTypePerElink.
Referenced by ProcessDebugInfo().
|
inline |
Definition at line 90 of file CbmStsUnpackMonitor.h.
References fhStsStatusMessType.
|
inline |
Definition at line 77 of file CbmStsUnpackMonitor.h.
References fhVectorCapacity.
|
inline |
Fill general histograms.
Definition at line 76 of file CbmStsUnpackMonitor.h.
References fhVectorSize.
void CbmStsUnpackMonitor::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
Definition at line 935 of file CbmStsUnpackMonitor.cxx.
References fHistoFileName, GetCanvasVector(), and GetHistoVector().
|
inline |
Definition at line 64 of file CbmStsUnpackMonitor.h.
References fvpAllCanvasPointers.
|
inline |
Activate the debug mode.
Definition at line 228 of file CbmStsUnpackMonitor.h.
References fDebugMode.
|
inline |
Definition at line 58 of file CbmStsUnpackMonitor.h.
References fvpAllHistoPointers.
|
inline |
Definition at line 73 of file CbmStsUnpackMonitor.h.
References kiMaxNbFlibLinks.
Bool_t CbmStsUnpackMonitor::Init | ( | CbmMcbm2018StsPar * | digiParSet | ) |
Init all required parameter informations and histograms.
Save old global file and folder pointer to avoid messing with FairRoot
Trigger histo creation on all associated monitors
Trigger Canvas 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 889 of file CbmStsUnpackMonitor.cxx.
References CreateDebugHistograms(), CreateHistograms(), DrawCanvases(), fDebugMode, fNrElinksPerDpb, GetCanvasVector(), GetHistoVector(), and CbmMcbm2018StsPar::GetNbElinkPerDpb().
|
private |
void CbmStsUnpackMonitor::PrintDebugInfo | ( | const uint64_t | MsStartTime, |
const size_t | NrProcessedTs, | ||
const uint16_t | msDescriptorFlags, | ||
const uint32_t | uSize ) |
Definition at line 870 of file CbmStsUnpackMonitor.cxx.
References bError, sMessPatt, and vNbMessType.
void CbmStsUnpackMonitor::ProcessDebugInfo | ( | const stsxyter::Message & | Mess, |
const UInt_t & | uCurrDpbIdx ) |
Definition at line 810 of file CbmStsUnpackMonitor.cxx.
References bError, stsxyter::Dummy, stsxyter::Empty, stsxyter::EndOfMs, stsxyter::Epoch, FillStsHitsElinkPerDpb(), FillStsMessType(), FillStsMessTypePerDpb(), FillStsMessTypePerElink(), fNrElinksPerDpb, stsxyter::Message::GetLinkIndex(), stsxyter::Message::GetLinkIndexHitBinning(), stsxyter::Message::GetMessType(), stsxyter::Hit, stsxyter::Message::IsMsErrorFlagOn(), sMessPatt, stsxyter::Status, stsxyter::TsMsb, and vNbMessType.
Bool_t CbmStsUnpackMonitor::ResetDebugHistograms | ( | ) |
Definition at line 616 of file CbmStsUnpackMonitor.cxx.
References fhRawHitRatioEvoPerFeb, fhStsDpbRawTsMsb, fhStsDpbRawTsMsbDpb, fhStsDpbRawTsMsbSx, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fvhChDupliAdc, fvhDupliChRatioEvo, fvhHitChRatioEvo, fvhRawChRatioEvo, fvhRawDupliRatioEvoPerCh, fvhRawHitRatioEvoPerCh, fvhStsChanAdcRaw, fvhStsChanAdcRawProf, fvhStsChanCntRaw, fvhStsChanMissEvt, and fvhStsChanRawTs.
void CbmStsUnpackMonitor::ResetDebugInfo | ( | ) |
Definition at line 802 of file CbmStsUnpackMonitor.cxx.
References bError, sMessPatt, and vNbMessType.
Bool_t CbmStsUnpackMonitor::ResetHistograms | ( | ) |
Definition at line 386 of file CbmStsUnpackMonitor.cxx.
References fhDigisTimeInRun, fhMsCntEvo, fhMsErrorsEvo, fhRawHitRatioPerFeb, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsStatusMessType, fhVectorCapacity, fhVectorSize, fvhDupliChRatio, fvhHitChRatio, fvhRawChRatio, fvhRawDupliRatioPerCh, fvhRawHitRatioPerCh, fvhStsFebAsicHitRateEvo, fvhStsFebAsicHitRateEvoLong, fvhStsFebAsicMissEvtEvo, fvhStsFebChanAdcCal, fvhStsFebChanAdcCalProf, fvhStsFebChanAdcRaw, fvhStsFebChanAdcRawProf, fvhStsFebChanCntRaw, fvhStsFebChanHitRateEvo, fvhStsFebChanHitRateEvoLong, fvhStsFebChanMissEvt, fvhStsFebChanMissEvtEvo, fvhStsFebChanRawTs, fvhStsFebHitRateEvo, fvhStsFebHitRateEvoLong, and fvhStsFebMissEvtEvo.
Bool_t CbmStsUnpackMonitor::ResetMsComponentSizeHistos | ( | UInt_t | component | ) |
Definition at line 375 of file CbmStsUnpackMonitor.cxx.
References fvhMsSize, and fvhMsSizeTime.
|
inline |
Activate the debug mode.
Definition at line 233 of file CbmStsUnpackMonitor.h.
References fDebugMode.
|
inline |
Definition at line 50 of file CbmStsUnpackMonitor.h.
References fHistoFileName.
|
inline |
Definition at line 66 of file CbmStsUnpackMonitor.h.
References fuLongHistoBinSizeSec, and fuLongHistoNbSeconds.
bool CbmStsUnpackMonitor::bError = false |
Definition at line 29 of file CbmStsUnpackMonitor.h.
Referenced by PrintDebugInfo(), ProcessDebugInfo(), and ResetDebugInfo().
|
private |
Rate evolution histos.
Definition at line 239 of file CbmStsUnpackMonitor.h.
Referenced by FillPerTimesliceCountersHistos().
|
private |
Flag if debug mode is active or not.
Definition at line 294 of file CbmStsUnpackMonitor.h.
Referenced by FillDuplicateHitsAdc(), FillPerTimesliceCountersHistos(), GetDebugMode(), Init(), and SetDebugMode().
|
private |
Definition at line 240 of file CbmStsUnpackMonitor.h.
Referenced by FillHitEvoMonitoringHistos().
|
private |
Definition at line 241 of file CbmStsUnpackMonitor.h.
Referenced by FillMsSizeTime().
|
private |
General histograms.
Definition at line 259 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillDigisTimeInRun(), and ResetHistograms().
|
private |
Definition at line 236 of file CbmStsUnpackMonitor.h.
Referenced by Finish(), and SetHistoFileName().
|
private |
Definition at line 262 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillMsCntEvo(), and ResetHistograms().
|
private |
Definition at line 263 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillMsErrorsEvo(), and ResetHistograms().
|
private |
Definition at line 305 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 268 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 265 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsAllAsicsHitRateEvo(), and ResetHistograms().
|
private |
Definition at line 264 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsAllFebsHitRateEvo(), and ResetHistograms().
|
private |
Definition at line 301 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsDpbRawTsMsb(), and ResetDebugHistograms().
|
private |
Definition at line 303 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsDpbRawTsMsbDpb(), and ResetDebugHistograms().
|
private |
Definition at line 302 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsDpbRawTsMsbSx(), and ResetDebugHistograms().
|
private |
Definition at line 266 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebAsicHitCounts(), and ResetHistograms().
|
private |
Definition at line 300 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsHitsElinkPerDpb(), and ResetDebugHistograms().
|
private |
Debugging histograms.
Definition at line 297 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsMessType(), and ResetDebugHistograms().
|
private |
Definition at line 298 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsMessTypePerDpb(), and ResetDebugHistograms().
|
private |
Definition at line 299 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsMessTypePerElink(), and ResetDebugHistograms().
|
private |
Definition at line 267 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsStatusMessType(), and ResetHistograms().
|
private |
Definition at line 261 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillVectorCapacity(), and ResetHistograms().
|
private |
Definition at line 260 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillVectorSize(), and ResetHistograms().
|
private |
Number of elinks per dpb, extracted from the parset.
Definition at line 325 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), Init(), and ProcessDebugInfo().
|
private |
Definition at line 245 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms().
|
private |
Definition at line 244 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), and SetLongDurationLimits().
|
private |
Definition at line 243 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), and SetLongDurationLimits().
|
private |
Definition at line 256 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms().
|
private |
Canvases.
Definition at line 255 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), and DrawCanvases().
|
private |
Definition at line 306 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillDuplicateHitsAdc(), and ResetDebugHistograms().
|
private |
Definition at line 273 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 309 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 272 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 308 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 314 of file CbmStsUnpackMonitor.h.
Referenced by CbmStsUnpackMonitor(), CreateMsComponentSizeHistos(), FillMsSize(), and ResetMsComponentSizeHistos().
|
private |
Definition at line 315 of file CbmStsUnpackMonitor.h.
Referenced by CbmStsUnpackMonitor(), CreateMsComponentSizeHistos(), FillMsSizeTime(), and ResetMsComponentSizeHistos().
|
private |
General "per Feb" histogram vectors.
Definition at line 271 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 307 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 311 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 275 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 310 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillPerTimesliceCountersHistos(), and ResetDebugHistograms().
|
private |
Definition at line 274 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillPerTimesliceCountersHistos(), and ResetHistograms().
|
private |
Definition at line 319 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsChanAdcRaw(), and ResetDebugHistograms().
|
private |
Definition at line 320 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsChanAdcRawProf(), and ResetDebugHistograms().
|
private |
Debugging "per Asic" histogram vectors.
Definition at line 318 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsChanCntRaw(), and ResetDebugHistograms().
|
private |
Definition at line 322 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsChanMissEvt(), and ResetDebugHistograms().
|
private |
Definition at line 321 of file CbmStsUnpackMonitor.h.
Referenced by CreateDebugHistograms(), FillStsChanRawTs(), and ResetDebugHistograms().
|
private |
Definition at line 287 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebAsicHitRateEvo(), and ResetHistograms().
|
private |
Definition at line 290 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebAsicHitRateEvoLong(), and ResetHistograms().
|
private |
Definition at line 284 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebAsicMissEvtEvo(), and ResetHistograms().
|
private |
Definition at line 279 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebChanAdcCal(), and ResetHistograms().
|
private |
Definition at line 280 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebChanAdcCalProf(), and ResetHistograms().
|
private |
Definition at line 277 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillStsFebChanAdcRaw(), and ResetHistograms().
|
private |
Definition at line 278 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillStsFebChanAdcRawProf(), and ResetHistograms().
|
private |
Definition at line 276 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillStsFebChanCntRaw(), and ResetHistograms().
|
private |
Definition at line 286 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillStsFebChanHitRateEvo(), and ResetHistograms().
|
private |
Definition at line 289 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebChanHitRateEvoLong(), and ResetHistograms().
|
private |
Definition at line 282 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), DrawCanvases(), FillStsFebChanMissEvt(), and ResetHistograms().
|
private |
Definition at line 283 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebChanMissEvtEvo(), and ResetHistograms().
|
private |
Definition at line 281 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebChanRawTs(), and ResetHistograms().
|
private |
Definition at line 288 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebHitRateEvo(), and ResetHistograms().
|
private |
Definition at line 291 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebHitRateEvoLong(), and ResetHistograms().
|
private |
Definition at line 285 of file CbmStsUnpackMonitor.h.
Referenced by CreateHistograms(), FillStsFebMissEvtEvo(), and ResetHistograms().
|
private |
Vector of pointers to histograms + optional folder name.
Definition at line 342 of file CbmStsUnpackMonitor.h.
Referenced by AddCanvasToVector(), GetCanvasVector(), and ~CbmStsUnpackMonitor().
|
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 340 of file CbmStsUnpackMonitor.h.
Referenced by AddHistoToVector(), GetHistoVector(), and ~CbmStsUnpackMonitor().
|
private |
Definition at line 249 of file CbmStsUnpackMonitor.h.
Referenced by CountDigi(), CreateHistograms(), and FillPerTimesliceCountersHistos().
|
private |
Per timeslice counters to evaluate the eventual raw messages rejection per FEB.
Definition at line 248 of file CbmStsUnpackMonitor.h.
Referenced by CountRawHit(), CreateHistograms(), and FillPerTimesliceCountersHistos().
|
private |
Definition at line 252 of file CbmStsUnpackMonitor.h.
Referenced by CountDigi(), CreateHistograms(), and FillPerTimesliceCountersHistos().
|
private |
Per timeslice counters to evaluate the eventual raw messages rejection per [FEB, chan] pairs.
Definition at line 251 of file CbmStsUnpackMonitor.h.
Referenced by CountRawHit(), CreateHistograms(), and FillPerTimesliceCountersHistos().
|
staticprivate |
Definition at line 313 of file CbmStsUnpackMonitor.h.
Referenced by CbmStsUnpackMonitor(), and GetMaxNbFlibLinks().
std::string CbmStsUnpackMonitor::sMessPatt = "" |
Definition at line 28 of file CbmStsUnpackMonitor.h.
Referenced by PrintDebugInfo(), ProcessDebugInfo(), and ResetDebugInfo().
std::vector<uint32_t> CbmStsUnpackMonitor::vNbMessType |
Definition at line 27 of file CbmStsUnpackMonitor.h.
Referenced by PrintDebugInfo(), ProcessDebugInfo(), and ResetDebugInfo().