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. 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< CbmTofDigi > & | 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< CbmTofDigi > | 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 | |
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. More... | |
std::vector< Bool_t > | fvbMaskedComponents |
Int_t | fiSectorIndex |
UInt_t | fuUpdateFreqTs |
CbmStar2019TofPar * | 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 | fuNrOfGet4PerFee |
Number of FEBs per GDPB. More... | |
UInt_t | fuNrOfChannelsPerGet4 |
Number of GET4s per FEE. More... | |
UInt_t | fuNrOfChannelsPerFee |
Number of channels in each GET4. More... | |
UInt_t | fuNrOfGet4 |
Number of channels in each FEE. More... | |
UInt_t | fuNrOfGet4PerGdpb |
Total number of Get4 chips in the system. More... | |
UInt_t | fuNrOfChannelsPerGdpb |
Number of GET4s per GDPB. More... | |
UInt_t | fuPulserMinTot |
Number of channels per GDPB. More... | |
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. More... | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. More... | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. More... | |
UInt_t | fuCurrentEquipmentId |
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... | |
UInt_t | fuGet4Id |
Index of the DPB from which the MS currently unpacked is coming. More... | |
UInt_t | fuGet4Nr |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message More... | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. 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... | |
std::vector< gdpbv100::Message > | fvmEpSupprBuffer |
Epoch + Epoch Cycle. More... | |
std::vector< std::vector< Bool_t > > | fvvbFeeHitFound |
Storing the time of the last hit for each MS in each of the FEE. More... | |
std::vector< std::vector< Double_t > > | fvvdFeeHits |
[ Sector ][ FEE ] More... | |
const Double_t | kdMaxDtPulserPs = 300e3 |
[ Sector ][ FEE ] More... | |
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. More... | |
UInt_t | fuHistoryHistoSize |
Time of first MS. More... | |
std::vector< std::vector< TH1 * > > | fvvhFeePairPulserTimeDiff |
Size in seconds of the evolution histograms. More... | |
TH2 * | fhPulserTimeDiffMean |
[ FEE A ][ FEE B ] More... | |
TH2 * | fhPulserTimeDiffRms |
TH2 * | fhPulserTimeDiffRmsZoom |
TH2 * | fhPulserRmsGdpbToRefEvo |
TH2 * | fhPulserRmsGbtxToRefEvo |
TCanvas * | fcSummary |
Canvases. More... | |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. More... | |
static const UInt_t | kuBytesPerMessage = 8 |
Definition at line 31 of file CbmStar2019MonitorPulserAlgo.h.
CbmStar2019MonitorPulserAlgo::CbmStar2019MonitorPulserAlgo | ( | ) |
Definition at line 34 of file CbmStar2019MonitorPulserAlgo.cxx.
CbmStar2019MonitorPulserAlgo::~CbmStar2019MonitorPulserAlgo | ( | ) |
Clear buffers
Definition at line 82 of file CbmStar2019MonitorPulserAlgo.cxx.
References fvmEpSupprBuffer.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
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 196 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmStar2019MonitorPulserTask::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 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 525 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 756 of file CbmStar2019MonitorPulserAlgo.cxx.
References fbEtofFeeIndexing, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuUpdateFreqTs, fvvbFeeHitFound, fvvdFeeHits, fvvhFeePairPulserTimeDiff, GetRMS(), kdFitZoomWidthPs, and kdMaxDtPulserPs.
Referenced by ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 94 of file CbmStar2019MonitorPulserAlgo.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.
|
inlinevirtualinherited |
Definition at line 75 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 118 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmStar2019MonitorPulserTask::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 88 of file CbmStar2019MonitorPulserAlgo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 101 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 125 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(), CbmStar2019TofPar::GetSizeMsInNs(), and i.
Referenced by ReInitContainers().
|
private |
|
private |
Process the corresponding messages buffer for current gDPB
Definition at line 412 of file CbmStar2019MonitorPulserAlgo.cxx.
References fuCurrDpbIdx, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::kuEpochCounterSz, and ProcessEpSupprBuffer().
Referenced by ProcessMs().
|
private |
Definition at line 387 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 429 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 487 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 261 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 212 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(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 47 of file CbmStar2019MonitorPulserAlgo.h.
References ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 107 of file CbmStar2019MonitorPulserAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmStar2019MonitorPulserTask::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 93 of file CbmStar2019MonitorPulserAlgo.cxx.
Bool_t CbmStar2019MonitorPulserAlgo::ResetHistograms | ( | ) |
Definition at line 935 of file CbmStar2019MonitorPulserAlgo.cxx.
References fdStartTime, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fuNrOfFeePerGdpb, fuNrOfGdpbs, and fvvhFeePairPulserTimeDiff.
Referenced by CbmStar2019MonitorPulserTask::DoUnpack().
|
inline |
Definition at line 59 of file CbmStar2019MonitorPulserAlgo.h.
References fbEtofFeeIndexing.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 69 of file CbmStar2019MonitorPulserAlgo.h.
References fuHistoryHistoSize.
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 68 of file CbmStar2019MonitorPulserAlgo.h.
References fuPulserChannel.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 64 of file CbmStar2019MonitorPulserAlgo.h.
References fuPulserMaxTot, and fuPulserMinTot.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 62 of file CbmStar2019MonitorPulserAlgo.h.
References fiSectorIndex.
Referenced by CbmStar2019MonitorPulserTask::InitContainers().
|
inline |
Definition at line 63 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 853 of file CbmStar2019MonitorPulserAlgo.cxx.
References fbEtofFeeIndexing, fhPulserTimeDiffMean, fhPulserTimeDiffRms, fhPulserTimeDiffRmsZoom, fuNrOfFeePerGdpb, fuNrOfGdpbs, fvvbFeeHitFound, fvvhFeePairPulserTimeDiff, GetRMS(), and kdFitZoomWidthPs.
Referenced by CbmStar2019MonitorPulserTask::Finish().
|
private |
Definition at line 142 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 141 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 116 of file CbmStar2019Algo.h.
|
private |
Canvases.
Definition at line 159 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
|
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 CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Starting time and time evolution book-keeping.
Definition at line 145 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs(), and ResetHistograms().
|
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 CbmStar2019MonitorPulserAlgo.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 CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 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 156 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 155 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().
|
private |
[ FEE A ][ FEE B ]
Definition at line 152 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 153 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 154 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 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 117 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 119 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 115 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessMs().
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 121 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 123 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpSupprBuffer(), and ProcessMs().
|
private |
Time of first MS.
Definition at line 146 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 112 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), and 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 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 131 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by ProcessEpSupprBuffer(), ProcessMs(), and ~CbmStar2019MonitorPulserAlgo().
|
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 |
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 125 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().
|
private |
Current epoch index, per DPB.
Definition at line 127 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 128 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 134 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by FillHistograms(), InitParameters(), ProcessHit(), and UpdateStats().
|
private |
[ Sector ][ FEE ]
Definition at line 135 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 151 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetHistograms(), and UpdateStats().
|
private |
Definition at line 143 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 139 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 140 of file CbmStar2019MonitorPulserAlgo.h.
Referenced by CreateHistograms().