CbmRoot
|
#include <CbmStar2019MonitorPulserAlgo.h>
Public Member Functions | |
CbmStar2019MonitorPulserAlgo () | |
~CbmStar2019MonitorPulserAlgo () | |
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 | UpdateStats () |
Bool_t | ResetHistograms () |
void | SetEtofFeeIndexing (Bool_t bFlagIn=kTRUE) |
void | SetSectorIndex (Int_t iSector=-1) |
void | SetUpdateFreqTs (UInt_t uFreq=100) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetPulserChannel (UInt_t uChan) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. | |
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. | |
std::vector< CbmTofDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. | |
Protected Attributes | |
TList * | fParCList |
Parameter management. | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. | |
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 **/ | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. | |
std::vector< CbmTofDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. | |
Private Member Functions | |
void | ProcessEpochCycle (uint64_t ulCycleData) |
void | ProcessEpoch (gdpbv100::Message mess) |
void | ProcessEpSupprBuffer () |
void | ProcessHit (gdpbv100::FullMessage mess) |
CbmStar2019MonitorPulserAlgo (const CbmStar2019MonitorPulserAlgo &) | |
CbmStar2019MonitorPulserAlgo | operator= (const CbmStar2019MonitorPulserAlgo &) |
Private Attributes | |
Bool_t | fbEtofFeeIndexing |
Control flags. | |
std::vector< Bool_t > | fvbMaskedComponents |
Int_t | fiSectorIndex |
UInt_t | fuUpdateFreqTs |
CbmStar2019TofPar * | fUnpackPar |
Settings from parameter file. | |
UInt_t | fuNrOfGdpbs |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap |
Total number of GDPBs in the system. | |
UInt_t | fuNrOfFeePerGdpb |
gDPB ID to index map | |
UInt_t | fuNrOfGet4PerFee |
Number of FEBs per GDPB. | |
UInt_t | fuNrOfChannelsPerGet4 |
Number of GET4s per FEE. | |
UInt_t | fuNrOfChannelsPerFee |
Number of channels in each GET4. | |
UInt_t | fuNrOfGet4 |
Number of channels in each FEE. | |
UInt_t | fuNrOfGet4PerGdpb |
Total number of Get4 chips in the system. | |
UInt_t | fuNrOfChannelsPerGdpb |
Number of GET4s per GDPB. | |
UInt_t | fuPulserMinTot |
Number of channels per GDPB. | |
UInt_t | fuPulserMaxTot |
UInt_t | fuPulserChannel |
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. | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. | |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. | |
UInt_t | fuGet4Id |
Index of the DPB from which the MS currently unpacked is coming. | |
UInt_t | fuGet4Nr |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. | |
std::vector< ULong64_t > | fvulCurrentEpochCycle |
Current epoch index, per DPB. | |
std::vector< ULong64_t > | fvulCurrentEpochFull |
Epoch cycle from the Ms Start message and Epoch counter flip. | |
std::vector< gdpbv100::Message > | fvmEpSupprBuffer |
Epoch + Epoch Cycle. | |
std::vector< std::vector< Bool_t > > | fvvbFeeHitFound |
Storing the time of the last hit for each MS in each of the FEE. | |
std::vector< std::vector< Double_t > > | fvvdFeeHits |
[ Sector ][ FEE ] | |
const Double_t | kdMaxDtPulserPs = 300e3 |
[ Sector ][ FEE ] | |
const UInt_t | kuNbBinsDt = 2000 |
Double_t | dMinDt |
Double_t | dMaxDt |
const Double_t | kdFitZoomWidthPs = 500.0 |
Double_t | fdStartTime |
Starting time and time evolution book-keeping. | |
UInt_t | fuHistoryHistoSize |
Time of first MS. | |
std::vector< std::vector< TH1 * > > | fvvhFeePairPulserTimeDiff |
Size in seconds of the evolution histograms. | |
TH2 * | fhPulserTimeDiffMean |
[ FEE A ][ FEE B ] | |
TH2 * | fhPulserTimeDiffRms |
TH2 * | fhPulserTimeDiffRmsZoom |
TH2 * | fhPulserRmsGdpbToRefEvo |
TH2 * | fhPulserRmsGbtxToRefEvo |
TCanvas * | fcSummary |
Canvases. | |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. | |
static const UInt_t | kuBytesPerMessage = 8 |
Definition at line 36 of file CbmStar2019MonitorPulserAlgo.h.
CbmStar2019MonitorPulserAlgo::CbmStar2019MonitorPulserAlgo | ( | ) |
Definition at line 39 of file CbmStar2019MonitorPulserAlgo.cxx.
CbmStar2019MonitorPulserAlgo::~CbmStar2019MonitorPulserAlgo | ( | ) |
Clear buffers
Definition at line 89 of file CbmStar2019MonitorPulserAlgo.cxx.
References fvmEpSupprBuffer.
|
private |
|
inlineinherited |
Definition at line 88 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::CreateHistograms(), CbmMcbm2018MonitorAlgoTofPulser::CreateHistograms(), CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmStar2019MonitorAlgo::CreateHistograms(), and CreateHistograms().
|
inlineinherited |
For monitor algos.
Definition at line 83 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::CreateHistograms(), CbmMcbm2018MonitorAlgoTofPulser::CreateHistograms(), CbmMcbm2018UnpackerAlgoTof::CreateHistograms(), CbmMcbmSpillFindAlgo::CreateHistograms(), CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmStar2019MonitorAlgo::CreateHistograms(), and CreateHistograms().
void CbmStar2019MonitorPulserAlgo::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId ) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 207 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmStar2019MonitorPulserTask::AddMsComponentToList().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 140 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 95 of file CbmStar2019Algo.h.
Bool_t CbmStar2019MonitorPulserAlgo::CreateHistograms | ( | ) |
Internal plot per FEE pair
Standard
Standard
eTOF compressed
Preparing histo ranges
Standard
eTOF compressed
Add pointers to the vector with all histo for access by steering class
Canvases Create summary Canvas
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
Definition at line 519 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmTofDigi >::AddHistoToVector(), dMaxDt, dMinDt, fbEtofFeeIndexing, fcSummary, fhPulserRmsGbtxToRefEvo, fhPulserRmsGdpbToRefEvo, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fiSectorIndex, fuHistoryHistoSize, fUnpackPar, fuNrOfFeePerGdpb, fuNrOfGdpbs, fvvhFeePairPulserTimeDiff, CbmStar2019TofPar::GetGdpbToSectorOffset(), gdpbv100::kdBinSize, gdpbv100::kdEpochInNs, gdpbv100::kdEpochInPs, gdpbv100::kuEpochInBins, and kuNbBinsDt.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
Bool_t CbmStar2019MonitorPulserAlgo::FillHistograms | ( | ) |
Update the Mean and RMS plots only every N TS in last MS => Need to be cleared before loop on pairs as we fill directly the value
If no hits in this FEE in this MS, just go to the next one
If no hits in this FEE in this MS, just go to the next one
Update the Mean and RMS plots only every N TS in last MS
Standard
eTOF compressed
Read the peak position (bin with max counts) + total nb of entries
Zoom the X axis to +/- ZoomWidth around the peak position
Read integral and check how much we lost due to the zoom (% loss allowed)
Fill new RMS after zoom into summary histo
Restore original axis state
Reset the flag for hit found in MS
Definition at line 695 of file CbmStar2019MonitorPulserAlgo.cxx.
References fbEtofFeeIndexing, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuUpdateFreqTs, fvvbFeeHitFound, fvvdFeeHits, fvvhFeePairPulserTimeDiff, kdFitZoomWidthPs, and kdMaxDtPulserPs.
Referenced by ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 103 of file CbmStar2019MonitorPulserAlgo.cxx.
|
inlineinherited |
Definition at line 92 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 80 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 130 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmStar2019MonitorPulserTask::SetParContainers().
|
inlineinherited |
Definition at line 96 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 96 of file CbmStar2019MonitorPulserAlgo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 111 of file CbmStar2019MonitorPulserAlgo.cxx.
References ReInitContainers().
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
Bool_t CbmStar2019MonitorPulserAlgo::InitParameters | ( | ) |
Parameters for FLES containers processing
Check if user requested to monitor only a single selected sector
Internal status initialization
Definition at line 138 of file CbmStar2019MonitorPulserAlgo.cxx.
References fbEtofFeeIndexing, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, fGdpbIdIndexMap, fiSectorIndex, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, fvvbFeeHitFound, fvvdFeeHits, CbmStar2019TofPar::GetGdpbId(), CbmStar2019TofPar::GetGdpbToSectorOffset(), CbmStar2019TofPar::GetNrOfChannelsPerGet4(), CbmStar2019TofPar::GetNrOfFeePerGdpb(), CbmStar2019TofPar::GetNrOfGdpbs(), CbmStar2019TofPar::GetNrOfGet4PerFee(), and CbmStar2019TofPar::GetSizeMsInNs().
Referenced by ReInitContainers().
|
private |
|
private |
Process the corresponding messages buffer for current gDPB
Definition at line 409 of file CbmStar2019MonitorPulserAlgo.cxx.
References fuCurrDpbIdx, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::kuEpochCounterSz, and ProcessEpSupprBuffer().
Referenced by ProcessMs().
|
private |
Definition at line 386 of file CbmStar2019MonitorPulserAlgo.cxx.
References fuCurrDpbIdx, fulCurrentMsIdx, fvulCurrentEpochCycle, and gdpbv100::kulEpochCycleFieldSz.
Referenced by ProcessMs().
|
private |
Data are sorted between epochs, not inside => Epoch level ordering Sorting at lower bin precision level
Compute original epoch index before epoch suppression
Ignore the first epoch as it should never appear (start delay!!)
In Ep. Suppr. Mode, receive following epoch instead of previous
Store the full message in the proper buffer
Do other actions on it if needed
Should never appear there
Definition at line 426 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fUnpackPar, fuNrOfGet4PerGdpb, fvmEpSupprBuffer, fvulCurrentEpoch, fvulCurrentEpochFull, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, and ProcessHit().
Referenced by ProcessEpoch().
|
private |
In 32b mode the coarse counter is already computed back to 112 FTS bins => need to hide its contribution from the Finetime => FTS = Fullt TS modulo 112
Definition at line 482 of file CbmStar2019MonitorPulserAlgo.cxx.
References fuCurrDpbIdx, fuGet4Id, fUnpackPar, fuNrOfChannelsPerGet4, fuNrOfGet4PerFee, fuPulserChannel, fuPulserMaxTot, fuPulserMinTot, fvvbFeeHitFound, fvvdFeeHits, CbmStar2019TofPar::Get4ChanToPadiChan(), gdpbv100::FullMessage::GetFullTimeNs(), gdpbv100::Message::getGdpbHit32Tot(), and gdpbv100::Message::getGdpbHitChanId().
Referenced by ProcessEpSupprBuffer().
|
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!!!!
Catch the Epoch cycle block which is always the first 64b of the MS
Get message type
Should never happen!!
Should never happen!!
Ignore all these
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 268 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fdMsTime, fdStartTime, fGdpbIdIndexMap, FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuGet4Id, fuGet4Nr, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackPar, fuNrOfGet4PerGdpb, fvbMaskedComponents, fvmEpSupprBuffer, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHitIs24b(), gdpbv100::Message::getMessageType(), gdpbv100::Message::isStarTrigger(), kuBytesPerMessage, gdpbv100::kuChipIdMergedEpoch, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, ProcessEpoch(), and ProcessEpochCycle().
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
Fill histograms
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 221 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, and ProcessMs().
Referenced by CbmStar2019MonitorPulserTask::DoUnpack().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 52 of file CbmStar2019MonitorPulserAlgo.h.
References ProcessTs().
Referenced by ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 118 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmStar2019MonitorPulserTask::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 102 of file CbmStar2019MonitorPulserAlgo.cxx.
Bool_t CbmStar2019MonitorPulserAlgo::ResetHistograms | ( | ) |
Definition at line 840 of file CbmStar2019MonitorPulserAlgo.cxx.
References fdStartTime, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fuNrOfFeePerGdpb, fuNrOfGdpbs, and fvvhFeePairPulserTimeDiff.
Referenced by CbmStar2019MonitorPulserTask::DoUnpack().
|
inline |
Definition at line 62 of file CbmStar2019MonitorPulserAlgo.h.
References fbEtofFeeIndexing.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 71 of file CbmStar2019MonitorPulserAlgo.h.
References fuHistoryHistoSize.
|
inlineinherited |
Control flags.
Definition at line 101 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 79 of file CbmStar2019Algo.h.
|
inline |
Definition at line 70 of file CbmStar2019MonitorPulserAlgo.h.
References fuPulserChannel.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 65 of file CbmStar2019MonitorPulserAlgo.h.
References fuPulserMaxTot, and fuPulserMinTot.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 63 of file CbmStar2019MonitorPulserAlgo.h.
References fiSectorIndex.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 64 of file CbmStar2019MonitorPulserAlgo.h.
References fuUpdateFreqTs.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
Bool_t CbmStar2019MonitorPulserAlgo::UpdateStats | ( | ) |
Standard
eTOF compressed
Read the peak position (bin with max counts) + total nb of entries
Zoom the X axis to +/- ZoomWidth around the peak position
Read integral and check how much we lost due to the zoom (% loss allowed)
Fill new RMS after zoom into summary histo
Restore original axis state?
Reset the flag for hit found in MS
Definition at line 775 of file CbmStar2019MonitorPulserAlgo.cxx.
References fbEtofFeeIndexing, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fuNrOfFeePerGdpb, fuNrOfGdpbs, fvvbFeeHitFound, fvvhFeePairPulserTimeDiff, and kdFitZoomWidthPs.
Referenced by CbmStar2019MonitorPulserTask::Finish().
|
private |
Definition at line 133 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 132 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
Control flags.
Definition at line 75 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), SetEtofFeeIndexing(), and UpdateStats().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
private |
Canvases.
Definition at line 149 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 134 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018UnpackerAlgoTof::ProcessHit(), and CbmMcbm2018UnpackerAlgoTof::ProcessTs().
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 113 of file CbmStar2019Algo.h.
Referenced by CbmStar2019EventBuilderEtofAlgo::CreateHistograms(), CbmMcbm2018MonitorAlgoTof::InitParameters(), CbmMcbm2018MonitorAlgoTofPulser::InitParameters(), CbmMcbm2018UnpackerAlgoTof::InitParameters(), CbmStar2019EventBuilderEtofAlgo::InitParameters(), CbmStar2019MonitorAlgo::InitParameters(), InitParameters(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 108 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Starting time and time evolution book-keeping.
Definition at line 136 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs(), and ResetHistograms().
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 114 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 115 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
private |
Definition at line 106 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 107 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 84 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 146 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 145 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
[ FEE A ][ FEE B ]
Definition at line 142 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 143 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 144 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 77 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), InitParameters(), and SetSectorIndex().
|
protectedinherited |
For any algo.
Definition at line 138 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 105 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::GetParList(), CbmMcbm2018MonitorAlgoTof::GetParList(), CbmMcbm2018MonitorAlgoTofPulser::GetParList(), CbmMcbm2018UnpackerAlgoTof::GetParList(), CbmMcbmSpillFindAlgo::GetParList(), CbmStar2019EventBuilderEtofAlgo::GetParList(), CbmStar2019MonitorAlgo::GetParList(), GetParList(), CbmMcbm2018MonitorAlgoBmon::ReInitContainers(), CbmMcbm2018MonitorAlgoTof::ReInitContainers(), CbmMcbm2018MonitorAlgoTofPulser::ReInitContainers(), CbmMcbm2018UnpackerAlgoTof::ReInitContainers(), CbmMcbmSpillFindAlgo::ReInitContainers(), CbmStar2019EventBuilderEtofAlgo::ReInitContainers(), CbmStar2019MonitorAlgo::ReInitContainers(), ReInitContainers(), and CbmMcbm2018UnpackerAlgoTof::~CbmMcbm2018UnpackerAlgoTof().
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 112 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 113 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpoch(), ProcessEpochCycle(), ProcessEpSupprBuffer(), ProcessHit(), and ProcessMs().
|
private |
Index of current MS within the TS Current data properties
Definition at line 111 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 114 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpSupprBuffer(), ProcessHit(), and ProcessMs().
|
private |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
Definition at line 115 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpSupprBuffer(), and ProcessMs().
|
private |
Time of first MS.
Definition at line 137 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), and SetHistoryHistoSize().
|
private |
Definition at line 105 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpochCycle(), and ProcessMs().
|
private |
Running indices TS/MS info
Definition at line 104 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), ProcessMs(), and ProcessTs().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 109 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), and ProcessTs().
|
protectedinherited |
Definition at line 109 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoTofPulser::FillHistograms(), FillHistograms(), CbmStar2019EventBuilderEtofAlgo::ProcessEpoch(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessStarTrig(), CbmStar2019MonitorAlgo::ProcessStarTrig(), CbmMcbm2018UnpackerAlgoTof::ProcessStarTrigger(), CbmStar2019EventBuilderEtofAlgo::ProcessStarTrigger(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
protectedinherited |
Definition at line 111 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
protectedinherited |
Definition at line 110 of file CbmStar2019Algo.h.
Referenced by CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
private |
Settings from parameter file.
Definition at line 81 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), GetParList(), InitParameters(), ProcessEpSupprBuffer(), ProcessHit(), ProcessMs(), and ReInitContainers().
|
private |
Number of channels in each GET4.
Definition at line 88 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters().
|
private |
Number of GET4s per GDPB.
Definition at line 91 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters().
|
private |
Number of GET4s per FEE.
Definition at line 87 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), and ProcessHit().
|
private |
gDPB ID to index map
Definition at line 85 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ResetHistograms(), and UpdateStats().
|
private |
Readout chain dimensions and mapping
Definition at line 83 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ResetHistograms(), and UpdateStats().
|
private |
Number of channels in each FEE.
Definition at line 89 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters().
|
private |
Number of FEBs per GDPB.
Definition at line 86 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), and ProcessHit().
|
private |
Total number of Get4 chips in the system.
Definition at line 90 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), ProcessEpSupprBuffer(), and ProcessMs().
|
private |
Definition at line 96 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessHit(), and SetPulserChannel().
|
private |
Definition at line 95 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessHit(), and SetPulserTotLimits().
|
private |
Number of channels per GDPB.
User settings: Data correction parameters
Definition at line 94 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessHit(), and SetPulserTotLimits().
|
private |
Definition at line 78 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), and SetUpdateFreqTs().
|
private |
Definition at line 76 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Epoch + Epoch Cycle.
Buffer for suppressed epoch processing
Definition at line 122 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpSupprBuffer(), ProcessMs(), and ~CbmStar2019MonitorPulserAlgo().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 108 of file CbmStar2019Algo.h.
Referenced by CbmMcbm2018MonitorAlgoBmon::AddMsComponentToList(), CbmMcbm2018MonitorAlgoTof::AddMsComponentToList(), CbmMcbm2018MonitorAlgoTofPulser::AddMsComponentToList(), CbmMcbm2018UnpackerAlgoTof::AddMsComponentToList(), CbmMcbmSpillFindAlgo::AddMsComponentToList(), CbmStar2019EventBuilderEtofAlgo::AddMsComponentToList(), CbmStar2019MonitorAlgo::AddMsComponentToList(), AddMsComponentToList(), CbmStar2019EventBuilderEtofAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoBmon::ProcessTs(), CbmMcbm2018MonitorAlgoTof::ProcessTs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessTs(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), CbmMcbmSpillFindAlgo::ProcessTs(), CbmStar2019EventBuilderEtofAlgo::ProcessTs(), CbmStar2019MonitorAlgo::ProcessTs(), and ProcessTs().
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 131 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 129 of file CbmStar2019Algo.h.
|
private |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs].
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
Definition at line 117 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().
|
private |
Current epoch index, per DPB.
Definition at line 118 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpochCycle().
|
private |
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition at line 119 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().
|
private |
Storing the time of the last hit for each MS in each of the FEE.
Definition at line 125 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), InitParameters(), ProcessHit(), and UpdateStats().
|
private |
[ Sector ][ FEE ]
Definition at line 126 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), InitParameters(), and ProcessHit().
|
private |
Size in seconds of the evolution histograms.
Histograms Pulser dT within sector
Definition at line 141 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 134 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), and UpdateStats().
|
private |
[ Sector ][ FEE ]
Histograms and histogram control variables Default value for nb bins in Pulser time difference histos
Definition at line 130 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms().
|
staticprivate |
Constants.
Definition at line 99 of file CbmStar2019MonitorPulserAlgo.h.
|
staticprivate |
Definition at line 100 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 131 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().