CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018UnpackerAlgoSts Class Reference

#include <CbmMcbm2018UnpackerAlgoSts.h>

Inheritance diagram for CbmMcbm2018UnpackerAlgoSts:
[legend]
Collaboration diagram for CbmMcbm2018UnpackerAlgoSts:
[legend]

Public Member Functions

 CbmMcbm2018UnpackerAlgoSts ()
 
 ~CbmMcbm2018UnpackerAlgoSts ()
 
virtual Bool_t Init ()
 
virtual void Reset ()
 
virtual void Finish ()
 
Bool_t InitContainers ()
 
Bool_t ReInitContainers ()
 
TList * GetParList ()
 
Bool_t InitParameters ()
 
std::vector< CbmStsDigi > & GetPulserVector ()
 
void ClearPulserVector ()
 
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 SetTimeOffsetNsAsic (UInt_t uAsicIdx, Double_t dOffsetIn=0.0)
 
void MaskNoisyChannel (UInt_t uFeb, UInt_t uChan, Bool_t bMasked=kTRUE)
 
void SetAdcCut (UInt_t uAdc)
 
void SetBinningFwFlag (Bool_t bEnable=kTRUE)
 => Quick and dirty hack for binning FW!!!
 
void SetVectCapInc (Double_t dIncFact)
 
void SeparatePulserOutput (Bool_t bFlagIn)
 
virtual void SetParameter (std::string)
 
virtual std::string GetParameter (std::string)
 
void AddHistoToVector (TNamed *pointer, std::string sFolder="")
 For monitor algos.
 
std::vector< std::pair< TNamed *, std::string > > GetHistoVector ()
 
void AddCanvasToVector (TCanvas *pointer, std::string sFolder="")
 
std::vector< std::pair< TCanvas *, std::string > > GetCanvasVector ()
 
void ClearVector ()
 For unpacker algos.
 
std::vector< CbmStsDigi > & GetVector ()
 
void ClearErrorVector ()
 
std::vector< CbmErrorMessage > & GetErrorVector ()
 
void SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE)
 Control flags.
 

Protected Member Functions

Bool_t CheckParameterValidity (std::string, std::string)
 Map of parameter name and type.
 

Protected Attributes

TList * fParCList
 Parameter management.
 
std::vector< size_t > fvMsComponentsList
 Parameters related to FLES containers.
 
size_t fuNbCoreMsPerTs
 
size_t fuNbOverMsPerTs
 
size_t fuNbMsLoop
 
Bool_t fbIgnoreOverlapMs
 
Double_t fdMsSizeInNs
 /‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/
 
Double_t fdTsCoreSizeInNs
 Size of a single MS, [nanoseconds].
 
Double_t fdTsFullSizeInNs
 Total size of the core MS in a TS, [nanoseconds].
 
std::vector< std::pair< TNamed *, std::string > > fvpAllHistoPointers
 Total size of the core MS in a TS, [nanoseconds].
 
std::vector< std::pair< TCanvas *, std::string > > fvpAllCanvasPointers
 Vector of pointers to histograms + optional folder name.
 
std::vector< CbmStsDigifDigiVect
 Vector of pointers to canvases + optional folder name.
 
std::vector< CbmErrorMessagefErrVect
 
std::map< std::string, std::string > fParameterMap
 For any algo.
 

Private Member Functions

void ProcessHitInfo (const stsxyter::Message &mess, const UShort_t &usElinkIdx, const UInt_t &uAsicIdx, const UInt_t &uMsIdx)
 
void ProcessTsMsbInfo (const stsxyter::Message &mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0)
 
void ProcessEpochInfo (const stsxyter::Message &mess)
 
void ProcessStatusInfo (const stsxyter::Message &mess, const UInt_t &uAsicIdx)
 
 CbmMcbm2018UnpackerAlgoSts (const CbmMcbm2018UnpackerAlgoSts &)
 
CbmMcbm2018UnpackerAlgoSts operator= (const CbmMcbm2018UnpackerAlgoSts &)
 

Private Attributes

Bool_t fbMonitorMode
 Control flags.
 
Bool_t fbDebugMonitorMode
 Switch ON the filling of a minimal set of histograms.
 
std::vector< Bool_t > fvbMaskedComponents
 Switch ON the filling of a additional set of histograms.
 
Bool_t fbBinningFw = kFALSE
 => Quick and dirty hack for binning FW!!!
 
Bool_t fbPulserOutput = kTRUE
 
CbmMcbm2018StsParfUnpackPar
 If ON a separate output vector of digi is used for the pulser.
 
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 FEBs with 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< bool > fvbFebPulser = {}
 FEB type, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = A, 1 = B, -1 if inactive.
 
std::vector< Int_t > fviFebAddress
 Pulser flag for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
 
std::vector< Int_t > fviFebSide
 STS address for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
 
std::vector< Double_t > fvdFebAdcGain
 Module side for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
 
std::vector< Double_t > fvdFebAdcOffs
 ADC gain in e-/b, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
 
Double_t fdTimeOffsetNs
 ADC offset in e-, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].
 
std::vector< Double_t > fvdTimeOffsetNsAsics
 
Bool_t fbUseChannelMask
 
