CbmRoot
|
#include <CbmMcbm2018MonitorAlgoHodo.h>
Public Member Functions | |
CbmMcbm2018MonitorAlgoHodo () | |
~CbmMcbm2018MonitorAlgoHodo () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms () |
void | SetMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetTimeOffsetNs (Double_t dOffsetIn=0.0) |
void | SetDpbId (UInt_t uDpbId=0x5b75) |
void | SetHodoElinkIdx (UInt_t uElinkHodoA=5, UInt_t uElinkHodoB=10) |
void | SetHodoSwapXY (Bool_t bSwapHodoA=kFALSE, Bool_t bSwapHodoB=kTRUE) |
Default set for mMUCH FMC slots 8 and 9. More... | |
void | SetHodoInvertX (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE) |
Default set closest cosmic setup stack. More... | |
void | SetHodoInvertY (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE) |
Default set closest cosmic setup stack. More... | |
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< CbmStsDigi > & | 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< CbmStsDigi > | 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 | ProcessHitInfo (stsxyter::Message mess, const UInt_t &uHodoIdx, const UInt_t &uMsIdx) |
void | ProcessTsMsbInfo (stsxyter::Message mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0) |
void | ProcessEpochInfo (stsxyter::Message mess) |
void | ProcessStatusInfo (stsxyter::Message mess) |
CbmMcbm2018MonitorAlgoHodo (const CbmMcbm2018MonitorAlgoHodo &) | |
CbmMcbm2018MonitorAlgoHodo | operator= (const CbmMcbm2018MonitorAlgoHodo &) |
Private Attributes | |
Bool_t | fbMonitorMode |
Default set closest cosmic setup stack. More... | |
Bool_t | fbDebugMonitorMode |
Switch ON the filling of a minimal set of histograms. More... | |
std::vector< Bool_t > | fvbMaskedComponents |
Switch ON the filling of a additional set of histograms. More... | |
UInt_t | fuDpbId |
Settings from parameter file => For now use only accessors! More... | |
std::vector< UInt_t > | fvuElinkIdxHodo |
std::vector< Bool_t > | fvbHodoSwapXY |
std::vector< Bool_t > | fvbHodoInvertX |
std::vector< Bool_t > | fvbHodoInvertY |
std::vector< UInt_t > | fvuAdcGainHodo |
std::vector< UInt_t > | fvuAdcOffsHodo |
Double_t | fdTimeOffsetNs |
User settings: Data correction parameters. More... | |
const UInt_t | kuChannelToFiberMap [kuNbChanPerAsic] |
const UInt_t | kuChannelToPixelMap [kuNbChanPerAsic] |
Map from channel index to Hodoscope Fiber. More... | |
const UInt_t | kuChannelToPlaneMap [kuNbChanPerAsic] |
Map from channel index to PMT pixel. More... | |
ULong64_t | fulCurrentTsIdx |
Map from channel index to Hodoscope Axis (X or Y) More... | |
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... | |
std::vector< Double_t > | fvdPrevMsTime |
End Time in ns of current TS Core from the index of the first MS first component. More... | |
Double_t | fdMsTime |
Header time of previous MS per link. More... | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. More... | |
std::map< stsxyter::MessType, UInt_t > | fmMsgCounter |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. More... | |
Int_t | fiRunStartDateTimeSec |
Temp holder until Current equipment ID is properly filled in MS. More... | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. More... | |
ULong64_t | fvulCurrentTsMsb |
UInt_t | fvuCurrentTsMsbCycle |
Current TS MSB for each DPB. More... | |
Double_t | fdStartTime |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< stsxyter::FinalHit > | fvmHitsInMs |
Hits time-sorting. More... | |
TH1 * | fhHodoMessType |
All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator. More... | |
TH2 * | fhHodoStatusMessType |
TH2 * | fhHodoMsStatusFieldType |
TH2 * | fhHodoMessTypePerElink |
std::vector< TH1 * > | fhHodoChanCntRaw |
Raw = ASIC channels. More... | |
std::vector< TH2 * > | fhHodoChanAdcRaw |
[ Hodo ] More... | |
std::vector< TProfile * > | fhHodoChanAdcRawProf |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanAdcCal |
[ Hodo ] More... | |
std::vector< TProfile * > | fhHodoChanAdcCalProf |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanRawTs |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanMissEvt |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanMissEvtEvo |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanHitRateEvo |
[ Hodo ] More... | |
std::vector< TProfile * > | fhHodoChanHitRateProf |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoChanDistT |
[ Hodo ] More... | |
std::vector< std::vector< TH1 * > > | fhHodoFiberCnt |
std::vector< std::vector< TH2 * > > | fhHodoFiberAdc |
[ Hodo ][ Axis ] More... | |
std::vector< std::vector< TProfile * > > | fhHodoFiberAdcProf |
[ Hodo ][ Axis ] More... | |
std::vector< std::vector< TH2 * > > | fhHodoFiberHitRateEvo |
[ Hodo ][ Axis ] More... | |
Double_t | fdTimeCoincLimit = 100.0 |
Double_t | fdTimeCoincLimitNs |
+/- in clock cycles More... | |
std::vector< TH2 * > | fhHodoFiberCoincMapXY |
+/- in clock cycles More... | |
std::vector< TH1 * > | fhHodoFiberCoincTimeXY |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoFiberCoincWalkXY_X |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoFiberCoincWalkXY_Y |
[ Hodo ] More... | |
std::vector< TH2 * > | fhHodoFiberCoincMapSameAB |
[ Hodo ] More... | |
std::vector< TH1 * > | fhHodoFiberCoincTimeSameAB |
[ Axis ] More... | |
std::vector< TH2 * > | fhHodoFiberCoincMapDiffAB |
[ Axis ] More... | |
std::vector< TH1 * > | fhHodoFiberCoincTimeDiffAB |
[ Axis ] More... | |
TH2 * | fhHodoFullCoincPosA |
[ Axis ] More... | |
TH2 * | fhHodoFullCoincPosB |
TH2 * | fhHodoFullCoincCompX |
TH2 * | fhHodoFullCoincCompY |
TH2 * | fhHodoFullCoincResidualXY |
TH1 * | fhHodoFullCoincTimeDiff |
std::vector< std::vector< TH2 * > > | fhHodoFullCoincTimeWalk |
TH1 * | fhHodoFullCoincRateEvo |
[ Hodo ][ Axis ] More... | |
std::vector< std::vector< TH2 * > > | fhHodoFullCoincPosEvo |
TH1 * | fhPrevHitDtAllAsics |
Setup debugging. More... | |
TH1 * | fhPrevHitDtAsicA |
TH1 * | fhPrevHitDtAsicB |
TH1 * | fhPrevHitDtAsicsAB |
Int_t | fiTimeIntervalRateUpdate |
std::vector< Int_t > | fviTimeSecLastRateUpdate |
std::vector< std::vector< Double_t > > | fvdChanCountsSinceLastRateUpdate |
[ Hodo ] More... | |
std::vector< std::vector< Double_t > > | fdHodoChanLastTimeForDist |
[ Hodo ][ Chan ] More... | |
UInt_t | fuPreviousHitAsic |
[ Hodo ][ Chan ] More... | |
std::vector< Double_t > | fvdPreviousHitTimePerAsic |
TCanvas * | fcSummary |
[ Asic ] More... | |
std::vector< TCanvas * > | fcHodoSummaryRaw |
std::vector< TCanvas * > | fcHodoSummaryFiber |
TCanvas * | fcHodoFiberCoinc |
TCanvas * | fcHodoFiberCoincAB |
TCanvas * | fcHodoFullCoinc |
TCanvas * | fcHodoFullCoincPos |
TCanvas * | fcHodoFullCoincPosEvo |
TCanvas * | fcHodoPrevHitDt |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. More... | |
static const UInt_t | kuBytesPerMessage = 4 |
static const UInt_t | kuNbElinksDpb |
static const UInt_t | kuNbHodos = 2 |
Max Nb of eLinks for this sDPB: 2 GBTx with 42 eLinks each. More... | |
static const UInt_t | kuNbAxis = 2 |
Nb of hodoscopes = Nb FEBs = Nb ASICs. More... | |
static const UInt_t | kuNbChanPerAsic = 128 |
Per hodoscope = X and Y. More... | |
Definition at line 36 of file CbmMcbm2018MonitorAlgoHodo.h.
CbmMcbm2018MonitorAlgoHodo::CbmMcbm2018MonitorAlgoHodo | ( | ) |
Definition at line 34 of file CbmMcbm2018MonitorAlgoHodo.cxx.
CbmMcbm2018MonitorAlgoHodo::~CbmMcbm2018MonitorAlgoHodo | ( | ) |
Clear buffers
Definition at line 141 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References fvmHitsInMs.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
void CbmMcbm2018MonitorAlgoHodo::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId | ||
) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 372 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList.
Referenced by CbmMcbm2018MonitorTaskHodo::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 CbmMcbm2018MonitorAlgoHodo::CreateHistograms | ( | ) |
Raw = ASIC channels Channel counts
Raw Adc Distribution
Raw Adc Distribution profile
Raw Ts Distribution
Missed event flag
Missed event flag counts evolution
Hit rates evo per channel
Hit rates profile per channel
Distance between hits on same channel
Remapped = Hodos fibers
Fibers counts
Fibers Adc Distribution
Fibers Adc Distribution profile
Hit rates evo per fiber
Clusters =====> Limits for clustering to be defined, maybe use instead STS SsdOrtho reconstruction class
Coincidences in same Hodo between axis Map
Time diff
Walk
Coincidences in different Hodos between axis <= Valid only for kuNbHodos = 2 !!! Map Same axis
Time diff Same axis
Map different axis
Time diff different axis
Full Coincidences between Hodos<= Valid only for kuNbHodos = 2 && kuNbAxis = 2 Position on hodo A
Position on hodo B
Comp X axis
Comp Y axis
Residuals X vs Y ("alignment")
Time diff different axis
Setup debugging
Canvases
Distributions before fiber mapping per Hodo
Distributions after fiber mapping per Hodo and axis
Definition at line 799 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmStsDigi >::AddHistoToVector(), fcHodoFiberCoinc, fcHodoFiberCoincAB, fcHodoFullCoinc, fcHodoFullCoincPos, fcHodoFullCoincPosEvo, fcHodoPrevHitDt, fcHodoSummaryFiber, fcHodoSummaryRaw, fcSummary, fdTimeCoincLimit, fdTimeCoincLimitNs, fhHodoChanAdcRaw, fhHodoChanAdcRawProf, fhHodoChanCntRaw, fhHodoChanDistT, fhHodoChanHitRateEvo, fhHodoChanHitRateProf, fhHodoChanMissEvt, fhHodoChanMissEvtEvo, fhHodoChanRawTs, fhHodoFiberAdc, fhHodoFiberAdcProf, fhHodoFiberCnt, fhHodoFiberCoincMapDiffAB, fhHodoFiberCoincMapSameAB, fhHodoFiberCoincMapXY, fhHodoFiberCoincTimeDiffAB, fhHodoFiberCoincTimeSameAB, fhHodoFiberCoincTimeXY, fhHodoFiberCoincWalkXY_X, fhHodoFiberCoincWalkXY_Y, fhHodoFiberHitRateEvo, fhHodoFullCoincCompX, fhHodoFullCoincCompY, fhHodoFullCoincPosA, fhHodoFullCoincPosB, fhHodoFullCoincPosEvo, fhHodoFullCoincRateEvo, fhHodoFullCoincResidualXY, fhHodoFullCoincTimeDiff, fhHodoFullCoincTimeWalk, fhHodoMessType, fhHodoMessTypePerElink, fhHodoMsStatusFieldType, fhHodoStatusMessType, fhPrevHitDtAllAsics, fhPrevHitDtAsicA, fhPrevHitDtAsicB, fhPrevHitDtAsicsAB, stsxyter::kdClockCycleNs, stsxyter::kuHitNbAdcBins, stsxyter::kuHitNbTsBins, kuNbAxis, kuNbChanPerAsic, kuNbElinksDpb, and kuNbHodos.
Referenced by CbmMcbm2018MonitorTaskHodo::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoHodo::FillHistograms | ( | ) |
Prepare storage variables
Loop on Hits
Setup debugging
Coincidences in same Hodo <= !!!! WORKS ONLY FOR kuNbAxis = 2 !!!
Concidences between Hodos <= !!!! WORKS ONLY FOR kuNbHodos = 2 && kuNbAxis = 2 !!!
Full Concidences between Hodos <= !!!! WORKS ONLY FOR kuNbHodos = 2 && kuNbAxis = 2 !!!
Definition at line 1671 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References fdStartTime, fdTimeCoincLimitNs, fhHodoFiberCoincMapDiffAB, fhHodoFiberCoincMapSameAB, fhHodoFiberCoincMapXY, fhHodoFiberCoincTimeDiffAB, fhHodoFiberCoincTimeSameAB, fhHodoFiberCoincTimeXY, fhHodoFiberCoincWalkXY_X, fhHodoFiberCoincWalkXY_Y, fhHodoFullCoincCompX, fhHodoFullCoincCompY, fhHodoFullCoincPosA, fhHodoFullCoincPosB, fhHodoFullCoincPosEvo, fhHodoFullCoincRateEvo, fhHodoFullCoincResidualXY, fhHodoFullCoincTimeDiff, fhHodoFullCoincTimeWalk, fhPrevHitDtAllAsics, fhPrevHitDtAsicA, fhPrevHitDtAsicB, fhPrevHitDtAsicsAB, fuPreviousHitAsic, fvbHodoInvertX, fvbHodoInvertY, fvbHodoSwapXY, fvdPreviousHitTimePerAsic, fvmHitsInMs, stsxyter::kdClockCycleNs, kuNbAxis, kuNbChanPerAsic, and kuNbHodos.
Referenced by ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 153 of file CbmMcbm2018MonitorAlgoHodo.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< CbmStsDigi >.
Definition at line 178 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fParCList.
Referenced by CbmMcbm2018MonitorTaskHodo::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 147 of file CbmMcbm2018MonitorAlgoHodo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 160 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References ReInitContainers().
Referenced by CbmMcbm2018MonitorTaskHodo::InitContainers().
Bool_t CbmMcbm2018MonitorAlgoHodo::InitParameters | ( | ) |
Initialize vectors
Definition at line 186 of file CbmMcbm2018MonitorAlgoHodo.cxx.
Referenced by ReInitContainers().
|
private |
|
private |
Definition at line 765 of file CbmMcbm2018MonitorAlgoHodo.cxx.
Referenced by ProcessMs().
|
private |
Mapping to Fiber
Remapped = Hodos fibers
Compute the Full time stamp Use TS w/o overlap bits as they will anyway come from the TS_MSB
Convert the Hit time in bins to Hit time in ns
Data should already be time sorted in FW
Check Starting point of histos with time as X axis
Definition at line 664 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References fdHodoChanLastTimeForDist, fdStartTime, fhHodoChanAdcRaw, fhHodoChanAdcRawProf, fhHodoChanCntRaw, fhHodoChanDistT, fhHodoChanHitRateEvo, fhHodoChanMissEvt, fhHodoChanMissEvtEvo, fhHodoChanRawTs, fhHodoFiberAdc, fhHodoFiberAdcProf, fhHodoFiberCnt, fhHodoFiberHitRateEvo, fvdChanCountsSinceLastRateUpdate, fvmHitsInMs, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetHitAdc(), stsxyter::Message::GetHitChannel(), stsxyter::Message::GetHitTime(), stsxyter::Message::IsHitMissedEvts(), stsxyter::kdClockCycleNs, kuChannelToFiberMap, kuChannelToPlaneMap, stsxyter::kuHitNbTsBins, and stsxyter::kulTsCycleNbBins.
Referenced by ProcessMs().
|
virtual |
Check if this sDPB ID matches the one declared by the user
If first TS being analyzed, we are probably detecting STS/MUCH boards with same sysid => Do not report the MS as bad, just ignore it
Plots in [X/s] update
"new second"
Ignore first interval is not clue how late the data taking was started
Check Flags field of MS header
Check the current TS_MSb cycle and correct it if wrong
Get message type
Remap from eLink index to Hodoscope index
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 462 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References stsxyter::Dummy, stsxyter::Empty, stsxyter::Epoch, fhHodoChanHitRateProf, fhHodoMessType, fhHodoMessTypePerElink, fhHodoMsStatusFieldType, fiTimeIntervalRateUpdate, fmMsgCounter, FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrentEquipmentId, fuDpbId, fulCurrentMsIdx, fulCurrentTsIdx, fvbMaskedComponents, fvdChanCountsSinceLastRateUpdate, fvdPrevMsTime, fviTimeSecLastRateUpdate, fvuCurrentTsMsbCycle, fvuElinkIdxHodo, fvulCurrentTsMsb, stsxyter::Message::GetLinkIndex(), stsxyter::Message::GetMessType(), stsxyter::Message::GetStatusLink(), stsxyter::Hit, stsxyter::kdClockCycleNs, kuBytesPerMessage, stsxyter::kulTsCycleNbBins, kuNbChanPerAsic, kuNbHodos, ProcessEpochInfo(), ProcessHitInfo(), ProcessStatusInfo(), ProcessTsMsbInfo(), stsxyter::Status, and stsxyter::TsMsb.
Referenced by ProcessTs().
|
private |
Definition at line 777 of file CbmMcbm2018MonitorAlgoHodo.cxx.
Referenced by ProcessMs().
|
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
Sort the buffers of hits
Clear the buffer of hits
Clear buffers to prepare for the next TS
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 387 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References CbmStar2019Algo< CbmStsDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmStsDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmStsDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmStsDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, FillHistograms(), fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmStsDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmStsDigi >::fuNbMsLoop, CbmStar2019Algo< CbmStsDigi >::fuNbOverMsPerTs, fvmHitsInMs, CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList, and ProcessMs().
Referenced by CbmMcbm2018MonitorTaskHodo::DoUnpack(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 52 of file CbmMcbm2018MonitorAlgoHodo.h.
References ProcessTs().
|
private |
Definition at line 729 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References fulCurrentMsIdx, fulCurrentTsIdx, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, and stsxyter::Message::GetTsMsbVal().
Referenced by ProcessMs().
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 166 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References InitParameters().
Referenced by InitContainers(), and CbmMcbm2018MonitorTaskHodo::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmStsDigi >.
Definition at line 152 of file CbmMcbm2018MonitorAlgoHodo.cxx.
Bool_t CbmMcbm2018MonitorAlgoHodo::ResetHistograms | ( | ) |
Definition at line 1856 of file CbmMcbm2018MonitorAlgoHodo.cxx.
References fhHodoChanAdcCal, fhHodoChanAdcCalProf, fhHodoChanAdcRaw, fhHodoChanAdcRawProf, fhHodoChanCntRaw, fhHodoChanDistT, fhHodoChanHitRateEvo, fhHodoChanHitRateProf, fhHodoChanMissEvt, fhHodoChanMissEvtEvo, fhHodoChanRawTs, fhHodoFiberAdc, fhHodoFiberAdcProf, fhHodoFiberCnt, fhHodoFiberCoincMapDiffAB, fhHodoFiberCoincMapSameAB, fhHodoFiberCoincMapXY, fhHodoFiberCoincTimeDiffAB, fhHodoFiberCoincTimeSameAB, fhHodoFiberCoincTimeXY, fhHodoFiberCoincWalkXY_X, fhHodoFiberCoincWalkXY_Y, fhHodoFiberHitRateEvo, fhHodoFullCoincCompX, fhHodoFullCoincCompY, fhHodoFullCoincPosA, fhHodoFullCoincPosB, fhHodoFullCoincPosEvo, fhHodoFullCoincResidualXY, fhHodoFullCoincTimeDiff, fhHodoFullCoincTimeWalk, fhHodoMessType, fhHodoMessTypePerElink, fhHodoMsStatusFieldType, fhHodoStatusMessType, fhPrevHitDtAllAsics, fhPrevHitDtAsicA, fhPrevHitDtAsicB, fhPrevHitDtAsicsAB, kuNbAxis, and kuNbHodos.
Referenced by CbmMcbm2018MonitorTaskHodo::DoUnpack().
|
inline |
Definition at line 70 of file CbmMcbm2018MonitorAlgoHodo.h.
References fuDpbId.
Referenced by CbmMcbm2018MonitorTaskHodo::SetDpbId().
|
inline |
Definition at line 71 of file CbmMcbm2018MonitorAlgoHodo.h.
References fvuElinkIdxHodo.
Referenced by CbmMcbm2018MonitorTaskHodo::SetHodoElinkIdx().
|
inline |
Default set closest cosmic setup stack.
Definition at line 80 of file CbmMcbm2018MonitorAlgoHodo.h.
References fvbHodoInvertX.
Referenced by CbmMcbm2018MonitorTaskHodo::SetHodoInvertX().
|
inline |
Default set closest cosmic setup stack.
Definition at line 85 of file CbmMcbm2018MonitorAlgoHodo.h.
References fvbHodoInvertY.
Referenced by CbmMcbm2018MonitorTaskHodo::SetHodoInvertY().
|
inline |
Default set for mMUCH FMC slots 8 and 9.
Definition at line 75 of file CbmMcbm2018MonitorAlgoHodo.h.
References fvbHodoSwapXY.
Referenced by CbmMcbm2018MonitorTaskHodo::SetHodoSwapXY().
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inline |
Definition at line 63 of file CbmMcbm2018MonitorAlgoHodo.h.
References fbMonitorMode.
Referenced by CbmMcbm2018MonitorTaskHodo::InitContainers().
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 66 of file CbmMcbm2018MonitorAlgoHodo.h.
References fdTimeOffsetNs.
Referenced by CbmMcbm2018MonitorTaskHodo::SetTimeOffsetNs().
|
private |
Switch ON the filling of a minimal set of histograms.
Definition at line 96 of file CbmMcbm2018MonitorAlgoHodo.h.
|
protectedinherited |
Definition at line 116 of file CbmStar2019Algo.h.
|
private |
Default set closest cosmic setup stack.
Control flags
Definition at line 94 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by SetMonitorMode().
|
private |
Definition at line 283 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 284 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 285 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 286 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 287 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 288 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 282 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 281 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
[ Asic ]
Canvases
Definition at line 280 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
[ Hodo ][ Chan ]
Definition at line 275 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo().
|
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 |
Header time of previous MS per link.
Definition at line 189 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Current TS MSB cycle for DPB Starting state book-keeping
Definition at line 205 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms(), and ProcessHitInfo().
|
private |
Time of first valid hit (TS_MSB available), used as reference for evolution plots
Definition at line 207 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
[ Hodo ][ Axis ] Clusters =====> Limits for clustering to be defined, maybe use instead STS SsdOrtho reconstruction class Coincidences
Definition at line 241 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
private |
+/- in clock cycles
Definition at line 242 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), and FillHistograms().
|
private |
User settings: Data correction parameters.
Definition at line 127 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by SetTimeOffsetNs().
|
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 184 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 186 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 of file CbmStar2019Algo.h.
|
private |
[ Hodo ]
Definition at line 225 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ResetHistograms().
|
private |
[ Hodo ]
Definition at line 226 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ResetHistograms().
|
private |
[ Hodo ]
Definition at line 223 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 224 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
Raw = ASIC channels.
Definition at line 222 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 232 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 230 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 231 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 228 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 229 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 227 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ][ Axis ]
Definition at line 235 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ][ Axis ]
Definition at line 236 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Hodo ] Remapped = Hodos fibers
Definition at line 234 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
[ Axis ]
Definition at line 251 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 249 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
+/- in clock cycles
Definition at line 245 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Axis ]
Definition at line 252 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Axis ]
Definition at line 250 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 246 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 247 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ]
Definition at line 248 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ][ Axis ]
Definition at line 237 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessHitInfo(), and ResetHistograms().
|
private |
Definition at line 255 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 256 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Axis ]
Definition at line 253 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 254 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 261 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
[ Hodo ][ Axis ]
Definition at line 260 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), and FillHistograms().
|
private |
Definition at line 257 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 258 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 259 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.
Histograms General plots
Definition at line 217 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 220 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 219 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 218 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), and ResetHistograms().
|
private |
Setup debugging.
[ Hodo ][ Axis ]
Definition at line 263 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 264 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 265 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Definition at line 266 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 199 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 198 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Histogramming variables Mean Rate per channel plots
Definition at line 270 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Index of current MS within the TS Current data properties
Definition at line 192 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
protectedinherited |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 209 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 196 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Definition at line 194 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Settings from parameter file => For now use only accessors!
Definition at line 118 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs(), and SetDpbId().
|
private |
Definition at line 182 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs(), and ProcessTsMsbInfo().
|
private |
Map from channel index to Hodoscope Axis (X or Y)
Running indices TS/MS info
Definition at line 181 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs(), ProcessTs(), and ProcessTsMsbInfo().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 190 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 114 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 113 of file CbmStar2019Algo.h.
|
private |
[ Hodo ][ Chan ]
Definition at line 276 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms().
|
private |
Definition at line 121 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms(), and SetHodoInvertX().
|
private |
Definition at line 122 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms(), and SetHodoInvertY().
|
private |
Definition at line 120 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms(), and SetHodoSwapXY().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 97 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
[ Hodo ]
Definition at line 273 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo(), and ProcessMs().
|
private |
Definition at line 277 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms().
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 187 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Definition at line 271 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Hits time-sorting.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 213 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by FillHistograms(), ProcessHitInfo(), ProcessTs(), and ~CbmMcbm2018MonitorAlgoHodo().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 137 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Definition at line 123 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Definition at line 124 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Current TS MSB for each DPB.
Definition at line 202 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo(), ProcessMs(), and ProcessTsMsbInfo().
|
private |
Definition at line 119 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs(), and SetHodoElinkIdx().
|
private |
Bin size in s for the plots with date as X axis Data format control
Definition at line 201 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo(), ProcessMs(), and ProcessTsMsbInfo().
|
staticprivate |
Constants.
Definition at line 130 of file CbmMcbm2018MonitorAlgoHodo.h.
|
staticprivate |
Definition at line 131 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessMs().
|
private |
Definition at line 149 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo().
|
private |
Map from channel index to Hodoscope Fiber.
Definition at line 159 of file CbmMcbm2018MonitorAlgoHodo.h.
|
private |
Map from channel index to PMT pixel.
Definition at line 169 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by ProcessHitInfo().
|
staticprivate |
Nb of hodoscopes = Nb FEBs = Nb ASICs.
Definition at line 135 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().
|
staticprivate |
Per hodoscope = X and Y.
Definition at line 136 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), and ProcessMs().
|
staticprivate |
Definition at line 132 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms().
|
staticprivate |
Max Nb of eLinks for this sDPB: 2 GBTx with 42 eLinks each.
Definition at line 134 of file CbmMcbm2018MonitorAlgoHodo.h.
Referenced by CreateHistograms(), FillHistograms(), ProcessMs(), and ResetHistograms().