CbmRoot
|
#include <CbmMcbm2018MonitorDataRates.h>
Public Member Functions | |
CbmMcbm2018MonitorDataRates () | |
virtual | ~CbmMcbm2018MonitorDataRates () |
virtual Bool_t | Init () |
virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
virtual void | Reset () |
virtual void | Finish () |
void | SetParContainers () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
void | SetMsLimitLevel (size_t uAcceptBoundaryPct=100) |
size_t | GetMsLimitLevel () |
virtual void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
virtual void | SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb) |
void | SetIgnoreOverlapMs (Bool_t bEnaFlag=kTRUE) |
void | SetMsOverlap (size_t uOverlapMsNb=1) |
size_t | GetMsOverlap () |
void | SetHistoFilename (TString sNameIn) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | AddEqIdChannelNumber (UInt_t uEqId, UInt_t uNbCh) |
void | SaveAllHistos (TString sFileName="") |
void | ResetAllHistos () |
void | ResetEvolutionHistograms () |
void | UseDaqBuffer (Bool_t) |
Private Member Functions | |
void | CreateHistograms () |
CbmMcbm2018MonitorDataRates (const CbmMcbm2018MonitorDataRates &) | |
CbmMcbm2018MonitorDataRates | operator= (const CbmMcbm2018MonitorDataRates &) |
Private Attributes | |
std::vector< size_t > | fvMsComponentsList |
FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
Bool_t | fbIgnoreOverlapMs |
size_t | fuMsAcceptsPercent |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ More... | |
size_t | fuTotalMsNb |
size_t | fuOverlapMsNb |
size_t | fuCoreMs |
Double_t | fdMsSizeInNs |
Double_t | fdTsCoreSizeInNs |
TString | fsHistoFilename |
UInt_t | fuNbFlimLinks |
std::map< UInt_t, UInt_t > | fmChannelsPerEqId |
Parameters. More... | |
uint64_t | fulCurrentTsIndex |
size_t | fuCurrentMs |
size_t | fuCurrentMsSysId |
Double_t | fdMsIndex |
Int_t | fiEquipmentId |
Double_t | fdStartTimeMsSz |
Histograms and histogram control variables. More... | |
UInt_t | fuHistoryHistoSize |
std::vector< UInt_t > | fvuTsSzLink |
TCanvas * | fcDataRateTimeAll |
TCanvas * | fcTsSizeAll |
TCanvas * | fcTsSizeTimeAll |
TCanvas * | fcMsSizeAll |
TCanvas * | fcMsSizeTimeAll |
TCanvas * | fcMsMessAll |
TCanvas * | fcMsMessTimeAll |
TCanvas * | fcMsDataChAll |
TCanvas * | fcMsDataChTimeAll |
TH1 * | fhDataRateTimeAllLinks |
std::vector< TH1 * > | fvhDataRateTimePerLink |
std::vector< TH1 * > | fvhTsSzPerLink |
std::vector< TProfile * > | fvhTsSzTimePerLink |
std::vector< TH1 * > | fvhMsSzPerLink |
std::vector< TProfile * > | fvhMsSzTimePerLink |
std::vector< TH1 * > | fvhMsMessPerLink |
std::vector< TProfile * > | fvhMsMessTimePerLink |
std::vector< TH1 * > | fvhMsMeanChDataPerLink |
std::vector< TH1 * > | fvhMsMeanChDataTimePerLink |
Static Private Attributes | |
static const UInt_t | kuSysIdSts = 10 |
Constants. More... | |
static const UInt_t | kuSysIdRich = 30 |
static const UInt_t | kuSysIdMuch = 40 |
static const UInt_t | kuSysIdTof = 60 |
static const UInt_t | kuSysIdT0 = 90 |
static const UInt_t | kuBytesPerMessageSts = 4 |
static const UInt_t | kuBytesPerMessageRich = 4 |
static const UInt_t | kuBytesPerMessageMuch = 4 |
static const UInt_t | kuBytesPerMessageTof = 8 |
static const UInt_t | kuBytesPerMessageT0 = 8 |
Definition at line 30 of file CbmMcbm2018MonitorDataRates.h.
CbmMcbm2018MonitorDataRates::CbmMcbm2018MonitorDataRates | ( | ) |
Definition at line 45 of file CbmMcbm2018MonitorDataRates.cxx.
|
virtual |
Definition at line 79 of file CbmMcbm2018MonitorDataRates.cxx.
|
private |
|
inline |
Definition at line 67 of file CbmMcbm2018MonitorDataRates.h.
References fmChannelsPerEqId.
|
virtual |
Check for duplicates and ignore if it is the case
Add to list
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Create Data Rate monitoring histo
Create TS size monitoring histos
Cleanup array of log bins
Implements CbmMcbmUnpack.
Definition at line 111 of file CbmMcbm2018MonitorDataRates.cxx.
References fuHistoryHistoSize, fuNbFlimLinks, fvhDataRateTimePerLink, fvhMsMeanChDataPerLink, fvhMsMeanChDataTimePerLink, fvhMsMessPerLink, fvhMsMessTimePerLink, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhTsSzPerLink, fvhTsSzTimePerLink, fvMsComponentsList, and GenerateLogBinArray().
|
private |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Create Data Rate monitoring histo
Create TS size monitoring histos
Create MS size monitoring histos
Cleanup array of log bins
Create Ms Size Canvas
Definition at line 231 of file CbmMcbm2018MonitorDataRates.cxx.
References fcDataRateTimeAll, fcMsDataChAll, fcMsDataChTimeAll, fcMsMessAll, fcMsMessTimeAll, fcMsSizeAll, fcMsSizeTimeAll, fcTsSizeAll, fcTsSizeTimeAll, fhDataRateTimeAllLinks, fuHistoryHistoSize, fuNbFlimLinks, fvhDataRateTimePerLink, fvhMsMeanChDataPerLink, fvhMsMeanChDataTimePerLink, fvhMsMessPerLink, fvhMsMessTimePerLink, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhTsSzPerLink, fvhTsSzTimePerLink, and GenerateLogBinArray().
Referenced by InitContainers().
|
virtual |
Ignore First TS as first MS is typically corrupt
Ignore overlap ms if flag set by user
Reset counters
Loop over core microslices (and overlap ones if chosen)
Loop over registered components
Normalize data size with number of channels
Fill TS plots
Implements CbmMcbmUnpack.
Definition at line 458 of file CbmMcbm2018MonitorDataRates.cxx.
References bMcbmMoniDataRateResetHistos, bMcbmMoniDataRateSaveHistos, fbIgnoreOverlapMs, fdMsIndex, fdStartTimeMsSz, fhDataRateTimeAllLinks, fiEquipmentId, fmChannelsPerEqId, FormatMsHeaderPrintout(), fuCurrentMs, fuCurrentMsSysId, fuHistoryHistoSize, fulCurrentTsIndex, fuMsAcceptsPercent, fuNbCoreMsPerTs, fuNbFlimLinks, fuNbOverMsPerTs, fvhDataRateTimePerLink, fvhMsMeanChDataPerLink, fvhMsMeanChDataTimePerLink, fvhMsMessPerLink, fvhMsMessTimePerLink, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhTsSzPerLink, fvhTsSzTimePerLink, fvMsComponentsList, fvuTsSzLink, kuBytesPerMessageMuch, kuBytesPerMessageRich, kuBytesPerMessageSts, kuBytesPerMessageT0, kuBytesPerMessageTof, kuSysIdMuch, kuSysIdRich, kuSysIdSts, kuSysIdT0, kuSysIdTof, ResetAllHistos(), and SaveAllHistos().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 600 of file CbmMcbm2018MonitorDataRates.cxx.
References fsHistoFilename, and SaveAllHistos().
|
inline |
Definition at line 52 of file CbmMcbm2018MonitorDataRates.h.
References fuMsAcceptsPercent.
|
inline |
Definition at line 60 of file CbmMcbm2018MonitorDataRates.h.
References fuOverlapMsNb.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 81 of file CbmMcbm2018MonitorDataRates.cxx.
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 96 of file CbmMcbm2018MonitorDataRates.cxx.
References CreateHistograms(), and ReInitContainers().
|
private |
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 105 of file CbmMcbm2018MonitorDataRates.cxx.
Referenced by InitContainers().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 598 of file CbmMcbm2018MonitorDataRates.cxx.
void CbmMcbm2018MonitorDataRates::ResetAllHistos | ( | ) |
Definition at line 652 of file CbmMcbm2018MonitorDataRates.cxx.
References fdStartTimeMsSz, fhDataRateTimeAllLinks, fuNbFlimLinks, fvhDataRateTimePerLink, fvhMsMeanChDataPerLink, fvhMsMeanChDataTimePerLink, fvhMsMessPerLink, fvhMsMessTimePerLink, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhTsSzPerLink, and fvhTsSzTimePerLink.
Referenced by DoUnpack().
void CbmMcbm2018MonitorDataRates::ResetEvolutionHistograms | ( | ) |
void CbmMcbm2018MonitorDataRates::SaveAllHistos | ( | TString | sFileName = "" | ) |
Definition at line 602 of file CbmMcbm2018MonitorDataRates.cxx.
References fcMsDataChAll, fcMsDataChTimeAll, fcMsMessAll, fcMsMessTimeAll, fcMsSizeAll, fcMsSizeTimeAll, fhDataRateTimeAllLinks, fuNbFlimLinks, fvhDataRateTimePerLink, fvhMsMeanChDataPerLink, fvhMsMeanChDataTimePerLink, fvhMsMessPerLink, fvhMsMessTimePerLink, fvhMsSzPerLink, fvhMsSzTimePerLink, fvhTsSzPerLink, and fvhTsSzTimePerLink.
Referenced by DoUnpack(), and Finish().
|
inline |
Definition at line 62 of file CbmMcbm2018MonitorDataRates.h.
References fsHistoFilename.
|
inline |
Definition at line 63 of file CbmMcbm2018MonitorDataRates.h.
References fuHistoryHistoSize.
|
inline |
Definition at line 56 of file CbmMcbm2018MonitorDataRates.h.
References fbIgnoreOverlapMs.
|
inline |
Definition at line 49 of file CbmMcbm2018MonitorDataRates.h.
References fuMsAcceptsPercent.
|
inline |
Definition at line 59 of file CbmMcbm2018MonitorDataRates.h.
References fuOverlapMsNb.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 223 of file CbmMcbm2018MonitorDataRates.cxx.
References fuNbCoreMsPerTs, and fuNbOverMsPerTs.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 92 of file CbmMcbm2018MonitorDataRates.cxx.
|
inline |
Definition at line 74 of file CbmMcbm2018MonitorDataRates.h.
|
private |
Definition at line 82 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack(), and SetIgnoreOverlapMs().
|
private |
Definition at line 128 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms().
|
private |
Definition at line 135 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 136 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 133 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 134 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 131 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 132 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Definition at line 129 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms().
|
private |
Definition at line 130 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms().
|
private |
Definition at line 105 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
private |
Number of non overlap MS at beginning of TS
Definition at line 91 of file CbmMcbm2018MonitorDataRates.h.
|
private |
Histograms and histogram control variables.
Definition at line 123 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack(), and ResetAllHistos().
|
private |
Definition at line 92 of file CbmMcbm2018MonitorDataRates.h.
|
private |
Definition at line 137 of file CbmMcbm2018MonitorDataRates.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 106 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
private |
Parameters.
Definition at line 99 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddEqIdChannelNumber(), and DoUnpack().
|
private |
Control Flags
Definition at line 95 of file CbmMcbm2018MonitorDataRates.h.
Referenced by Finish(), and SetHistoFilename().
|
private |
Overlap Ms: all fuOverlapMsNb MS at the end of timeslice
Definition at line 90 of file CbmMcbm2018MonitorDataRates.h.
|
private |
Definition at line 103 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
private |
Definition at line 104 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 124 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), and SetHistoryHistoSize().
|
private |
Running indices
Definition at line 102 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
private |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
OLD, to be cleaned out !!!!!
Definition at line 86 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack(), GetMsLimitLevel(), and SetMsLimitLevel().
|
private |
Definition at line 79 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack(), and SetNbMsInTs().
|
private |
Definition at line 96 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 80 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack(), and SetNbMsInTs().
|
private |
Total nb of MS per link in timeslice
Definition at line 89 of file CbmMcbm2018MonitorDataRates.h.
Referenced by GetMsOverlap(), and SetMsOverlap().
|
private |
Reject Ms with index inside TS above this, assumes 100 MS per TS
Definition at line 87 of file CbmMcbm2018MonitorDataRates.h.
|
private |
Definition at line 138 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 145 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 146 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 143 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 144 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 141 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 142 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 139 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 140 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
FLES containers.
Definition at line 78 of file CbmMcbm2018MonitorDataRates.h.
Referenced by AddMsComponentToList(), and DoUnpack().
|
private |
Size in seconds of the evolution histograms
Definition at line 126 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 116 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 115 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 114 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 118 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 117 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 111 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 110 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
|
staticprivate |
Definition at line 113 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().
|
staticprivate |
Definition at line 112 of file CbmMcbm2018MonitorDataRates.h.
Referenced by DoUnpack().