std::vector< std::vector< bool > > fvvbMaskedChannels
 
UInt_t fdAdcCut
 Vector of channel masks, [ NbFeb ][ NbCHanInFeb ], used only if fbUseChannelMask is true.
 
ULong64_t fulCurrentTsIdx
 
ULong64_t fulCurrentMsIdx
 
Double_t fdTsStartTime
 
Double_t fdTsStopTimeCore
 Time in ns of current TS from the index of the first MS first component.
 
Double_t fdMsTime
 End Time in ns of current TS Core from the index of the first MS first component.
 
UInt_t fuMsIndex
 Start Time in ns of current MS from its index field in header.
 
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.
 
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
 
std::vector< UInt_t > fvuCurrentTsMsbCycle
 Current TS MSB for each DPB.
 
Double_t fdStartTime
 
Double_t fdStartTimeMsSz
 
std::chrono::steady_clock::time_point ftStartTimeUnix
 
std::vector< stsxyter::FinalHitfvmHitsInMs
 Hits time-sorting.
 
std::vector< CbmStsDigifPulserDigiVect = {}
 All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.
 
std::vector< std::vector< UShort_t > > fvvusLastTsChan
 
std::vector< std::vector< UShort_t > > fvvusLastAdcChan
 TS of last hit message for each channel, [ AsicIdx ][ Chan ].
 
std::vector< std::vector< UShort_t > > fvvusLastTsMsbChan
 ADC of last hit message for each channel, [ AsicIdx ][ Chan ].
 
std::vector< std::vector< UShort_t > > fvvusLastTsMsbCycleChan
 TS MSB of last hit message for each channel, [ AsicIdx ][ Chan ].
 
TH1 * fhDigisTimeInRun
 TS MSB cycle of last hit message for each channel, [ AsicIdx ][ Chan ].
 
TH1 * fhVectorSize = nullptr
 
TH1 * fhVectorCapacity = nullptr
 
size_t fuTsMaxVectorSize = 0
 
Double_t fdCapacityIncFactor = 1.1
 
TH1 * fhMsCntEvo = nullptr
 
TH2 * fhMsErrorsEvo = nullptr
 

Static Private Attributes

static const Int_t kiMaxNbFlibLinks = 32
 Constants.
 
static const UInt_t kuMaxTsMsbDiffDuplicates = 8
 Duplicate hits suppression.
 

Detailed Description

Definition at line 42 of file CbmMcbm2018UnpackerAlgoSts.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018UnpackerAlgoSts() [1/2]

CbmMcbm2018UnpackerAlgoSts::CbmMcbm2018UnpackerAlgoSts ( )

Definition at line 34 of file CbmMcbm2018UnpackerAlgoSts.cxx.

◆ ~CbmMcbm2018UnpackerAlgoSts()

CbmMcbm2018UnpackerAlgoSts::~CbmMcbm2018UnpackerAlgoSts ( )

Clear buffers

Definition at line 92 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References CbmStar2019Algo< CbmStsDigi >::fParCList, fUnpackPar, and fvmHitsInMs.

◆ CbmMcbm2018UnpackerAlgoSts() [2/2]

CbmMcbm2018UnpackerAlgoSts::CbmMcbm2018UnpackerAlgoSts ( const CbmMcbm2018UnpackerAlgoSts & )
private

Member Function Documentation

◆ AddCanvasToVector()

void CbmStar2019Algo< CbmStsDigi >::AddCanvasToVector ( TCanvas * pointer,
std::string sFolder = "" )
inlineinherited

Definition at line 88 of file CbmStar2019Algo.h.

Referenced by CbmCosy2019MonitorAlgoHodo::CreateHistograms().

◆ AddHistoToVector()

void CbmStar2019Algo< CbmStsDigi >::AddHistoToVector ( TNamed * pointer,
std::string sFolder = "" )
inlineinherited

◆ AddMsComponentToList()

void CbmMcbm2018UnpackerAlgoSts::AddMsComponentToList ( size_t component,
UShort_t usDetectorId )

◆ CheckParameterValidity()

Bool_t CbmStar2019Algo< CbmStsDigi >::CheckParameterValidity ( std::string ,
std::string  )
inlineprotectedinherited

Map of parameter name and type.

Definition at line 140 of file CbmStar2019Algo.h.

◆ ClearErrorVector()

void CbmStar2019Algo< CbmStsDigi >::ClearErrorVector ( )
inlineinherited

Definition at line 97 of file CbmStar2019Algo.h.

◆ ClearPulserVector()

void CbmMcbm2018UnpackerAlgoSts::ClearPulserVector ( )
inline

Definition at line 58 of file CbmMcbm2018UnpackerAlgoSts.h.

References fPulserDigiVect.

Referenced by CbmMcbm2018UnpackerTaskSts::Reset().

◆ ClearVector()

void CbmStar2019Algo< CbmStsDigi >::ClearVector ( )
inlineinherited

For unpacker algos.

Definition at line 95 of file CbmStar2019Algo.h.

◆ CreateHistograms()

Bool_t CbmMcbm2018UnpackerAlgoSts::CreateHistograms ( )

◆ FillHistograms()

Bool_t CbmMcbm2018UnpackerAlgoSts::FillHistograms ( )

