CbmRoot
|
#include <CbmMcbm2018MonitorSts.h>
Public Member Functions | |
CbmMcbm2018MonitorSts () | |
virtual | ~CbmMcbm2018MonitorSts () |
virtual Bool_t | Init () |
virtual Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
virtual void | Reset () |
virtual void | Finish () |
void | SetParContainers () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
virtual void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
virtual void | SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb) |
void | SetMsOverlap (size_t uOverlapMsNb=1) |
size_t | GetMsOverlap () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
void | SetRunStart (Int_t dateIn, Int_t timeIn, Int_t iBinSize=5) |
void | ResetAllHistos () |
void | SaveAllHistos (TString sFileName="") |
void | SavePulserHistos (TString sFileName="") |
void | SetHistoFileName (TString sFileName="data/SetupHistos.root") |
void | SetPrintMessage (Bool_t bPrintMessOn=kTRUE, stsxyter::MessagePrintMask ctrl=stsxyter::MessagePrintMask::msg_print_Hex|stsxyter::MessagePrintMask::msg_print_Human) |
void | SetLongDurationLimits (UInt_t uDurationSeconds=3600, UInt_t uBinSize=1) |
void | SetFebChanCoincidenceLimitNs (Double_t dLimitIn) |
void | SetEnableCheckBugSmx20 (Bool_t bEnable=kTRUE) |
void | UseNoiseLimitsSmx2LogicError (Bool_t bUseNoise=kTRUE) |
void | SetBinningFwFlag (Bool_t bEnable=kTRUE) |
=> Quick and dirty hack for binning FW!!! | |
void | UseDaqBuffer (Bool_t) |
Private Member Functions | |
void | SmxErrInitializeVariables () |
Methods. | |
Bool_t | SmxErrCheckCoinc (UInt_t uFebIdx, UInt_t uAsicIdx, Double_t dNewHitTime) |
Bool_t | InitStsParameters () |
void | CreateHistograms () |
Bool_t | ProcessStsMs (const fles::Timeslice &ts, size_t uMsComp, UInt_t uMsIdx) |
void | FillHitInfo (stsxyter::Message mess, const UShort_t &usElinkIdx, const UInt_t &uAsicIdx, const UInt_t &uMsIdx) |
void | FillTsMsbInfo (stsxyter::Message mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0) |
void | FillEpochInfo (stsxyter::Message mess) |
void | ResetStsHistos () |
void | SaveStsHistos (TString sFileName="") |
Bool_t | ScanForNoisyChannels (Double_t dNoiseThreshold=1e3) |
---------------------------------------------------------------—/// | |
CbmMcbm2018MonitorSts (const CbmMcbm2018MonitorSts &) | |
CbmMcbm2018MonitorSts | operator= (const CbmMcbm2018MonitorSts &) |
Private Attributes | |
std::vector< Bool_t > | fvbMaskedComponents |
std::vector< size_t > | fvMsComponentsList |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
Bool_t | fbIgnoreOverlapMs |
CbmMcbm2018StsPar * | fUnpackParSts |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ | |
UInt_t | fuNbModules |
std::vector< Int_t > | fviModuleType |
Total number of STS modules in the setup. | |
std::vector< Int_t > | fviModAddress |
Type of each module: 0 for connectors on the right, 1 for connectors on the left. | |
UInt_t | fuNrOfDpbs |
STS address for the first strip of each module. | |
std::map< UInt_t, UInt_t > | fDpbIdIndexMap |
Total number of STS DPBs in system. | |
std::vector< std::vector< Bool_t > > | fvbCrobActiveFlag |
Map of DPB Identifier to DPB index. | |
UInt_t | fuNbFebs |
Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ]. | |
UInt_t | fuNbStsXyters |
Number of StsXyter ASICs. | |
std::vector< std::vector< std::vector< Int_t > > > | fviFebModuleIdx |
Number of StsXyter ASICs. | |
std::vector< std::vector< std::vector< Int_t > > > | fviFebModuleSide |
Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive. | |
std::vector< std::vector< std::vector< Int_t > > > | fviFebType |
STS module side for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = P, 1 = N, -1 if inactive. | |
std::vector< std::vector< std::vector< Double_t > > > | fvdFebAdcGain |
FEB type, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = A, 1 = B, -1 if inactive. | |
std::vector< std::vector< std::vector< Double_t > > > | fvdFebAdcOffs |
ADC gain in e-/b, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ]. | |
TString | fsHistoFileFullname |
Bool_t | fbPrintMessages |
Task configuration values. | |
stsxyter::MessagePrintMask | fPrintMessCtrl |
Bool_t | fbEnableCheckBugSmx20 |
Bool_t | fbBinningFw = kFALSE |
=> Quick and dirty hack for binning FW!!! | |
ULong64_t | fulCurrentTsIdx |
TS/MS info. | |
ULong64_t | fulCurrentMsIdx |
std::map< stsxyter::MessType, UInt_t > | fmMsgCounter |
Current data properties. | |
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. | |
Int_t | fiRunStartDateTimeSec |
Index of the DPB from which the MS currently unpacked is coming. | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. | |
std::vector< ULong64_t > | fvulCurrentTsMsb |
Bin size in s for the plots with date as X axis. | |
std::vector< UInt_t > | fvuCurrentTsMsbCycle |
Current TS MSB for each DPB. | |
std::vector< UInt_t > | fvuInitialHeaderDone |
Current TS MSB cycle for DPB. | |
std::vector< UInt_t > | fvuInitialTsMsbCycleHeader |
Flag set after seeing MS header in 1st MS for DPB. | |
std::vector< UInt_t > | fvuElinkLastTsHit |
TS MSB cycle from MS header in 1st MS for DPB. | |
std::vector< std::vector< ULong64_t > > | fvulChanLastHitTime |
std::vector< std::vector< Double_t > > | fvdChanLastHitTime |
Last hit time in bins for each Channel. | |
std::vector< Double_t > | fvdPrevMsTime |
Last hit time in ns for each Channel. | |
std::vector< Double_t > | fvdMsTime |
Header time of previous MS per link. | |
std::vector< std::vector< std::vector< UInt_t > > > | fvuChanNbHitsInMs |
Header time of each MS. | |
std::vector< std::vector< std::vector< Double_t > > > | fvdChanLastHitTimeInMs |
Number of hits in each MS for each Channel. | |
std::vector< std::vector< std::vector< UShort_t > > > | fvusChanLastHitAdcInMs |
Last hit time in bins in each MS for each Channel. | |
Double_t | fdStartTime |
Last hit ADC in bins in each MS for each Channel. | |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< stsxyter::FinalHit > | fvmHitsInMs |
Hits time-sorting. | |
std::vector< std::vector< stsxyter::FinalHit > > | fvmAsicHitsInMs |
All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator. | |
std::vector< std::vector< stsxyter::FinalHit > > | fvmFebHitsInMs |
All hits (time in bins, ADC in bins, asic, channel) in last TS, per ASIC, sorted with "<" operator. | |
UInt_t | fuMaxNbMicroslices |
Int_t | fiTimeIntervalRateUpdate |
Mean Rate per channel plots. | |
std::vector< Double_t > | fvdFebTimeSecLastRateUpdate |
std::vector< Int_t > | fviFebCountsSinceLastRateUpdate |
std::vector< std::vector< Double_t > > | fvdFebChanCountsSinceLastRateUpdate |
Bool_t | fbLongHistoEnable |
Rate evolution histos. | |
UInt_t | fuLongHistoNbSeconds |
UInt_t | fuLongHistoBinSizeSec |
UInt_t | fuLongHistoBinNb |
Double_t | fdCoincCenter |
Coincidences in sorted hits. | |
Double_t | fdCoincBorder |
Double_t | fdCoincMin |
Double_t | fdCoincMax |
CbmHistManager * | fHM |
Histograms. | |
TH1 * | fhStsMessType |
Histogram manager. | |
TH1 * | fhStsSysMessType |
TH2 * | fhStsMessTypePerDpb |
TH2 * | fhStsSysMessTypePerDpb |
TH2 * | fhStsStatusMessType |
TH2 * | fhStsMsStatusFieldType |
TH2 * | fhStsMessTypePerElink |
TH2 * | fhStsHitsElinkPerDpb |
TH2 * | fhStsAllFebsHitRateEvo |
TH2 * | fhStsAllAsicsHitRateEvo |
TH2 * | fhStsFebAsicHitCounts |
Double_t | fdFebChanCoincidenceLimit |
Plots per FEB-8. | |
std::vector< TH1 * > | fhStsFebChanCntRaw |
std::vector< TH1 * > | fhStsFebChanCntRawGood |
std::vector< TH2 * > | fhStsFebChanAdcRaw |
std::vector< TProfile * > | fhStsFebChanAdcRawProf |
std::vector< TH2 * > | fhStsFebChanRawTs |
std::vector< TH2 * > | fhStsFebChanMissEvt |
std::vector< TH2 * > | fhStsFebChanMissEvtEvo |
std::vector< TH2 * > | fhStsFebAsicMissEvtEvo |
std::vector< TH1 * > | fhStsFebMissEvtEvo |
std::vector< TH2 * > | fhStsFebChanHitRateEvo |
std::vector< TProfile * > | fhStsFebChanHitRateProf |
std::vector< TH2 * > | fhStsFebAsicHitRateEvo |
std::vector< TH1 * > | fhStsFebHitRateEvo |
std::vector< TH2 * > | fhStsFebChanHitRateEvoLong |
std::vector< TH2 * > | fhStsFebAsicHitRateEvoLong |
std::vector< TH1 * > | fhStsFebHitRateEvoLong |
std::vector< std::vector< Double_t > > | fdStsFebChanLastTimeForDist |
std::vector< TH2 * > | fhStsFebChanDistT |
std::vector< TH2 * > | fhStsFebChanCloseHitsCounts |
std::vector< TProfile * > | fhStsFebChanCloseHitsRatio |
Bool_t | fbSmx2ErrorUseNoiseLevels |
SXM 2.0 logic error detection and tagging, 1 eLink case. | |
Double_t | fdSmxErrCoincWinM07 |
Tagging variables. | |
Double_t | fdSmxErrCoincWinM08 |
Double_t | fdSmxErrCoincWinM09 |
Double_t | fdSmxErrCoincWinM10 |
Double_t | fdSmxErrCoincWinM11 |
std::vector< std::vector< std::vector< Double_t > > > | fvdSmxErrTimeLastHits |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxFirstHitM07 |
[ NbFebs ][ NbSmxPerFeb ][ kuSmxErrCoincWinNbHits ] | |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxFirstHitM08 |
[ NbFebs ][ NbSmxPerFeb ] | |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxFirstHitM09 |
[ NbFebs ][ NbSmxPerFeb ] | |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxFirstHitM10 |
[ NbFebs ][ NbSmxPerFeb ] | |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxFirstHitM11 |
[ NbFebs ][ NbSmxPerFeb ] | |
std::vector< std::vector< UInt_t > > | fvuSmxErrIdxLastHit |
[ NbFebs ][ NbSmxPerFeb ] | |
std::vector< TProfile * > | fhStsFebSmxErrRatioEvo |
Histograms. | |
std::vector< TProfile2D * > | fhStsFebSmxErrRatioEvoAsic |
std::vector< TProfile * > | fhStsFebSmxErrRatioCopyEvo |
std::vector< TProfile2D * > | fhStsFebSmxErrRatioCopyEvoAsic |
std::vector< TProfile * > | fhStsFebSmxErrRatioCopySameAdcEvo |
std::vector< TProfile2D * > | fhStsFebSmxErrRatioCopySameAdcEvoAsic |
TH2 * | fhMsErrorsEvo = nullptr |
Binning FW error flag. | |
std::vector< TCanvas * > | fvcStsSumm |
Canvases. | |
std::vector< TCanvas * > | fvcStsSmxErr |
TCanvas * | fcMsSizeAll |
TH1 * | fhMsSz [kiMaxNbFlibLinks] |
TProfile * | fhMsSzTime [kiMaxNbFlibLinks] |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
ADC offset in e-, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ]. | |
static const UInt_t | kuBytesPerMessage = 4 |
static const UInt_t | kuSmxErrCoincWinNbHits = 11 |
static constexpr const Double_t | kdSmxErrCoincWinBeg = 0 |
static constexpr const Double_t | kdSmxErrCoincWinMainM07 = 320 |
Coincidence windows for 99.0% tagging (up to 1% of corruption not detected) | |
static constexpr const Double_t | kdSmxErrCoincWinMainM08 = 380 |
static constexpr const Double_t | kdSmxErrCoincWinMainM09 = 450 |
static constexpr const Double_t | kdSmxErrCoincWinMainM10 = 510 |
static constexpr const Double_t | kdSmxErrCoincWinMainM11 = 570 |
static constexpr const Double_t | kdSmxErrCoincWinNoiseM07 = 390 |
Coincidence windows 99.9% tagging (up to 0.1% of corruption not detected) | |
static constexpr const Double_t | kdSmxErrCoincWinNoiseM08 = 460 |
static constexpr const Double_t | kdSmxErrCoincWinNoiseM09 = 540 |
static constexpr const Double_t | kdSmxErrCoincWinNoiseM10 = 600 |
static constexpr const Double_t | kdSmxErrCoincWinNoiseM11 = 660 |
Definition at line 36 of file CbmMcbm2018MonitorSts.h.
CbmMcbm2018MonitorSts::CbmMcbm2018MonitorSts | ( | ) |
Definition at line 52 of file CbmMcbm2018MonitorSts.cxx.
|
virtual |
Definition at line 200 of file CbmMcbm2018MonitorSts.cxx.
|
private |
|
virtual |
Check for duplicates and ignore if it is the case
Check if this does not go above hardcoded limits
Add to list
Create MS size monitoring histos
Implements CbmMcbmUnpack.
Definition at line 419 of file CbmMcbm2018MonitorSts.cxx.
References CbmHistManager::Add(), fcMsSizeAll, fHM, fhMsSz, fhMsSzTime, fvMsComponentsList, and kiMaxNbFlibLinks.
|
private |
Hit rates evo per FEB in system
Hit rates evo per ASIC in system
Hit counts map in system
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/// FEB-8 plots All histos per FEB: with channels or ASIC as axis!!
Channel counts
Raw Adc Distribution
Raw Adc Distribution profile
Raw Ts Distribution
Missed event flag
Missed event flag counts evolution
Missed event flag counts evolution
Missed event flag counts evolution
Hit rates evo per channel
Hit rates profile per channel
Hit rates evo per StsXyter
Hit rates evo per FEB
Hit rates evo per channel, 1 minute bins, 24h
Hit rates evo per channel, 1 minute bins, 24h
Hit rates evo per FEB, 1 minute bins, 24h
Distance between hits on same channel
Hits with too small dt on same channel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/// --------------— SXM 2.0 Logic Error Tagging -----------------—///
Evo of ratio MS with SMX Error over all MS
Evo of ratio MS with SMX Error per ASIC
Evo of ratio MS with hit copies over all MS
Evo of ratio MS with hit copies per ASIC
Evo of ratio MS with hit copies over all MS
Evo of ratio MS with hit copies per ASIC
---------------------------------------------------------------—///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++///
Create summary Canvases for CERN 2017
Recovers/Create Ms Size Canvase for CERN 2016
Definition at line 513 of file CbmMcbm2018MonitorSts.cxx.
References fbEnableCheckBugSmx20, fcMsSizeAll, fhMsErrorsEvo, fhMsSz, fhMsSzTime, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsFebAsicHitRateEvo, fhStsFebAsicHitRateEvoLong, fhStsFebAsicMissEvtEvo, fhStsFebChanAdcRaw, fhStsFebChanAdcRawProf, fhStsFebChanCloseHitsCounts, fhStsFebChanCloseHitsRatio, fhStsFebChanCntRaw, fhStsFebChanCntRawGood, fhStsFebChanDistT, fhStsFebChanHitRateEvo, fhStsFebChanHitRateEvoLong, fhStsFebChanHitRateProf, fhStsFebChanMissEvt, fhStsFebChanMissEvtEvo, fhStsFebChanRawTs, fhStsFebHitRateEvo, fhStsFebHitRateEvoLong, fhStsFebMissEvtEvo, fhStsFebSmxErrRatioCopyEvo, fhStsFebSmxErrRatioCopyEvoAsic, fhStsFebSmxErrRatioCopySameAdcEvo, fhStsFebSmxErrRatioCopySameAdcEvoAsic, fhStsFebSmxErrRatioEvo, fhStsFebSmxErrRatioEvoAsic, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fhStsMsStatusFieldType, fhStsStatusMessType, fhStsSysMessType, fhStsSysMessTypePerDpb, fuLongHistoBinNb, fuLongHistoBinSizeSec, fuLongHistoNbSeconds, fuNbFebs, fuNbStsXyters, fUnpackParSts, fuNrOfDpbs, fvcStsSmxErr, fvcStsSumm, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerFeb(), CbmMcbm2018StsPar::GetNbElinkPerDpb(), CbmMcbm2018StsPar::IsFebActive(), kiMaxNbFlibLinks, stsxyter::kuHitNbAdcBins, and stsxyter::kuHitNbTsBins.
Referenced by InitContainers().
|
virtual |
Ignore First TS as first MS is typically corrupt
Pulses time difference calculation and plotting
--------------— SXM 2.0 Logic Error Tagging -----------------—///
---------------------------------------------------------------—///
--------------— SXM 2.0 Logic Error Tagging -----------------—///
Check if hit copy
---------------------------------------------------------------—///
Data in vector are not needed anymore as all possible matches are already checked
--------------— SXM 2.0 Logic Error Tagging -----------------—///
---------------------------------------------------------------—///
Data in vector are not needed anymore as all possible matches are already checked
Implements CbmMcbmUnpack.
Definition at line 1179 of file CbmMcbm2018MonitorSts.cxx.
References bMcbm2018ResetSts, bMcbm2018ScanNoisySts, bMcbm2018WriteSts, fbEnableCheckBugSmx20, fbIgnoreOverlapMs, fDpbIdIndexMap, fdStartTimeMsSz, fhStsFebChanCntRawGood, fhStsFebSmxErrRatioCopyEvo, fhStsFebSmxErrRatioCopyEvoAsic, fhStsFebSmxErrRatioCopySameAdcEvo, fhStsFebSmxErrRatioCopySameAdcEvoAsic, fhStsFebSmxErrRatioEvo, fhStsFebSmxErrRatioEvoAsic, FormatMsHeaderPrintout(), fsHistoFileFullname, fuCurrDpbIdx, fulCurrentTsIdx, fuMaxNbMicroslices, fuNbCoreMsPerTs, fuNbFebs, fuNbOverMsPerTs, fuNbStsXyters, fUnpackParSts, fuNrOfDpbs, fvdMsTime, fvmAsicHitsInMs, fvmFebHitsInMs, fvmHitsInMs, fvMsComponentsList, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerAsic(), stsxyter::kdClockCycleNs, stsxyter::kuHitNbTsBins, stsxyter::kulTsCycleNbBins, ProcessStsMs(), ResetAllHistos(), SaveAllHistos(), ScanForNoisyChannels(), and SmxErrCheckCoinc().
|
private |
Definition at line 2240 of file CbmMcbm2018MonitorSts.cxx.
Referenced by ProcessStsMs().
|
private |
=> Quick and dirty hack for binning FW!!!
Cheat needed only for modules with FEB at bottom of module or the Test module
=> Quick and dirty hack for binning FW!!!
Check for duplicates/too close hits
Definition at line 2002 of file CbmMcbm2018MonitorSts.cxx.
References fbBinningFw, fdStartTime, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsFebAsicHitRateEvo, fhStsFebAsicHitRateEvoLong, fhStsFebAsicMissEvtEvo, fhStsFebChanAdcRaw, fhStsFebChanAdcRawProf, fhStsFebChanCloseHitsCounts, fhStsFebChanCloseHitsRatio, fhStsFebChanCntRaw, fhStsFebChanHitRateEvo, fhStsFebChanHitRateEvoLong, fhStsFebChanMissEvt, fhStsFebChanMissEvtEvo, fhStsFebChanRawTs, fhStsFebHitRateEvo, fhStsFebHitRateEvoLong, fhStsFebMissEvtEvo, fuCurrDpbIdx, fUnpackParSts, fvdChanLastHitTime, fvdChanLastHitTimeInMs, fvdFebChanCountsSinceLastRateUpdate, fviFebCountsSinceLastRateUpdate, fvmHitsInMs, fvuChanNbHitsInMs, fvuCurrentTsMsbCycle, fvulChanLastHitTime, fvulCurrentTsMsb, fvusChanLastHitAdcInMs, stsxyter::Message::GetHitAdc(), stsxyter::Message::GetHitChannel(), stsxyter::Message::GetHitTime(), stsxyter::Message::GetHitTimeBinning(), CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerAsic(), stsxyter::Message::IsHitMissedEvts(), stsxyter::kdClockCycleNs, stsxyter::kuHitNbTsBins, stsxyter::kuHitNbTsBinsBinning, stsxyter::kulTsCycleNbBins, and stsxyter::kulTsCycleNbBinsBinning.
Referenced by ProcessStsMs().
|
private |
=> Quick and dirty hack for binning FW!!!
First TS_MSB in MS may jump if TS dropped by DAQ
case with cycle et edge of 2 MS
Msg 1 and 2 will be same TS_MSB if data in 1st bin
New FW introduced TS_MSB suppression + large TS_MSB => warning only if value not increasing
Definition at line 2166 of file CbmMcbm2018MonitorSts.cxx.
References fbBinningFw, fuCurrDpbIdx, fulCurrentMsIdx, fulCurrentTsIdx, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetTsMsbVal(), and stsxyter::Message::GetTsMsbValBinning().
Referenced by ProcessStsMs().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 2257 of file CbmMcbm2018MonitorSts.cxx.
References stsxyter::Dummy, stsxyter::Empty, stsxyter::Epoch, fmMsgCounter, fsHistoFileFullname, stsxyter::Hit, SaveAllHistos(), and stsxyter::TsMsb.
|
inline |
Definition at line 58 of file CbmMcbm2018MonitorSts.h.
References fuNbOverMsPerTs.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 202 of file CbmMcbm2018MonitorSts.cxx.
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 219 of file CbmMcbm2018MonitorSts.cxx.
References CreateHistograms(), and InitStsParameters().
|
private |
--------------— SXM 2.0 Logic Error Tagging -----------------—///
---------------------------------------------------------------—///
Definition at line 236 of file CbmMcbm2018MonitorSts.cxx.
References fbBinningFw, fbEnableCheckBugSmx20, fDpbIdIndexMap, fdStsFebChanLastTimeForDist, fuMaxNbMicroslices, fuNbFebs, fuNbModules, fuNbStsXyters, fUnpackParSts, fuNrOfDpbs, fvbCrobActiveFlag, fvdChanLastHitTime, fvdChanLastHitTimeInMs, fvdFebAdcGain, fvdFebAdcOffs, fvdFebChanCountsSinceLastRateUpdate, fvdFebTimeSecLastRateUpdate, fvdMsTime, fvdPrevMsTime, fviFebCountsSinceLastRateUpdate, fviFebModuleIdx, fviFebModuleSide, fviFebType, fviModAddress, fviModuleType, fvmAsicHitsInMs, fvmFebHitsInMs, fvuChanNbHitsInMs, fvuCurrentTsMsbCycle, fvuElinkLastTsHit, fvuInitialHeaderDone, fvuInitialTsMsbCycleHeader, fvulChanLastHitTime, fvulCurrentTsMsb, fvusChanLastHitAdcInMs, CbmMcbm2018StsPar::GetDpbId(), CbmMcbm2018StsPar::GetFebAdcGain(), CbmMcbm2018StsPar::GetFebAdcOffset(), CbmMcbm2018StsPar::GetFebModuleIdx(), CbmMcbm2018StsPar::GetFebModuleSide(), CbmMcbm2018StsPar::GetModuleAddress(), CbmMcbm2018StsPar::GetModuleType(), CbmMcbm2018StsPar::GetNbChanPerAsic(), CbmMcbm2018StsPar::GetNbChanPerFeb(), CbmMcbm2018StsPar::GetNbCrobsPerDpb(), CbmMcbm2018StsPar::GetNbFebsPerCrob(), CbmMcbm2018StsPar::GetNbOfModules(), CbmMcbm2018StsPar::GetNrOfAsics(), CbmMcbm2018StsPar::GetNrOfDpbs(), CbmMcbm2018StsPar::GetNrOfFebs(), CbmMcbm2018StsPar::IsCrobActive(), kiMaxNbFlibLinks, and SmxErrInitializeVariables().
Referenced by InitContainers(), and ReInitContainers().
|
private |
|
private |
Plots in [X/s] update
"new second"
Ignore first interval is not clue how late the data taking was started
Jump empty FEBs without looping over channels
Check Flags field of MS header
Check the current TS_MSb cycle and correct it if wrong
=> Quick and dirty hack for binning FW!!!
Catch Cycles happening by chance exactly at the TS border
=> Quick and dirty hack for binning FW!!!
Always print status messages... or not?
Definition at line 1709 of file CbmMcbm2018MonitorSts.cxx.
References stsxyter::Dummy, CbmMcbm2018StsPar::ElinkIdxToAsicIdx(), CbmMcbm2018StsPar::ElinkIdxToFebIdx(), stsxyter::Empty, stsxyter::EndOfMs, stsxyter::Epoch, fbBinningFw, fbPrintMessages, fDpbIdIndexMap, fdStartTimeMsSz, fhMsErrorsEvo, fhMsSz, fhMsSzTime, fhStsFebChanHitRateProf, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fhStsMsStatusFieldType, fhStsStatusMessType, FillEpochInfo(), FillHitInfo(), FillTsMsbInfo(), fiTimeIntervalRateUpdate, fmMsgCounter, FormatMsHeaderPrintout(), fPrintMessCtrl, fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackParSts, fvbMaskedComponents, fvdFebChanCountsSinceLastRateUpdate, fvdFebTimeSecLastRateUpdate, fvdPrevMsTime, fviFebCountsSinceLastRateUpdate, fviFebType, fvuCurrentTsMsbCycle, fvuInitialHeaderDone, fvuInitialTsMsbCycleHeader, fvulCurrentTsMsb, stsxyter::Message::GetLinkIndex(), stsxyter::Message::GetLinkIndexHitBinning(), stsxyter::Message::GetMessType(), stsxyter::Message::GetMsErrorType(), CbmMcbm2018StsPar::GetNbAsicsPerCrob(), CbmMcbm2018StsPar::GetNbChanPerFeb(), CbmMcbm2018StsPar::GetNbCrobsPerDpb(), CbmMcbm2018StsPar::GetNbElinkPerCrob(), CbmMcbm2018StsPar::GetNbElinkPerDpb(), CbmMcbm2018StsPar::GetNbFebsPerDpb(), stsxyter::Message::GetStatusLink(), stsxyter::Message::GetStatusStatus(), stsxyter::Hit, stsxyter::Message::IsMsErrorFlagOn(), stsxyter::kdClockCycleNs, kiMaxNbFlibLinks, kuBytesPerMessage, stsxyter::kulTsCycleNbBins, stsxyter::kulTsCycleNbBinsBinning, stsxyter::Message::PrintMess(), stsxyter::Status, and stsxyter::TsMsb.
Referenced by DoUnpack().
|
virtual |
Reimplemented from CbmMcbmUnpack.
Definition at line 229 of file CbmMcbm2018MonitorSts.cxx.
References InitStsParameters().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 2255 of file CbmMcbm2018MonitorSts.cxx.
void CbmMcbm2018MonitorSts::ResetAllHistos | ( | ) |
--------------— SXM 2.0 Logic Error Tagging -----------------—///
---------------------------------------------------------------—///
Definition at line 2418 of file CbmMcbm2018MonitorSts.cxx.
References CbmHistManager::Exists(), fbEnableCheckBugSmx20, fdStartTime, fdStartTimeMsSz, fHM, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsFebAsicHitRateEvo, fhStsFebAsicHitRateEvoLong, fhStsFebAsicMissEvtEvo, fhStsFebChanAdcRaw, fhStsFebChanAdcRawProf, fhStsFebChanCloseHitsCounts, fhStsFebChanCloseHitsRatio, fhStsFebChanCntRaw, fhStsFebChanCntRawGood, fhStsFebChanDistT, fhStsFebChanHitRateEvo, fhStsFebChanHitRateEvoLong, fhStsFebChanHitRateProf, fhStsFebChanMissEvt, fhStsFebChanMissEvtEvo, fhStsFebChanRawTs, fhStsFebHitRateEvo, fhStsFebHitRateEvoLong, fhStsFebMissEvtEvo, fhStsFebSmxErrRatioCopyEvo, fhStsFebSmxErrRatioCopyEvoAsic, fhStsFebSmxErrRatioCopySameAdcEvo, fhStsFebSmxErrRatioCopySameAdcEvoAsic, fhStsFebSmxErrRatioEvo, fhStsFebSmxErrRatioEvoAsic, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fhStsMsStatusFieldType, fhStsStatusMessType, fhStsSysMessType, fhStsSysMessTypePerDpb, fuNbFebs, fUnpackParSts, CbmHistManager::H1(), CbmMcbm2018StsPar::IsFebActive(), kiMaxNbFlibLinks, and CbmHistManager::P1().
Referenced by DoUnpack().
|
private |
void CbmMcbm2018MonitorSts::SaveAllHistos | ( | TString | sFileName = "" | ) |
Save old global file and folder pointer to avoid messing with FairRoot
--------------— SXM 2.0 Logic Error Tagging -----------------—///
---------------------------------------------------------------—///
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 2275 of file CbmMcbm2018MonitorSts.cxx.
References CbmHistManager::Exists(), fbEnableCheckBugSmx20, fHM, fhStsAllAsicsHitRateEvo, fhStsAllFebsHitRateEvo, fhStsFebAsicHitCounts, fhStsFebAsicHitRateEvo, fhStsFebAsicHitRateEvoLong, fhStsFebAsicMissEvtEvo, fhStsFebChanAdcRaw, fhStsFebChanAdcRawProf, fhStsFebChanCloseHitsCounts, fhStsFebChanCloseHitsRatio, fhStsFebChanCntRaw, fhStsFebChanCntRawGood, fhStsFebChanDistT, fhStsFebChanHitRateEvo, fhStsFebChanHitRateEvoLong, fhStsFebChanHitRateProf, fhStsFebChanMissEvt, fhStsFebChanMissEvtEvo, fhStsFebChanRawTs, fhStsFebHitRateEvo, fhStsFebHitRateEvoLong, fhStsFebMissEvtEvo, fhStsFebSmxErrRatioCopyEvo, fhStsFebSmxErrRatioCopyEvoAsic, fhStsFebSmxErrRatioCopySameAdcEvo, fhStsFebSmxErrRatioCopySameAdcEvoAsic, fhStsFebSmxErrRatioEvo, fhStsFebSmxErrRatioEvoAsic, fhStsHitsElinkPerDpb, fhStsMessType, fhStsMessTypePerDpb, fhStsMessTypePerElink, fhStsMsStatusFieldType, fhStsStatusMessType, fhStsSysMessType, fhStsSysMessTypePerDpb, fuNbFebs, fUnpackParSts, fvcStsSmxErr, fvcStsSumm, CbmHistManager::H1(), CbmMcbm2018StsPar::IsFebActive(), kiMaxNbFlibLinks, and CbmHistManager::P1().
Referenced by DoUnpack(), and Finish().
void CbmMcbm2018MonitorSts::SavePulserHistos | ( | TString | sFileName = "" | ) |
|
private |
|
private |
---------------------------------------------------------------—///
Definition at line 2675 of file CbmMcbm2018MonitorSts.cxx.
References fhStsFebChanHitRateProf, fuNbFebs, fUnpackParSts, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerAsic(), and CbmMcbm2018StsPar::IsFebActive().
Referenced by DoUnpack().
|
inline |
=> Quick and dirty hack for binning FW!!!
Definition at line 83 of file CbmMcbm2018MonitorSts.h.
References fbBinningFw.
|
inline |
Definition at line 79 of file CbmMcbm2018MonitorSts.h.
References fbEnableCheckBugSmx20.
|
inline |
Definition at line 78 of file CbmMcbm2018MonitorSts.h.
References fdFebChanCoincidenceLimit.
|
inline |
Definition at line 66 of file CbmMcbm2018MonitorSts.h.
References fsHistoFileFullname.
|
inline |
Definition at line 59 of file CbmMcbm2018MonitorSts.h.
References fbIgnoreOverlapMs.
void CbmMcbm2018MonitorSts::SetLongDurationLimits | ( | UInt_t | uDurationSeconds = 3600, |
UInt_t | uBinSize = 1 ) |
Definition at line 2542 of file CbmMcbm2018MonitorSts.cxx.
References fbLongHistoEnable, fuLongHistoBinSizeSec, and fuLongHistoNbSeconds.
|
inline |
Definition at line 57 of file CbmMcbm2018MonitorSts.h.
References fuNbOverMsPerTs.
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 467 of file CbmMcbm2018MonitorSts.cxx.
References fuMaxNbMicroslices, fuNbCoreMsPerTs, fuNbOverMsPerTs, fuNbStsXyters, fUnpackParSts, fvdChanLastHitTimeInMs, fvdMsTime, fvuChanNbHitsInMs, fvusChanLastHitAdcInMs, and CbmMcbm2018StsPar::GetNbChanPerAsic().
|
virtual |
Implements CbmMcbmUnpack.
Definition at line 212 of file CbmMcbm2018MonitorSts.cxx.
References fUnpackParSts.
|
inline |
Definition at line 68 of file CbmMcbm2018MonitorSts.h.
References fbPrintMessages, and fPrintMessCtrl.
void CbmMcbm2018MonitorSts::SetRunStart | ( | Int_t | dateIn, |
Int_t | timeIn, | ||
Int_t | iBinSize = 5 ) |
Definition at line 2533 of file CbmMcbm2018MonitorSts.cxx.
References fiBinSizeDatePlots, and fiRunStartDateTimeSec.
|
private |
1st iteration => Initialize both indices on first slot in array
Exit as we have less hits than needed to trigger the bug
if both indices are 0 => 1st hit in this ASIC
Running loop once the array is full => shift indices for both first and last hit
If we had already at least kuNbHitCoincWinBug hits
Still filling the array => shift only the index for last hit
Exit as we have less hits than needed to trigger the bug
less than kuSmxErrCoincWinNbHits hits
Compute the time difference between 1st and last for each condition
Go around bug in FPGA
Check conditions and set flag
If we are within at least one of the coincidence windows
Out of all coincidence windows, we are safe!
Definition at line 2590 of file CbmMcbm2018MonitorSts.cxx.
References fdSmxErrCoincWinM07, fdSmxErrCoincWinM08, fdSmxErrCoincWinM09, fdSmxErrCoincWinM10, fdSmxErrCoincWinM11, fvdSmxErrTimeLastHits, fvuSmxErrIdxFirstHitM07, fvuSmxErrIdxFirstHitM08, fvuSmxErrIdxFirstHitM09, fvuSmxErrIdxFirstHitM10, fvuSmxErrIdxFirstHitM11, fvuSmxErrIdxLastHit, kdSmxErrCoincWinBeg, and kuSmxErrCoincWinNbHits.
Referenced by DoUnpack().
|
private |
Methods.
---------------------------------------------------------------—/// --------------— SXM 2.0 Logic Error Tagging -----------------—/// ---------------------------------------------------------------—///
Definition at line 2551 of file CbmMcbm2018MonitorSts.cxx.
References fbSmx2ErrorUseNoiseLevels, fdSmxErrCoincWinM07, fdSmxErrCoincWinM08, fdSmxErrCoincWinM09, fdSmxErrCoincWinM10, fdSmxErrCoincWinM11, fuNbFebs, fUnpackParSts, fvdSmxErrTimeLastHits, fvuSmxErrIdxFirstHitM07, fvuSmxErrIdxFirstHitM08, fvuSmxErrIdxFirstHitM09, fvuSmxErrIdxFirstHitM10, fvuSmxErrIdxFirstHitM11, fvuSmxErrIdxLastHit, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), kdSmxErrCoincWinNoiseM07, kdSmxErrCoincWinNoiseM08, kdSmxErrCoincWinNoiseM09, kdSmxErrCoincWinNoiseM10, kdSmxErrCoincWinNoiseM11, and kuSmxErrCoincWinNbHits.
Referenced by InitStsParameters().
|
inline |
Definition at line 85 of file CbmMcbm2018MonitorSts.h.
|
inline |
Definition at line 80 of file CbmMcbm2018MonitorSts.h.
References fbSmx2ErrorUseNoiseLevels.
|
private |
=> Quick and dirty hack for binning FW!!!
Definition at line 132 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), FillTsMsbInfo(), InitStsParameters(), ProcessStsMs(), and SetBinningFwFlag().
|
private |
Definition at line 130 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), InitStsParameters(), ResetAllHistos(), SaveAllHistos(), and SetEnableCheckBugSmx20().
|
private |
Definition at line 95 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), and SetIgnoreOverlapMs().
|
private |
Rate evolution histos.
Definition at line 182 of file CbmMcbm2018MonitorSts.h.
Referenced by SetLongDurationLimits().
|
private |
Task configuration values.
Definition at line 127 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs(), and SetPrintMessage().
|
private |
SXM 2.0 logic error detection and tagging, 1 eLink case.
Definition at line 247 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables(), and UseNoiseLimitsSmx2LogicError().
|
private |
Definition at line 294 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), and CreateHistograms().
|
private |
Definition at line 189 of file CbmMcbm2018MonitorSts.h.
|
private |
Coincidences in sorted hits.
Definition at line 188 of file CbmMcbm2018MonitorSts.h.
|
private |
Definition at line 191 of file CbmMcbm2018MonitorSts.h.
|
private |
Definition at line 190 of file CbmMcbm2018MonitorSts.h.
|
private |
Plots per FEB-8.
Definition at line 209 of file CbmMcbm2018MonitorSts.h.
Referenced by SetFebChanCoincidenceLimitNs().
|
private |
Total number of STS DPBs in system.
Definition at line 103 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), InitStsParameters(), and ProcessStsMs().
|
private |
Tagging variables.
Definition at line 263 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Definition at line 264 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Definition at line 265 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Definition at line 266 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Definition at line 267 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Last hit ADC in bins in each MS for each Channel.
Starting state book-keeping
Definition at line 162 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), and ResetAllHistos().
|
private |
Time of first valid hit (TS_MSB available), used as reference for evolution plots
Definition at line 163 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), ProcessStsMs(), and ResetAllHistos().
|
private |
Definition at line 228 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Histograms.
Definition at line 194 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), ResetAllHistos(), and SaveAllHistos().
|
private |
Binning FW error flag.
Definition at line 288 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), and ProcessStsMs().
|
private |
Definition at line 295 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), CreateHistograms(), and ProcessStsMs().
|
private |
Definition at line 296 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), CreateHistograms(), and ProcessStsMs().
|
private |
Definition at line 204 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 203 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 205 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 223 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 226 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 219 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 212 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 213 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 230 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 231 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 210 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 211 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 229 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 221 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 225 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 222 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), SaveAllHistos(), and ScanForNoisyChannels().
|
private |
Definition at line 217 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 218 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 216 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 224 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 227 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 220 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), FillHitInfo(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 282 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 283 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 284 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 285 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Histograms.
Definition at line 280 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 281 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 202 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Histogram manager.
Definition at line 195 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 197 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 201 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 200 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 199 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 196 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ResetAllHistos(), and SaveAllHistos().
|
private |
Definition at line 198 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), ResetAllHistos(), and SaveAllHistos().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 142 of file CbmMcbm2018MonitorSts.h.
Referenced by SetRunStart().
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 141 of file CbmMcbm2018MonitorSts.h.
Referenced by SetRunStart().
|
private |
Mean Rate per channel plots.
Definition at line 177 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs().
|
private |
Current data properties.
Definition at line 137 of file CbmMcbm2018MonitorSts.h.
Referenced by Finish(), and ProcessStsMs().
|
private |
Definition at line 128 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs(), and SetPrintMessage().
|
private |
Internal Control/status of monitor Histo File name and path
Definition at line 125 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), Finish(), and SetHistoFileName().
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 165 of file CbmMcbm2018MonitorSts.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 139 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 140 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), FillHitInfo(), FillTsMsbInfo(), and ProcessStsMs().
|
private |
Definition at line 138 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs().
|
private |
Definition at line 135 of file CbmMcbm2018MonitorSts.h.
Referenced by FillTsMsbInfo(), and ProcessStsMs().
|
private |
TS/MS info.
Definition at line 134 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), FillTsMsbInfo(), and ProcessStsMs().
|
private |
Definition at line 185 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms().
|
private |
Definition at line 184 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), and SetLongDurationLimits().
|
private |
Definition at line 183 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), and SetLongDurationLimits().
|
private |
All hits (time in bins, ADC in bins, asic, channel) in last TS, per FEB, sorted with "<" operator Coincidence histos
Definition at line 175 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), InitStsParameters(), and SetNbMsInTs().
|
private |
Definition at line 93 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), and SetNbMsInTs().
|
private |
Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ].
Definition at line 106 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), InitStsParameters(), ResetAllHistos(), SaveAllHistos(), ScanForNoisyChannels(), and SmxErrInitializeVariables().
|
private |
Definition at line 98 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Definition at line 94 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), GetMsOverlap(), SetMsOverlap(), and SetNbMsInTs().
|
private |
Number of StsXyter ASICs.
Definition at line 107 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), InitStsParameters(), and SetNbMsInTs().
|
private |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 97 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), FillHitInfo(), InitStsParameters(), ProcessStsMs(), ResetAllHistos(), SaveAllHistos(), ScanForNoisyChannels(), SetNbMsInTs(), SetParContainers(), and SmxErrInitializeVariables().
|
private |
STS address for the first strip of each module.
Definition at line 102 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), DoUnpack(), and InitStsParameters().
|
private |
Map of DPB Identifier to DPB index.
Definition at line 105 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Definition at line 90 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs().
|
private |
Definition at line 292 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Canvases.
Definition at line 291 of file CbmMcbm2018MonitorSts.h.
Referenced by CreateHistograms(), and SaveAllHistos().
|
private |
Last hit time in bins for each Channel.
Definition at line 152 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), and InitStsParameters().
|
private |
Number of hits in each MS for each Channel.
Definition at line 157 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), InitStsParameters(), and SetNbMsInTs().
|
private |
FEB type, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = A, 1 = B, -1 if inactive.
Definition at line 115 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
ADC gain in e-/b, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
Definition at line 117 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Definition at line 180 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), InitStsParameters(), and ProcessStsMs().
|
private |
Definition at line 178 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters(), and ProcessStsMs().
|
private |
Header time of previous MS per link.
Definition at line 154 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), InitStsParameters(), and SetNbMsInTs().
|
private |
Last hit time in ns for each Channel.
Definition at line 153 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters(), and ProcessStsMs().
|
private |
Definition at line 269 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
Definition at line 179 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), InitStsParameters(), and ProcessStsMs().
|
private |
Number of StsXyter ASICs.
Definition at line 109 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive.
Definition at line 111 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
STS module side for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = P, 1 = N, -1 if inactive.
Definition at line 113 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters(), and ProcessStsMs().
|
private |
Type of each module: 0 for connectors on the right, 1 for connectors on the left.
Definition at line 101 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Total number of STS modules in the setup.
Definition at line 100 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator.
Definition at line 171 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), and InitStsParameters().
|
private |
All hits (time in bins, ADC in bins, asic, channel) in last TS, per ASIC, sorted with "<" operator.
Definition at line 173 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), and InitStsParameters().
|
private |
Hits time-sorting.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 169 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), and FillHitInfo().
|
private |
Definition at line 92 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), and DoUnpack().
|
private |
Header time of each MS.
Definition at line 155 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), InitStsParameters(), and SetNbMsInTs().
|
private |
Current TS MSB for each DPB.
Definition at line 146 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), FillHitInfo(), FillTsMsbInfo(), InitStsParameters(), and ProcessStsMs().
|
private |
TS MSB cycle from MS header in 1st MS for DPB.
Definition at line 149 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters().
|
private |
Current TS MSB cycle for DPB.
Definition at line 147 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters(), and ProcessStsMs().
|
private |
Flag set after seeing MS header in 1st MS for DPB.
Definition at line 148 of file CbmMcbm2018MonitorSts.h.
Referenced by InitStsParameters(), and ProcessStsMs().
|
private |
TS from last hit for DPB Hits comparison
Definition at line 151 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), and InitStsParameters().
|
private |
Bin size in s for the plots with date as X axis.
Data format control
Definition at line 145 of file CbmMcbm2018MonitorSts.h.
Referenced by DoUnpack(), FillHitInfo(), FillTsMsbInfo(), InitStsParameters(), and ProcessStsMs().
|
private |
Last hit time in bins in each MS for each Channel.
Definition at line 159 of file CbmMcbm2018MonitorSts.h.
Referenced by FillHitInfo(), InitStsParameters(), and SetNbMsInTs().
|
private |
[ NbFebs ][ NbSmxPerFeb ][ kuSmxErrCoincWinNbHits ]
Definition at line 270 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
[ NbFebs ][ NbSmxPerFeb ]
Definition at line 271 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
[ NbFebs ][ NbSmxPerFeb ]
Definition at line 272 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
[ NbFebs ][ NbSmxPerFeb ]
Definition at line 273 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
[ NbFebs ][ NbSmxPerFeb ]
Definition at line 274 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
private |
[ NbFebs ][ NbSmxPerFeb ]
Definition at line 275 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().
|
staticconstexprprivate |
Definition at line 249 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc().
|
staticconstexprprivate |
Coincidence windows for 99.0% tagging (up to 1% of corruption not detected)
Definition at line 251 of file CbmMcbm2018MonitorSts.h.
|
staticconstexprprivate |
Definition at line 252 of file CbmMcbm2018MonitorSts.h.
|
staticconstexprprivate |
Definition at line 253 of file CbmMcbm2018MonitorSts.h.
|
staticconstexprprivate |
Definition at line 254 of file CbmMcbm2018MonitorSts.h.
|
staticconstexprprivate |
Definition at line 255 of file CbmMcbm2018MonitorSts.h.
|
staticconstexprprivate |
Coincidence windows 99.9% tagging (up to 0.1% of corruption not detected)
Definition at line 257 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables().
|
staticconstexprprivate |
Definition at line 258 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables().
|
staticconstexprprivate |
Definition at line 259 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables().
|
staticconstexprprivate |
Definition at line 260 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables().
|
staticconstexprprivate |
Definition at line 261 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrInitializeVariables().
|
staticprivate |
ADC offset in e-, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
Definition at line 120 of file CbmMcbm2018MonitorSts.h.
Referenced by AddMsComponentToList(), CreateHistograms(), InitStsParameters(), ProcessStsMs(), ResetAllHistos(), and SaveAllHistos().
|
staticprivate |
Definition at line 121 of file CbmMcbm2018MonitorSts.h.
Referenced by ProcessStsMs().
|
staticprivate |
Definition at line 248 of file CbmMcbm2018MonitorSts.h.
Referenced by SmxErrCheckCoinc(), and SmxErrInitializeVariables().