CbmRoot
|
#include <CbmMcbm2018MonitorAlgoPsd.h>
Public Member Functions | |
CbmMcbm2018MonitorAlgoPsd () | |
~CbmMcbm2018MonitorAlgoPsd () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms () |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetChargeHistoArgs (std::vector< Int_t > inVec) |
void | SetAmplHistoArgs (std::vector< Int_t > inVec) |
void | SetZLHistoArgs (std::vector< Int_t > inVec) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. More... | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. More... | |
std::vector< CbmPsdDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. More... | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. More... | |
Protected Attributes | |
TList * | fParCList |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ More... | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. More... | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. More... | |
std::vector< CbmPsdDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. More... | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. More... | |
Private Member Functions | |
CbmMcbm2018MonitorAlgoPsd (const CbmMcbm2018MonitorAlgoPsd &) | |
CbmMcbm2018MonitorAlgoPsd | operator= (const CbmMcbm2018MonitorAlgoPsd &) |
Static Private Member Functions | |
static constexpr UInt_t | GetNbChanPsd () |
Private Attributes | |
Bool_t | fbMonitorMode |
Control flags. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
std::vector< Bool_t > | fvbMaskedComponents |
Switch ON the filling of a additional set of histograms. More... | |
Bool_t | fbFirstPackageError |
CbmMcbm2018PsdPar * | fUnpackPar |
Settings from parameter file. More... | |
UInt_t | fuNrOfGdpbs |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap |
Total number of GDPBs in the system. More... | |
UInt_t | fuNrOfFeePerGdpb |
gDPB ID to index map More... | |
UInt_t | fuNrOfChannelsPerFee |
Number of FEBs per GDPB. More... | |
UInt_t | fuNrOfChannelsPerGdpb |
Number of channels in each FEE. More... | |
ULong64_t | fulCurrentTsIdx |
ULong64_t | fulCurrentMsIdx |
Double_t | fdTsStartTime |
Double_t | fdTsStopTimeCore |
Time in ns of current TS from the index of the first MS first component. More... | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. More... | |
Double_t | fdPrevMsTime |
Start Time in ns of current MS from its index field in header. More... | |
UInt_t | fuMsIndex |
Start Time in ns of previous MS from its index field in header. More... | |
UInt_t | fuCurrentEquipmentId |
Index of current MS within the TS. More... | |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. More... | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. More... | |
Int_t | fiRunStartDateTimeSec |
Index of the DPB from which the MS currently unpacked is coming. More... | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. More... | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Bin size in s for the plots with date as X axis. More... | |
std::vector< ULong64_t > | fvulCurrentEpochCycle |
Current epoch index, per DPB. More... | |
std::vector< ULong64_t > | fvulCurrentEpochFull |
Epoch cycle from the Ms Start message and Epoch counter flip. More... | |
Double_t | fdStartTime |
Epoch + Epoch Cycle. More... | |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
UInt_t | fuHistoryHistoSize |
Histograms related variables. More... | |
std::vector< Int_t > | fviHistoChargeArgs |
std::vector< Int_t > | fviHistoAmplArgs |
std::vector< Int_t > | fviHistoZLArgs |
UInt_t | fuReadEvtCnt |
Histograms. More... | |
UInt_t | fuMsgsCntInMs |
UInt_t | fuReadMsgsCntInMs |
UInt_t | fuLostMsgsCntInMs |
UInt_t | fuReadEvtCntInMs |
std::vector< UInt_t > | fvuHitCntChanMs |
Channel rate plots. More... | |
std::vector< UInt_t > | fvuErrorCntChanMs |
std::vector< UInt_t > | fvuEvtLostCntChanMs |
std::vector< TH1 * > | fvhHitCntEvoChan |
std::vector< TH2 * > | fvhHitCntPerMsEvoChan |
std::vector< TH1 * > | fvhHitChargeChan |
std::vector< TH1 * > | fvhHitZeroLevelChan |
std::vector< TH1 * > | fvhHitAmplChan |
std::vector< TH1 * > | fvhHitChargeByWfmChan |
std::vector< TH2 * > | fvhHitChargeEvoChan |
std::vector< TH1 * > | fvhHitWfmChan |
std::vector< TH1 * > | fvhHitFitWfmChan |
std::vector< UInt_t > | kvuWfmRanges |
std::vector< UInt_t > | kvuWfmInRangeToChangeChan |
std::vector< TH1 * > | fv3hHitWfmFlattenedChan |
Bool_t | fbSpillOn |
Channels map. More... | |
UInt_t | fuCurrentSpillIdx |
UInt_t | fuCurrentSpillPlot |
Double_t | fdStartTimeSpill |
Double_t | fdLastSecondTime |
UInt_t | fuCountsLastSecond |
const UInt_t | kuPsdChanMap [kuNbChanPsd] |
TH1 * | fhChannelMap |
TH1 * | fhHitChargeMap |
TH1 * | fhHitMapEvo |
TH2 * | fhChanHitMapEvo |
std::vector< TH1 * > | fvhChannelMapSpill |
TH1 * | fhHitsPerSpill |
TH1 * | fhMsgsCntEvo |
Global Rate. More... | |
TH1 * | fhReadMsgsCntEvo |
TH1 * | fhLostMsgsCntEvo |
TH1 * | fhReadEvtsCntEvo |
TH2 * | fhAdcTimeEvo |
TH2 * | fhMsLengthEvo |
TH2 * | fhMsgsCntPerMsEvo |
TH2 * | fhReadMsgsCntPerMsEvo |
TH2 * | fhLostMsgsCntPerMsEvo |
TH2 * | fhReadEvtsCntPerMsEvo |
std::vector< TH2 * > | fvhFitHarmonic1Chan |
Waveform fitting. More... | |
std::vector< TH2 * > | fvhFitHarmonic2Chan |
std::vector< TH2 * > | fvhFitQaChan |
TCanvas * | fcSummary |
Canvases. More... | |
TCanvas * | fcHitMaps |
TCanvas * | fcChargesFPGA |
TCanvas * | fcChargesWfm |
TCanvas * | fcAmplitudes |
TCanvas * | fcGenCntsPerMs |
TCanvas * | fcSpillCounts |
TCanvas * | fcSpillCountsHori |
TCanvas * | fcWfmsAllChannels |
std::vector< TCanvas * > | fvcWfmsChan |
TCanvas * | fcPronyFit |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Number of channels per GDPB. More... | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanPsd = 10 |
static const UInt_t | kuNbWfmRanges = 8 |
static const UInt_t | kuNbWfmExamples = 8 |
static const UInt_t | kuNbSpillPlots = 5 |
static const UInt_t | kuOffSpillCountLimit = 200 |
Definition at line 34 of file CbmMcbm2018MonitorAlgoPsd.h.
CbmMcbm2018MonitorAlgoPsd::CbmMcbm2018MonitorAlgoPsd | ( | ) |
Definition at line 37 of file CbmMcbm2018MonitorAlgoPsd.cxx.
CbmMcbm2018MonitorAlgoPsd::~CbmMcbm2018MonitorAlgoPsd | ( | ) |
Clear buffers
Definition at line 129 of file CbmMcbm2018MonitorAlgoPsd.cxx.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
void CbmMcbm2018MonitorAlgoPsd::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId | ||
) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 200 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References CbmStar2019Algo< CbmPsdDigi >::fvMsComponentsList.
Referenced by CbmMcbm2018MonitorTaskPsd::AddMsComponentToList().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 147 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 96 of file CbmStar2019Algo.h.
Bool_t CbmMcbm2018MonitorAlgoPsd::CreateHistograms | ( | ) |
Logarithmic bining
Parameters are NbDecadesLog, NbStepsDecade, NbSubStepsInStep
Add pointers to the vector with all histo for access by steering class
Add pointers to the vector with all histo for access by steering class
Canvases
Map of hits over PSD detector and same vs time in run
General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
Charge from FPGA all channels
Charge from Waveform all channels
Amplitudes all channels
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 608 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References CbmStar2019Algo< CbmPsdDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmPsdDigi >::AddHistoToVector(), fcAmplitudes, fcChargesFPGA, fcChargesWfm, fcGenCntsPerMs, fcHitMaps, fcPronyFit, fcSpillCounts, fcSummary, fcWfmsAllChannels, fhAdcTimeEvo, fhChanHitMapEvo, fhChannelMap, fhHitChargeMap, fhHitMapEvo, fhHitsPerSpill, fhLostMsgsCntEvo, fhLostMsgsCntPerMsEvo, fhMsgsCntEvo, fhMsgsCntPerMsEvo, fhMsLengthEvo, fhReadEvtsCntEvo, fhReadEvtsCntPerMsEvo, fhReadMsgsCntEvo, fhReadMsgsCntPerMsEvo, fuHistoryHistoSize, fv3hHitWfmFlattenedChan, fvcWfmsChan, fvhChannelMapSpill, fvhFitHarmonic1Chan, fvhFitHarmonic2Chan, fvhFitQaChan, fvhHitAmplChan, fvhHitChargeByWfmChan, fvhHitChargeChan, fvhHitChargeEvoChan, fvhHitCntEvoChan, fvhHitCntPerMsEvoChan, fvhHitFitWfmChan, fvhHitWfmChan, fvhHitZeroLevelChan, fviHistoAmplArgs, fviHistoChargeArgs, fviHistoZLArgs, GenerateLogBinArray(), kuNbChanPsd, kuNbSpillPlots, kuNbWfmExamples, and kuNbWfmRanges.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoPsd::FillHistograms | ( | ) |
Definition at line 1163 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References fdMsTime, fdStartTime, fhLostMsgsCntPerMsEvo, fhMsgsCntPerMsEvo, fhReadEvtsCntPerMsEvo, fhReadMsgsCntPerMsEvo, fuLostMsgsCntInMs, fuMsgsCntInMs, fuReadEvtCntInMs, fuReadMsgsCntInMs, fvhHitCntPerMsEvoChan, fvuHitCntChanMs, and kuNbChanPsd.
Referenced by ProcessMs(), and ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 140 of file CbmMcbm2018MonitorAlgoPsd.cxx.
|
inlineinherited |
Definition at line 91 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 99 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 84 of file CbmStar2019Algo.h.
|
inlinestaticconstexprprivate |
Definition at line 101 of file CbmMcbm2018MonitorAlgoPsd.h.
References kuNbChanPsd.
Referenced by ProcessMs().
|
inlinevirtualinherited |
Definition at line 75 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 164 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References CbmStar2019Algo< CbmPsdDigi >::fParCList, and fUnpackPar.
Referenced by CbmMcbm2018MonitorTaskPsd::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 134 of file CbmMcbm2018MonitorAlgoPsd.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 147 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References ReInitContainers().
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoPsd::InitParameters | ( | ) |
Internal status initialization
Definition at line 171 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References fGdpbIdIndexMap, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfFeePerGdpb, fuNrOfGdpbs, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, CbmMcbm2018PsdPar::GetGdpbId(), CbmMcbm2018PsdPar::GetNrOfChannelsPerFee(), CbmMcbm2018PsdPar::GetNrOfFeesPerGdpb(), CbmMcbm2018PsdPar::GetNrOfGdpbs(), and i.
Referenced by ReInitContainers().
|
private |
|
virtual |
Check if this sDPB ID was declared in parameter file and stop there if not
Try to get it from the second message in buffer (first is epoch cycle without gDPB ID) TODO!!!!
Spill Detection
Check only every second
Spill Off detection
Save start time of first valid MS )
Reset the histograms if reached the end of the evolution histos range
Fill histograms
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 279 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References PsdSignalFitting::PronyFitter::CalculateFitAmplitudes(), PsdSignalFitting::PronyFitter::CalculateFitHarmonics(), PsdSignalFitting::PronyFitter::ChooseBestSignalBeginHarmonics(), PsdData::PsdGbtReader::EvHdrAb, PsdData::PsdGbtReader::EvHdrAc, fbFirstPackageError, fbSpillOn, fdLastSecondTime, fdMsTime, fdPrevMsTime, fdStartTime, fdStartTimeSpill, fGdpbIdIndexMap, fhAdcTimeEvo, fhChanHitMapEvo, fhChannelMap, fhHitChargeMap, fhHitMapEvo, fhHitsPerSpill, fhLostMsgsCntEvo, fhMsgsCntEvo, fhMsLengthEvo, fhReadEvtsCntEvo, fhReadMsgsCntEvo, PairAnalysisStyler::Fill, FillHistograms(), FormatMsHeaderPrintout(), fuCountsLastSecond, fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrentSpillIdx, fuCurrentSpillPlot, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fuLostMsgsCntInMs, fuMsgsCntInMs, fuReadEvtCnt, fuReadEvtCntInMs, fuReadMsgsCntInMs, fv3hHitWfmFlattenedChan, fvbMaskedComponents, fvhChannelMapSpill, fvhFitHarmonic1Chan, fvhFitHarmonic2Chan, fvhFitQaChan, fvhHitAmplChan, fvhHitChargeByWfmChan, fvhHitChargeChan, fvhHitChargeEvoChan, fvhHitCntEvoChan, fvhHitFitWfmChan, fvhHitWfmChan, fvhHitZeroLevelChan, fviHistoChargeArgs, fvuHitCntChanMs, PsdSignalFitting::PronyFitter::GetFitWfm(), PsdSignalFitting::PronyFitter::GetHarmonics(), PsdSignalFitting::PronyFitter::GetIntegral(), GetNbChanPsd(), PsdSignalFitting::PronyFitter::GetRSquare(), PsdData::PsdGbtReader::GetTotalGbtWordsRead(), PsdData::PsdGbtReader::HitHdr, i, kuBytesPerMessage, kuNbChanPsd, kuNbSpillPlots, kuNbWfmExamples, kuNbWfmRanges, kuOffSpillCountLimit, kvuWfmInRangeToChangeChan, kvuWfmRanges, PsdData::PsdGbtReader::ReadEventFles(), ResetHistograms(), PsdSignalFitting::PronyFitter::SetDebugMode(), PsdData::PsdGbtReader::SetPrintOutMode(), PsdSignalFitting::PronyFitter::SetSignalBegin(), PsdSignalFitting::PronyFitter::SetWaveform(), PsdData::PsdEventHeaderAC::uAdcTime, PsdData::PsdEventHeaderAB::uHitsNumber, PsdData::PsdEventHeaderAB::ulMicroSlice, PsdData::PsdHitHeader::uWfmPoints, PsdData::PsdGbtReader::VectHitData, and PsdData::PsdGbtReader::VectHitHdr.
Referenced by ProcessTs().
|
virtual |
Ignore First TS as first MS is typically corrupt
On first TS, extract the TS parameters from header (by definition stable over time)
Ignore overlap ms if flag set by user
Compute time of TS core end
Loop over core microslices (and overlap ones if chosen)
Loop over registered components
Clear the buffer of hits
Clear buffers to prepare for the next TS
Fill plots if in monitor mode
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 215 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References CbmStar2019Algo< CbmPsdDigi >::fbIgnoreOverlapMs, fbMonitorMode, CbmStar2019Algo< CbmPsdDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmPsdDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmPsdDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmPsdDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmPsdDigi >::fuNbMsLoop, CbmStar2019Algo< CbmPsdDigi >::fuNbOverMsPerTs, CbmStar2019Algo< CbmPsdDigi >::fvMsComponentsList, ProcessMs(), and ResetHistograms().
Referenced by CbmMcbm2018MonitorTaskPsd::DoUnpack(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 50 of file CbmMcbm2018MonitorAlgoPsd.h.
References ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 153 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References CbmStar2019Algo< CbmPsdDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmMcbm2018MonitorTaskPsd::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmPsdDigi >.
Definition at line 139 of file CbmMcbm2018MonitorAlgoPsd.cxx.
Referenced by ResetHistograms().
Bool_t CbmMcbm2018MonitorAlgoPsd::ResetHistograms | ( | ) |
Also reset the Start time for the evolution plots!
Definition at line 1184 of file CbmMcbm2018MonitorAlgoPsd.cxx.
References fdStartTime, fhAdcTimeEvo, fhChanHitMapEvo, fhChannelMap, fhHitChargeMap, fhHitMapEvo, fhHitsPerSpill, fhLostMsgsCntEvo, fhLostMsgsCntPerMsEvo, fhMsgsCntEvo, fhMsgsCntPerMsEvo, fhMsLengthEvo, fhReadEvtsCntEvo, fhReadEvtsCntPerMsEvo, fhReadMsgsCntEvo, fhReadMsgsCntPerMsEvo, fuCurrentSpillIdx, fuCurrentSpillPlot, fv3hHitWfmFlattenedChan, fvhChannelMapSpill, fvhFitHarmonic1Chan, fvhFitHarmonic2Chan, fvhFitQaChan, fvhHitAmplChan, fvhHitChargeByWfmChan, fvhHitChargeChan, fvhHitChargeEvoChan, fvhHitCntEvoChan, fvhHitCntPerMsEvoChan, fvhHitFitWfmChan, fvhHitWfmChan, fvhHitZeroLevelChan, kuNbChanPsd, kuNbSpillPlots, kuNbWfmExamples, kuNbWfmRanges, kvuWfmInRangeToChangeChan, and Reset().
Referenced by CbmMcbm2018MonitorTaskPsd::DoUnpack(), ProcessMs(), and ProcessTs().
|
inline |
Definition at line 70 of file CbmMcbm2018MonitorAlgoPsd.h.
References fviHistoAmplArgs.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
|
inline |
Definition at line 67 of file CbmMcbm2018MonitorAlgoPsd.h.
References fviHistoChargeArgs.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
|
inline |
Definition at line 64 of file CbmMcbm2018MonitorAlgoPsd.h.
References fuHistoryHistoSize.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inline |
Definition at line 61 of file CbmMcbm2018MonitorAlgoPsd.h.
References fbMonitorMode.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 73 of file CbmMcbm2018MonitorAlgoPsd.h.
References fviHistoZLArgs.
Referenced by CbmMcbm2018MonitorTaskPsd::InitContainers().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 83 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Definition at line 85 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
protectedinherited |
Definition at line 116 of file CbmStar2019Algo.h.
|
private |
Control flags.
Definition at line 81 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessTs(), and SetMonitorMode().
|
private |
Channels map.
Definition at line 178 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Definition at line 220 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 218 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 219 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 221 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 217 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 226 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 222 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 223 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Canvases.
Definition at line 216 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 224 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
|
private |
Definition at line 182 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 117 of file CbmStar2019Algo.h.
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 111 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 113 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Epoch + Epoch Cycle.
Starting state book-keeping
Definition at line 135 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots
Definition at line 137 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Definition at line 181 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 119 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 121 of file CbmStar2019Algo.h.
|
private |
Definition at line 107 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 109 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 91 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 202 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 192 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 189 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 190 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 191 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 194 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 199 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 207 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Global Rate.
Definition at line 197 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 205 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 203 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 200 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 208 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 198 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 206 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 125 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 124 of file CbmMcbm2018MonitorAlgoPsd.h.
|
protectedinherited |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 139 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Definition at line 183 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 120 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 122 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Index of current MS within the TS.
Current data properties
Definition at line 118 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Definition at line 179 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Definition at line 180 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Histograms related variables.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 142 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().
|
private |
Definition at line 105 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Running indices TS/MS info
Definition at line 104 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs(), and ProcessTs().
|
private |
Definition at line 154 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Definition at line 152 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Start Time in ns of previous MS from its index field in header.
Definition at line 114 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 114 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 113 of file CbmStar2019Algo.h.
|
private |
Settings from parameter file.
Definition at line 88 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by GetParList(), InitParameters(), and ReInitContainers().
|
private |
Number of FEBs per GDPB.
Definition at line 93 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
Number of channels in each FEE.
Definition at line 94 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
gDPB ID to index map
Definition at line 92 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
Readout chain dimensions and mapping
Definition at line 90 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
Histograms.
ZeroLevel histogram arguments in adc counts
Definition at line 151 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Definition at line 155 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Definition at line 153 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Definition at line 175 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 84 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Definition at line 225 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms().
|
private |
Definition at line 193 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Waveform fitting.
Definition at line 211 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 212 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 213 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 165 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 166 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 163 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 167 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 161 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 162 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 169 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 168 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 164 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Charge histogram arguments in adc counts
Definition at line 146 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), and SetAmplHistoArgs().
|
private |
Size in seconds of the evolution histograms
Definition at line 144 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and SetChargeHistoArgs().
|
private |
Amplitude histogram arguments in adc counts
Definition at line 148 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), and SetZLHistoArgs().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 137 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Definition at line 159 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Definition at line 160 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Channel rate plots.
Definition at line 158 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by FillHistograms(), and ProcessMs().
|
private |
Bin size in s for the plots with date as X axis.
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]
Definition at line 128 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
Current epoch index, per DPB.
Definition at line 130 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
private |
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition at line 131 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by InitParameters().
|
staticprivate |
|
staticprivate |
Definition at line 98 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
staticprivate |
Definition at line 99 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), FillHistograms(), GetNbChanPsd(), ProcessMs(), and ResetHistograms().
|
staticprivate |
Definition at line 184 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
staticprivate |
Definition at line 172 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
staticprivate |
Definition at line 171 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
staticprivate |
Definition at line 185 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().
|
private |
Definition at line 187 of file CbmMcbm2018MonitorAlgoPsd.h.
|
private |
Definition at line 174 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs(), and ResetHistograms().
|
private |
Definition at line 173 of file CbmMcbm2018MonitorAlgoPsd.h.
Referenced by ProcessMs().