◆ Finish()

void CbmMcbm2018UnpackerAlgoSts::Finish ( )
virtual

Printout Goodbye message and stats

Write Output histos

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 114 of file CbmMcbm2018UnpackerAlgoSts.cxx.

◆ GetCanvasVector()

std::vector< std::pair< TCanvas *, std::string > > CbmStar2019Algo< CbmStsDigi >::GetCanvasVector ( )
inlineinherited

Definition at line 92 of file CbmStar2019Algo.h.

◆ GetErrorVector()

std::vector< CbmErrorMessage > & CbmStar2019Algo< CbmStsDigi >::GetErrorVector ( )
inlineinherited

Definition at line 98 of file CbmStar2019Algo.h.

◆ GetHistoVector()

std::vector< std::pair< TNamed *, std::string > > CbmStar2019Algo< CbmStsDigi >::GetHistoVector ( )
inlineinherited

Definition at line 87 of file CbmStar2019Algo.h.

◆ GetParameter()

virtual std::string CbmStar2019Algo< CbmStsDigi >::GetParameter ( std::string )
inlinevirtualinherited

Definition at line 80 of file CbmStar2019Algo.h.

◆ GetParList()

◆ GetPulserVector()

std::vector< CbmStsDigi > & CbmMcbm2018UnpackerAlgoSts::GetPulserVector ( )
inline

Definition at line 57 of file CbmMcbm2018UnpackerAlgoSts.h.

References fPulserDigiVect.

Referenced by CbmMcbm2018UnpackerTaskSts::Init().

◆ GetVector()

std::vector< CbmStsDigi > & CbmStar2019Algo< CbmStsDigi >::GetVector ( )
inlineinherited

Definition at line 96 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmMcbm2018UnpackerAlgoSts::Init ( )
virtual

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 107 of file CbmMcbm2018UnpackerAlgoSts.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018UnpackerAlgoSts::InitContainers ( )
virtual

◆ InitParameters()

Bool_t CbmMcbm2018UnpackerAlgoSts::InitParameters ( )

! FIXME: 1) Geometry is using front/back while we are using P/N !!!! => Assuming that front facing modules have connectors on right side +> Volker warns that the front side should be electrons one so N 2) No accessor/setter to change only the side field of an STS address => hardcode the shift +> The bit is unused in the current scheme: the side is encoded in the Digi channel

! FIXME: 1) Geometry is using front/back while we are using P/N !!!! => Assuming that front facing modules have connectors on right side +> Volker warns that the front side should be electrons one so N 2) No accessor/setter to change only the side field of an STS address => hardcode the shift +> The bit is unused in the current scheme: the side is encoded in the Digi channel

Definition at line 149 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References fbBinningFw, fDpbIdIndexMap, fuNbFebs, fuNbModules, fuNbStsXyters, fUnpackPar, fuNrOfDpbs, fvbCrobActiveFlag, fvbFebPulser, fvdFebAdcGain, fvdFebAdcOffs, fvdTimeOffsetNsAsics, fviFebAddress, fviFebModuleIdx, fviFebModuleSide, fviFebSide, fviFebType, fviModAddress, fviModuleType, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, fvvusLastAdcChan, fvvusLastTsChan, fvvusLastTsMsbChan, fvvusLastTsMsbCycleChan, CbmMcbm2018StsPar::GetDpbId(), CbmMcbm2018StsPar::GetFebAdcGain(), CbmMcbm2018StsPar::GetFebAdcOffset(), CbmMcbm2018StsPar::GetFebModuleIdx(), CbmMcbm2018StsPar::GetFebModuleSide(), CbmMcbm2018StsPar::GetModuleAddress(), CbmMcbm2018StsPar::GetModuleType(), CbmMcbm2018StsPar::GetNbChanPerAsic(), CbmMcbm2018StsPar::GetNbCrobsPerDpb(), CbmMcbm2018StsPar::GetNbFebsPerCrob(), CbmMcbm2018StsPar::GetNbOfModules(), CbmMcbm2018StsPar::GetNrOfAsics(), CbmMcbm2018StsPar::GetNrOfDpbs(), CbmMcbm2018StsPar::GetNrOfFebs(), CbmMcbm2018StsPar::IsCrobActive(), and CbmMcbm2018StsPar::IsFebPulser().

Referenced by ReInitContainers().

◆ MaskNoisyChannel()

void CbmMcbm2018UnpackerAlgoSts::MaskNoisyChannel ( UInt_t uFeb,
UInt_t uChan,
Bool_t bMasked = kTRUE )

◆ operator=()

CbmMcbm2018UnpackerAlgoSts CbmMcbm2018UnpackerAlgoSts::operator= ( const CbmMcbm2018UnpackerAlgoSts & )
private

◆ ProcessEpochInfo()

void CbmMcbm2018UnpackerAlgoSts::ProcessEpochInfo ( const stsxyter::Message & mess)
private

Definition at line 915 of file CbmMcbm2018UnpackerAlgoSts.cxx.

Referenced by ProcessMs().

◆ ProcessHitInfo()

