Go to the documentation of this file.
8 #ifndef CbmMcbm2018UnpackerAlgoHodo_H
9 #define CbmMcbm2018UnpackerAlgoHodo_H
41 virtual Bool_t
Init();
51 Bool_t
ProcessTs(
const fles::Timeslice& ts);
52 Bool_t
ProcessTs(
const fles::Timeslice& ts,
size_t ) {
55 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
90 std::map<UInt_t, UInt_t>
92 std::vector<std::vector<Bool_t>>
96 std::vector<std::vector<std::vector<Int_t>>>
98 std::vector<std::vector<std::vector<Double_t>>>
100 std::vector<std::vector<std::vector<Double_t>>>
144 std::chrono::steady_clock::time_point
147 std::vector<stsxyter::FinalHit>
165 const UShort_t& usElinkIdx,
166 const UInt_t& uAsicIdx,
167 const UInt_t& uMsIdx);
180 #endif // CbmMcbm2018UnpackerAlgoHodo_H
Double_t fdCapacityIncFactor
Double_t fdTimeOffsetNs
Module for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
Double_t fdTsStopTimeCore
Time in ns of current TS from the index of the first MS first component.
std::map< UInt_t, UInt_t > fDpbIdIndexMap
Total number of STS DPBs in system.
std::vector< Double_t > fvdTimeOffsetNsAsics
std::vector< std::vector< std::vector< Int_t > > > fviFebModuleIdx
Number of StsXyter ASICs.
std::vector< Int_t > fviFebAddress
ADC offset in e-, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
ULong64_t fulCurrentTsIdx
std::map< stsxyter::MessType, UInt_t > fmMsgCounter
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
std::vector< std::vector< Bool_t > > fvbCrobActiveFlag
Map of DPB Identifier to DPB index.
std::chrono::steady_clock::time_point ftStartTimeUnix
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
std::vector< Bool_t > fvbMaskedComponents
Switch ON the filling of a additional set of histograms.
void ProcessEpochInfo(const stsxyter::Message &mess)
std::vector< UInt_t > fvuCurrentTsMsbCycle
Current TS MSB for each DPB.
std::vector< Int_t > fviModAddress
Total number of STS modules in the setup.
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
void SetVectCapInc(Double_t dIncFact)
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
void ProcessTsMsbInfo(const stsxyter::Message &mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0)
std::vector< std::vector< std::vector< Double_t > > > fvdFebAdcOffs
ADC gain in e-/b, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ].
std::vector< ULong64_t > fvulCurrentTsMsb
UInt_t fuNbFebs
Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ].
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
static const Int_t kiMaxNbFlibLinks
Constants.
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.
UInt_t fuMsIndex
Start Time in ns of current MS from its index field in header.
Bool_t ReInitContainers()
UInt_t fuNbStsXyters
Number of FEBs with StsXyter ASICs.
Bool_t CreateHistograms()
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
void ProcessStatusInfo(const stsxyter::Message &mess)
std::vector< stsxyter::FinalHit > fvmHitsInMs
Hits time-sorting.
Bool_t ProcessTs(const fles::Timeslice &ts)
TH1 * fhDigisTimeInRun
All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
void SetTimeOffsetNsAsic(UInt_t uAsicIdx, Double_t dOffsetIn=0.0)
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
Bool_t fbMonitorMode
Control flags.
CbmMcbm2018UnpackerAlgoHodo()
std::vector< Int_t > fviFebModule
STS address for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
CbmMcbm2018UnpackerAlgoHodo(const CbmMcbm2018UnpackerAlgoHodo &)
ULong64_t fulCurrentMsIdx
std::vector< std::vector< std::vector< Double_t > > > fvdFebAdcGain
Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive.
~CbmMcbm2018UnpackerAlgoHodo()
CbmMcbm2018UnpackerAlgoHodo operator=(const CbmMcbm2018UnpackerAlgoHodo &)
UInt_t fuCurrentEquipmentId
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
CbmMcbm2018HodoPar * fUnpackPar
Settings from parameter file.
void ProcessHitInfo(const stsxyter::Message &mess, const UShort_t &usElinkIdx, const UInt_t &uAsicIdx, const UInt_t &uMsIdx)
UInt_t fuNrOfDpbs
STS address for the first strip of each module.