void CbmMcbm2018UnpackerAlgoSts::ProcessHitInfo ( const stsxyter::Message & mess,
const UShort_t & usElinkIdx,
const UInt_t & uAsicIdx,
const UInt_t & uMsIdx )
private

=> Quick and dirty hack for binning FW!!!

Cheat needed only for modules with FEB at bottom of module or the Test module

Duplicate hits rejection

FIXME: add plots to check what is done in this rejection

=> Quick and dirty hack for binning FW!!!

Store hit for output only if it is mapped to a module!!!

Store only if masking is disabled or if channeld is not masked 2D vector is safe as always right size if masking enabled

If EM flag ON, store a corresponding error message with the next flag after all other possible status flags set

Definition at line 708 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References fbBinningFw, fbUseChannelMask, fdAdcCut, fdStartTime, CbmStar2019Algo< CbmStsDigi >::fErrVect, fuCurrDpbIdx, fUnpackPar, fviFebAddress, fvmHitsInMs, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, fvvbMaskedChannels, fvvusLastAdcChan, fvvusLastTsChan, fvvusLastTsMsbChan, fvvusLastTsMsbCycleChan, stsxyter::Message::GetHitAdc(), stsxyter::Message::GetHitChannel(), stsxyter::Message::GetHitTime(), stsxyter::Message::GetHitTimeBinning(), CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerAsic(), CbmMcbm2018StsPar::GetNbElinkPerCrob(), stsxyter::Message::IsHitMissedEvts(), stsxyter::kdClockCycleNs, kSts, stsxyter::kuHitNbTsBins, stsxyter::kuHitNbTsBinsBinning, stsxyter::kulTsCycleNbBins, stsxyter::kulTsCycleNbBinsBinning, kuMaxTsMsbDiffDuplicates, and stsxyter::kusLenStatStatus.

Referenced by ProcessMs().

◆ ProcessMs()

Bool_t CbmMcbm2018UnpackerAlgoSts::ProcessMs ( const fles::Timeslice & ts,
size_t uMsCompIdx,
size_t uMsIdx )
virtual

◆ ProcessStatusInfo()

void CbmMcbm2018UnpackerAlgoSts::ProcessStatusInfo ( const stsxyter::Message & mess,
const UInt_t & uAsicIdx )
private

Compute the Full time stamp Use TS w/o overlap bits as they will anyway come from the TS_MSB

=> Quick and dirty hack for binning FW!!!

Convert the time in bins to Hit time in ns

Definition at line 930 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References fbBinningFw, CbmStar2019Algo< CbmStsDigi >::fErrVect, fuCurrDpbIdx, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetData(), stsxyter::Message::GetStatusStatus(), stsxyter::kdClockCycleNs, kSts, stsxyter::kuHitNbTsBins, stsxyter::kuHitNbTsBinsBinning, stsxyter::kulTsCycleNbBins, and stsxyter::kulTsCycleNbBinsBinning.

Referenced by ProcessMs().

◆ ProcessTs() [1/2]

Bool_t CbmMcbm2018UnpackerAlgoSts::ProcessTs ( const fles::Timeslice & ts)
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 => Commented out as for now problems at MS borders due to offsets

Add the hits to the output buffer as Digis

FIXME: see issue #1549 N side: 0-1023 => 0-1023 P side: 0-1023 => 2047-1024

Catch the pulser digis and either save them to their own output or drop them

Clear the buffer of hits

Clear buffers to prepare for the next TS

Sort the buffers of hits due to the time offsets applied

Sort the buffers of pulser hits due to the time offsets applied

Fill plots if in monitor mode

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 339 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References CbmStar2019Algo< CbmStsDigi >::fbIgnoreOverlapMs, fbMonitorMode, fbPulserOutput, fdCapacityIncFactor, CbmStar2019Algo< CbmStsDigi >::fDigiVect, CbmStar2019Algo< CbmStsDigi >::fdMsSizeInNs, fdTimeOffsetNs, CbmStar2019Algo< CbmStsDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmStsDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fhVectorCapacity, fhVectorSize, FillHistograms(), fPulserDigiVect, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmStsDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmStsDigi >::fuNbMsLoop, CbmStar2019Algo< CbmStsDigi >::fuNbOverMsPerTs, fUnpackPar, fuTsMaxVectorSize, fvbFebPulser, fvdFebAdcGain, fvdFebAdcOffs, fvdTimeOffsetNsAsics, fviFebAddress, fviFebSide, fvmHitsInMs, CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList, CbmMcbm2018StsPar::GetNbAsicsPerFeb(), CbmMcbm2018StsPar::GetNbChanPerAsic(), CbmMcbm2018StsPar::GetNbChanPerFeb(), stsxyter::kdClockCycleNs, and ProcessMs().

Referenced by CbmCosy2019UnpackerTaskHodo::DoUnpack(), CbmDeviceMcbmUnpack::DoUnpack(), and CbmMcbm2018UnpackerTaskSts::DoUnpack().

◆ ProcessTs() [2/2]

Bool_t CbmMcbm2018UnpackerAlgoSts::ProcessTs ( const fles::Timeslice & ts,
size_t  )
inlinevirtual

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 61 of file CbmMcbm2018UnpackerAlgoSts.h.

References ProcessTs().

Referenced by ProcessTs().

◆ ProcessTsMsbInfo()

void CbmMcbm2018UnpackerAlgoSts::ProcessTsMsbInfo ( const stsxyter::Message & mess,
UInt_t uMessIdx = 0,
UInt_t uMsIdx = 0 )
private

=> Quick and dirty hack for binning FW!!!

Case where we reach a normal cycle edge

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

Catch case where previous MS ended up on a TS MSB cycle as it is then already updated from the MS index

Definition at line 843 of file CbmMcbm2018UnpackerAlgoSts.cxx.

References fbBinningFw, fuCurrDpbIdx, fulCurrentMsIdx, fulCurrentTsIdx, fvuCurrentTsMsbCycle, fvulCurrentTsMsb, stsxyter::Message::GetTsMsbVal(), and stsxyter::Message::GetTsMsbValBinning().

Referenced by ProcessMs().

◆ ReInitContainers()

◆ Reset()

void CbmMcbm2018UnpackerAlgoSts::Reset ( )
virtual

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 113 of file CbmMcbm2018UnpackerAlgoSts.cxx.

◆ ResetHistograms()

Bool_t CbmMcbm2018UnpackerAlgoSts::ResetHistograms ( )

◆ SeparatePulserOutput()

void CbmMcbm2018UnpackerAlgoSts::SeparatePulserOutput ( Bool_t bFlagIn)
inline

◆ SetAdcCut()

void CbmMcbm2018UnpackerAlgoSts::SetAdcCut ( UInt_t uAdc)
inline

◆ SetBinningFwFlag()

void CbmMcbm2018UnpackerAlgoSts::SetBinningFwFlag ( Bool_t bEnable = kTRUE)
inline

=> Quick and dirty hack for binning FW!!!

Definition at line 77 of file CbmMcbm2018UnpackerAlgoSts.h.

References fbBinningFw.

Referenced by CbmDeviceMcbmUnpack::InitContainers(), and CbmMcbm2018UnpackerTaskSts::SetBinningFwFlag().

◆ SetIgnoreOverlapMs()

void CbmStar2019Algo< CbmStsDigi >::SetIgnoreOverlapMs ( Bool_t bFlagIn = kTRUE)
inlineinherited

Control flags.

Definition at line 101 of file CbmStar2019Algo.h.

◆ SetMonitorMode()

void CbmMcbm2018UnpackerAlgoSts::SetMonitorMode ( Bool_t bFlagIn = kTRUE)
inline

◆ SetParameter()

virtual void CbmStar2019Algo< CbmStsDigi >::SetParameter ( std::string )
inlinevirtualinherited

Definition at line 79 of file CbmStar2019Algo.h.

◆ SetTimeOffsetNs()

void CbmMcbm2018UnpackerAlgoSts::SetTimeOffsetNs ( Double_t dOffsetIn = 0.0)
inline

◆ SetTimeOffsetNsAsic()

void CbmMcbm2018UnpackerAlgoSts::SetTimeOffsetNsAsic ( UInt_t uAsicIdx,
Double_t dOffsetIn = 0.0 )

◆ SetVectCapInc()

void CbmMcbm2018UnpackerAlgoSts::SetVectCapInc ( Double_t dIncFact)
inline

Definition at line 79 of file CbmMcbm2018UnpackerAlgoSts.h.

References fdCapacityIncFactor.

Member Data Documentation

◆ fbBinningFw

Bool_t CbmMcbm2018UnpackerAlgoSts::fbBinningFw = kFALSE
private

=> Quick and dirty hack for binning FW!!!

Definition at line 89 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), ProcessHitInfo(), ProcessMs(), ProcessStatusInfo(), ProcessTsMsbInfo(), and SetBinningFwFlag().

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018UnpackerAlgoSts::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 86 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs().

◆ fbIgnoreOverlapMs

Bool_t CbmStar2019Algo< CbmStsDigi >::fbIgnoreOverlapMs
protectedinherited

◆ fbMonitorMode

Bool_t CbmMcbm2018UnpackerAlgoSts::fbMonitorMode
private

Control flags.

Definition at line 85 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs(), ProcessTs(), and SetMonitorMode().

◆ fbPulserOutput

Bool_t CbmMcbm2018UnpackerAlgoSts::fbPulserOutput = kTRUE
private

Definition at line 90 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by FillHistograms(), ProcessTs(), and SeparatePulserOutput().

◆ fbUseChannelMask

Bool_t CbmMcbm2018UnpackerAlgoSts::fbUseChannelMask
private

Definition at line 120 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by MaskNoisyChannel(), and ProcessHitInfo().

◆ fdAdcCut

UInt_t CbmMcbm2018UnpackerAlgoSts::fdAdcCut
private

Vector of channel masks, [ NbFeb ][ NbCHanInFeb ], used only if fbUseChannelMask is true.

Definition at line 123 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessHitInfo(), and SetAdcCut().

◆ fdCapacityIncFactor

Double_t CbmMcbm2018UnpackerAlgoSts::fdCapacityIncFactor = 1.1
private

Definition at line 180 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs(), and SetVectCapInc().

◆ fDigiVect

std::vector<CbmStsDigi> CbmStar2019Algo< CbmStsDigi >::fDigiVect
protectedinherited

Vector of pointers to canvases + optional folder name.

For unpacker algos

Definition at line 134 of file CbmStar2019Algo.h.

Referenced by CbmCosy2019UnpackerAlgoHodo::FillHistograms(), FillHistograms(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and ProcessTs().

◆ fdMsSizeInNs

Double_t CbmStar2019Algo< CbmStsDigi >::fdMsSizeInNs
protectedinherited

/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/

Definition at line 113 of file CbmStar2019Algo.h.

Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and ProcessTs().

◆ fdMsTime

Double_t CbmMcbm2018UnpackerAlgoSts::fdMsTime
private

End Time in ns of current TS Core from the index of the first MS first component.

Definition at line 134 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ fDpbIdIndexMap

std::map<UInt_t, UInt_t> CbmMcbm2018UnpackerAlgoSts::fDpbIdIndexMap
private

Total number of STS DPBs in system.

Definition at line 100 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessMs().

◆ fdStartTime

Double_t CbmMcbm2018UnpackerAlgoSts::fdStartTime
private

Current TS MSB cycle for DPB Starting state book-keeping

Definition at line 147 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessHitInfo().

◆ fdStartTimeMsSz

Double_t CbmMcbm2018UnpackerAlgoSts::fdStartTimeMsSz
private

Time of first valid hit (TS_MSB available), used as reference for evolution plots

Definition at line 148 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ fdTimeOffsetNs

Double_t CbmMcbm2018UnpackerAlgoSts::fdTimeOffsetNs
private

ADC offset in e-, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].

User settings: Data correction parameters

Definition at line 118 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs(), and SetTimeOffsetNs().

◆ fdTsCoreSizeInNs

Double_t CbmStar2019Algo< CbmStsDigi >::fdTsCoreSizeInNs
protectedinherited

Size of a single MS, [nanoseconds].

Definition at line 114 of file CbmStar2019Algo.h.

Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and ProcessTs().

◆ fdTsFullSizeInNs

Double_t CbmStar2019Algo< CbmStsDigi >::fdTsFullSizeInNs
protectedinherited

Total size of the core MS in a TS, [nanoseconds].

Definition at line 115 of file CbmStar2019Algo.h.

Referenced by CbmCosy2019MonitorAlgoHodo::ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and ProcessTs().

◆ fdTsStartTime

Double_t CbmMcbm2018UnpackerAlgoSts::fdTsStartTime
private

Definition at line 132 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs().

◆ fdTsStopTimeCore

Double_t CbmMcbm2018UnpackerAlgoSts::fdTsStopTimeCore
private

Time in ns of current TS from the index of the first MS first component.

Definition at line 133 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs().

◆ fErrVect

std::vector<CbmErrorMessage> CbmStar2019Algo< CbmStsDigi >::fErrVect
protectedinherited

Definition at line 135 of file CbmStar2019Algo.h.

Referenced by ProcessHitInfo(), ProcessMs(), and ProcessStatusInfo().

◆ fhDigisTimeInRun

TH1* CbmMcbm2018UnpackerAlgoSts::fhDigisTimeInRun
private

TS MSB cycle of last hit message for each channel, [ AsicIdx ][ Chan ].

Histograms

Definition at line 170 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by CreateHistograms(), FillHistograms(), and ResetHistograms().

◆ fhMsCntEvo

TH1* CbmMcbm2018UnpackerAlgoSts::fhMsCntEvo = nullptr
private

Definition at line 183 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by CreateHistograms(), and ProcessMs().

◆ fhMsErrorsEvo

TH2* CbmMcbm2018UnpackerAlgoSts::fhMsErrorsEvo = nullptr
private

Definition at line 184 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by CreateHistograms(), and ProcessMs().

◆ fhVectorCapacity

TH1* CbmMcbm2018UnpackerAlgoSts::fhVectorCapacity = nullptr
private

Definition at line 178 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by CreateHistograms(), and ProcessTs().

◆ fhVectorSize

TH1* CbmMcbm2018UnpackerAlgoSts::fhVectorSize = nullptr
private

Definition at line 177 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by CreateHistograms(), and ProcessTs().

◆ fiBinSizeDatePlots

Int_t CbmMcbm2018UnpackerAlgoSts::fiBinSizeDatePlots
private

Start of run time since "epoch" in s, for the plots with date as X axis.

Definition at line 142 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ fiRunStartDateTimeSec

Int_t CbmMcbm2018UnpackerAlgoSts::fiRunStartDateTimeSec
private

Index of the DPB from which the MS currently unpacked is coming.

Definition at line 141 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ fmMsgCounter

std::map<stsxyter::MessType, UInt_t> CbmMcbm2018UnpackerAlgoSts::fmMsgCounter
private

Index of current MS within the TS Current data properties

Definition at line 137 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs().

◆ fParameterMap

std::map<std::string, std::string> CbmStar2019Algo< CbmStsDigi >::fParameterMap
protectedinherited

For any algo.

Definition at line 138 of file CbmStar2019Algo.h.

◆ fParCList

◆ fPulserDigiVect

std::vector<CbmStsDigi> CbmMcbm2018UnpackerAlgoSts::fPulserDigiVect = {}
private

All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.

Pulser Digis output, needed as STS reco does not accept Digis without a valid STS address

Definition at line 157 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ClearPulserVector(), FillHistograms(), GetPulserVector(), and ProcessTs().

◆ ftStartTimeUnix

std::chrono::steady_clock::time_point CbmMcbm2018UnpackerAlgoSts::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 150 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ fuCurrDpbId

UInt_t CbmMcbm2018UnpackerAlgoSts::fuCurrDpbId
private

Current equipment ID, tells from which DPB the current MS is originating.

Definition at line 139 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs().

◆ fuCurrDpbIdx

UInt_t CbmMcbm2018UnpackerAlgoSts::fuCurrDpbIdx
private

Temp holder until Current equipment ID is properly filled in MS.

Definition at line 140 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessHitInfo(), ProcessMs(), ProcessStatusInfo(), and ProcessTsMsbInfo().

◆ fuCurrentEquipmentId

UInt_t CbmMcbm2018UnpackerAlgoSts::fuCurrentEquipmentId
private

Definition at line 138 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs().

◆ fulCurrentMsIdx

ULong64_t CbmMcbm2018UnpackerAlgoSts::fulCurrentMsIdx
private

Definition at line 131 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs(), and ProcessTsMsbInfo().

◆ fulCurrentTsIdx

ULong64_t CbmMcbm2018UnpackerAlgoSts::fulCurrentTsIdx
private

Running indices TS/MS info

Definition at line 130 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs(), ProcessTs(), and ProcessTsMsbInfo().

◆ fuMsIndex

UInt_t CbmMcbm2018UnpackerAlgoSts::fuMsIndex
private

Start Time in ns of current MS from its index field in header.

Definition at line 135 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs().

◆ fuNbCoreMsPerTs

size_t CbmStar2019Algo< CbmStsDigi >::fuNbCoreMsPerTs
protectedinherited

◆ fuNbFebs

UInt_t CbmMcbm2018UnpackerAlgoSts::fuNbFebs
private

Array to hold the active flag for all CROBs, [ NbDpb ][ NbCrobPerDpb ].

Definition at line 103 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and MaskNoisyChannel().

◆ fuNbModules

UInt_t CbmMcbm2018UnpackerAlgoSts::fuNbModules
private

Readout chain dimensions and mapping

Definition at line 95 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fuNbMsLoop

size_t CbmStar2019Algo< CbmStsDigi >::fuNbMsLoop
protectedinherited

◆ fuNbOverMsPerTs

size_t CbmStar2019Algo< CbmStsDigi >::fuNbOverMsPerTs
protectedinherited

◆ fuNbStsXyters

UInt_t CbmMcbm2018UnpackerAlgoSts::fuNbStsXyters
private

Number of FEBs with StsXyter ASICs.

Definition at line 104 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fUnpackPar

CbmMcbm2018StsPar* CbmMcbm2018UnpackerAlgoSts::fUnpackPar
private

If ON a separate output vector of digi is used for the pulser.

Settings from parameter file

Definition at line 93 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by GetParList(), InitParameters(), MaskNoisyChannel(), ProcessHitInfo(), ProcessMs(), ProcessTs(), ReInitContainers(), and ~CbmMcbm2018UnpackerAlgoSts().

◆ fuNrOfDpbs

UInt_t CbmMcbm2018UnpackerAlgoSts::fuNrOfDpbs
private

STS address for the first strip of each module.

Definition at line 99 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fuTsMaxVectorSize

size_t CbmMcbm2018UnpackerAlgoSts::fuTsMaxVectorSize = 0
private

Definition at line 179 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessTs().

◆ fvbCrobActiveFlag

std::vector<std::vector<Bool_t> > CbmMcbm2018UnpackerAlgoSts::fvbCrobActiveFlag
private

Map of DPB Identifier to DPB index.

Definition at line 102 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fvbFebPulser

std::vector<bool> CbmMcbm2018UnpackerAlgoSts::fvbFebPulser = {}
private

FEB type, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = A, 1 = B, -1 if inactive.

Definition at line 111 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessTs().

◆ fvbMaskedComponents

std::vector<Bool_t> CbmMcbm2018UnpackerAlgoSts::fvbMaskedComponents
private

Switch ON the filling of a additional set of histograms.

Definition at line 87 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessMs().

◆ fvdFebAdcGain

std::vector<Double_t> CbmMcbm2018UnpackerAlgoSts::fvdFebAdcGain
private

Module side for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].

Definition at line 114 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessTs().

◆ fvdFebAdcOffs

std::vector<Double_t> CbmMcbm2018UnpackerAlgoSts::fvdFebAdcOffs
private

ADC gain in e-/b, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].

Definition at line 115 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessTs().

◆ fvdTimeOffsetNsAsics

std::vector<Double_t> CbmMcbm2018UnpackerAlgoSts::fvdTimeOffsetNsAsics
private

Definition at line 119 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), ProcessTs(), and SetTimeOffsetNsAsic().

◆ fviFebAddress

std::vector<Int_t> CbmMcbm2018UnpackerAlgoSts::fviFebAddress
private

Pulser flag for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].

Definition at line 112 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), ProcessHitInfo(), and ProcessTs().

◆ fviFebModuleIdx

std::vector<std::vector<std::vector<Int_t> > > CbmMcbm2018UnpackerAlgoSts::fviFebModuleIdx
private

Number of StsXyter ASICs.

Definition at line 106 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fviFebModuleSide

std::vector<std::vector<std::vector<Int_t> > > CbmMcbm2018UnpackerAlgoSts::fviFebModuleSide
private

Idx of the STS module for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], -1 if inactive.

Definition at line 108 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fviFebSide

std::vector<Int_t> CbmMcbm2018UnpackerAlgoSts::fviFebSide
private

STS address for each FEB, [ NbDpb * NbCrobPerDpb * NbFebsPerCrob ].

Definition at line 113 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessTs().

◆ fviFebType

std::vector<std::vector<std::vector<Int_t> > > CbmMcbm2018UnpackerAlgoSts::fviFebType
private

STS module side for each FEB, [ NbDpb ][ NbCrobPerDpb ][ NbFebsPerCrob ], 0 = P, 1 = N, -1 if inactive.

Definition at line 110 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessMs().

◆ fviModAddress

std::vector<Int_t> CbmMcbm2018UnpackerAlgoSts::fviModAddress
private

Type of each module: 0 for connectors on the right, 1 for connectors on the left.

Definition at line 98 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fviModuleType

std::vector<Int_t> CbmMcbm2018UnpackerAlgoSts::fviModuleType
private

Total number of STS modules in the setup.

Definition at line 97 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters().

◆ fvmHitsInMs

std::vector<stsxyter::FinalHit> CbmMcbm2018UnpackerAlgoSts::fvmHitsInMs
private

Hits time-sorting.

Time of run Start from UNIX system, used as reference for long evolution plots against reception time

Definition at line 154 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessHitInfo(), ProcessTs(), and ~CbmMcbm2018UnpackerAlgoSts().

◆ fvMsComponentsList

◆ fvpAllCanvasPointers

std::vector<std::pair<TCanvas*, std::string> > CbmStar2019Algo< CbmStsDigi >::fvpAllCanvasPointers
protectedinherited

Vector of pointers to histograms + optional folder name.

Definition at line 131 of file CbmStar2019Algo.h.

◆ fvpAllHistoPointers

std::vector<std::pair<TNamed*, std::string> > CbmStar2019Algo< CbmStsDigi >::fvpAllHistoPointers
protectedinherited

Total size of the core MS in a TS, [nanoseconds].

For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );

Definition at line 129 of file CbmStar2019Algo.h.

◆ fvuCurrentTsMsbCycle

std::vector<UInt_t> CbmMcbm2018UnpackerAlgoSts::fvuCurrentTsMsbCycle
private

Current TS MSB for each DPB.

Definition at line 145 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), ProcessHitInfo(), ProcessMs(), ProcessStatusInfo(), and ProcessTsMsbInfo().

◆ fvulCurrentTsMsb

std::vector<ULong64_t> CbmMcbm2018UnpackerAlgoSts::fvulCurrentTsMsb
private

Bin size in s for the plots with date as X axis Data format control

Definition at line 144 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), ProcessHitInfo(), ProcessMs(), ProcessStatusInfo(), and ProcessTsMsbInfo().

◆ fvvbMaskedChannels

std::vector<std::vector<bool> > CbmMcbm2018UnpackerAlgoSts::fvvbMaskedChannels
private

Definition at line 122 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by MaskNoisyChannel(), and ProcessHitInfo().

◆ fvvusLastAdcChan

std::vector<std::vector<UShort_t> > CbmMcbm2018UnpackerAlgoSts::fvvusLastAdcChan
private

TS of last hit message for each channel, [ AsicIdx ][ Chan ].

Definition at line 163 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessHitInfo().

◆ fvvusLastTsChan

std::vector<std::vector<UShort_t> > CbmMcbm2018UnpackerAlgoSts::fvvusLastTsChan
private

Definition at line 161 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessHitInfo().

◆ fvvusLastTsMsbChan

std::vector<std::vector<UShort_t> > CbmMcbm2018UnpackerAlgoSts::fvvusLastTsMsbChan
private

ADC of last hit message for each channel, [ AsicIdx ][ Chan ].

Definition at line 165 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessHitInfo().

◆ fvvusLastTsMsbCycleChan

std::vector<std::vector<UShort_t> > CbmMcbm2018UnpackerAlgoSts::fvvusLastTsMsbCycleChan
private

TS MSB of last hit message for each channel, [ AsicIdx ][ Chan ].

Definition at line 167 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by InitParameters(), and ProcessHitInfo().

◆ kiMaxNbFlibLinks

const Int_t CbmMcbm2018UnpackerAlgoSts::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 126 of file CbmMcbm2018UnpackerAlgoSts.h.

◆ kuMaxTsMsbDiffDuplicates

const UInt_t CbmMcbm2018UnpackerAlgoSts::kuMaxTsMsbDiffDuplicates = 8
staticprivate

Duplicate hits suppression.

Definition at line 160 of file CbmMcbm2018UnpackerAlgoSts.h.

Referenced by ProcessHitInfo().


The documentation for this class was generated from the following files: