CbmRoot
CbmMcbm2018UnpackerAlgoPsd Class Reference

#include <CbmMcbm2018UnpackerAlgoPsd.h>

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

Public Member Functions

 CbmMcbm2018UnpackerAlgoPsd ()
 
 ~CbmMcbm2018UnpackerAlgoPsd ()
 
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 SetDiamondDpbIdx (UInt_t uIdx=2)
 
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< CbmPsdDigi > & 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< CbmPsdDigifDigiVect
 Vector of pointers to canvases + optional folder name. More...
 
std::vector< CbmErrorMessagefErrVect
 
std::map< std::string, std::string > fParameterMap
 For any algo. More...
 

Private Member Functions

 CbmMcbm2018UnpackerAlgoPsd (const CbmMcbm2018UnpackerAlgoPsd &)
 
CbmMcbm2018UnpackerAlgoPsd operator= (const CbmMcbm2018UnpackerAlgoPsd &)
 

Private Attributes

Bool_t fbMonitorMode
 Control flags. 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...
 
CbmMcbm2018PsdParfUnpackPar
 Settings from parameter file. More...
 
UInt_t fuNrOfGdpbs
 
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
 Total number of GDPBs in the system. More...
 
UInt_t fuNrOfFeePerGdpb
 gDPB ID to index map More...
 
UInt_t fuNrOfChannelsPerFee
 Number of FEBs per GDPB. More...
 
UInt_t fuNrOfChannelsPerGdpb
 Number of channels in each FEE. More...
 
UInt_t fuNrOfGbtx
 Number of channels per GDPB. More...
 
UInt_t fuNrOfModules
 
std::vector< Int_t > fviNrOfRpc
 
std::vector< Int_t > fviRpcType
 
std::vector< Int_t > fviRpcSide
 
std::vector< Int_t > fviModuleId
 
std::vector< Int_t > fviPsdChUId
 
Double_t fdTimeOffsetNs
 User settings: Data correction parameters. More...
 
UInt_t fuDiamondDpbIdx
 
ULong64_t fulCurrentTsIdx
 
ULong64_t fulCurrentMsIdx
 Idx of the current TS. More...
 
size_t fuCurrentMsSysId
 Idx of the current MS in TS (0 to fuTotalMsNb) More...
 
Double_t fdTsStartTime
 SysId of the current MS in TS (0 to fuTotalMsNb) More...
 
Double_t fdTsStopTimeCore
 Time in ns of current TS from the index of the first MS first component. More...
 
Double_t fdMsTime
 End Time in ns of current TS Core from the index of the first MS first component. More...
 
UInt_t fuMsIndex
 Start Time in ns of current MS from its index field in header. More...
 
UInt_t fuCurrentEquipmentId
 Index of current MS within the TS. More...
 
UInt_t fuCurrDpbId
 Current equipment ID, tells from which DPB the current MS is originating. More...
 
UInt_t fuCurrDpbIdx
 Temp holder until Current equipment ID is properly filled in MS. More...
 
Int_t fiRunStartDateTimeSec
 Index of the DPB from which the MS currently unpacked is coming. More...
 
Int_t fiBinSizeDatePlots
 Start of run time since "epoch" in s, for the plots with date as X axis. More...
 
std::vector< ULong64_t > fvulCurrentEpoch
 Bin size in s for the plots with date as X axis. More...
 
std::vector< ULong64_t > fvulCurrentEpochCycle
 Current epoch index, per DPB. More...
 
std::vector< ULong64_t > fvulCurrentEpochFull
 Epoch cycle from the Ms Start message and Epoch counter flip. More...
 
Double_t fdStartTime
 Epoch + Epoch Cycle. More...
 
Double_t fdStartTimeMsSz
 
std::chrono::steady_clock::time_point ftStartTimeUnix
 

Static Private Attributes

static const Int_t kiMaxNbFlibLinks = 32
 Constants. More...
 
static const UInt_t kuBytesPerMessage = 8
 
static const UInt_t kuDetMask = 0x0001FFFF
 

Detailed Description

Definition at line 30 of file CbmMcbm2018UnpackerAlgoPsd.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018UnpackerAlgoPsd() [1/2]

CbmMcbm2018UnpackerAlgoPsd::CbmMcbm2018UnpackerAlgoPsd ( )

Definition at line 31 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ ~CbmMcbm2018UnpackerAlgoPsd()

CbmMcbm2018UnpackerAlgoPsd::~CbmMcbm2018UnpackerAlgoPsd ( )

Clear buffers

Definition at line 65 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ CbmMcbm2018UnpackerAlgoPsd() [2/2]

CbmMcbm2018UnpackerAlgoPsd::CbmMcbm2018UnpackerAlgoPsd ( const CbmMcbm2018UnpackerAlgoPsd )
private

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

Member Function Documentation

◆ AddCanvasToVector()

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

Definition at line 87 of file CbmStar2019Algo.h.

◆ AddHistoToVector()

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

For monitor algos.

Definition at line 80 of file CbmStar2019Algo.h.

◆ AddMsComponentToList()

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

Check for duplicates and ignore if it is the case

Add to list

Definition at line 150 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

References CbmStar2019Algo< CbmPsdDigi >::fvMsComponentsList.

Referenced by CbmMcbm2018UnpackerTaskPsd::AddMsComponentToList().

◆ CheckParameterValidity()

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

Map of parameter name and type.

Definition at line 147 of file CbmStar2019Algo.h.

◆ ClearErrorVector()

void CbmStar2019Algo< CbmPsdDigi >::ClearErrorVector ( )
inlineinherited

Definition at line 98 of file CbmStar2019Algo.h.

◆ ClearVector()

void CbmStar2019Algo< CbmPsdDigi >::ClearVector ( )
inlineinherited

For unpacker algos.

Definition at line 96 of file CbmStar2019Algo.h.

◆ CreateHistograms()

Bool_t CbmMcbm2018UnpackerAlgoPsd::CreateHistograms ( )

◆ FillHistograms()

Bool_t CbmMcbm2018UnpackerAlgoPsd::FillHistograms ( )

Definition at line 389 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ Finish()

void CbmMcbm2018UnpackerAlgoPsd::Finish ( )
virtual

Implements CbmStar2019Algo< CbmPsdDigi >.

Definition at line 76 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ GetCanvasVector()

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

Definition at line 91 of file CbmStar2019Algo.h.

◆ GetErrorVector()

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

Definition at line 99 of file CbmStar2019Algo.h.

◆ GetHistoVector()

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

Definition at line 84 of file CbmStar2019Algo.h.

◆ GetParameter()

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

Definition at line 75 of file CbmStar2019Algo.h.

◆ GetParList()

TList * CbmMcbm2018UnpackerAlgoPsd::GetParList ( )
virtual

◆ GetVector()

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

Definition at line 97 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmMcbm2018UnpackerAlgoPsd::Init ( )
virtual

Implements CbmStar2019Algo< CbmPsdDigi >.

Definition at line 70 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018UnpackerAlgoPsd::InitContainers ( )
virtual

◆ InitParameters()

◆ operator=()

CbmMcbm2018UnpackerAlgoPsd CbmMcbm2018UnpackerAlgoPsd::operator= ( const CbmMcbm2018UnpackerAlgoPsd )
private

◆ ProcessMs()

◆ ProcessTs() [1/2]

Bool_t CbmMcbm2018UnpackerAlgoPsd::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 due to the time offsets applied

Implements CbmStar2019Algo< CbmPsdDigi >.

Definition at line 165 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

References CbmStar2019Algo< CbmPsdDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmPsdDigi >::fDigiVect, CbmStar2019Algo< CbmPsdDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmPsdDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmPsdDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmPsdDigi >::fuNbCoreMsPerTs, CbmStar2019Algo< CbmPsdDigi >::fuNbMsLoop, CbmStar2019Algo< CbmPsdDigi >::fuNbOverMsPerTs, CbmStar2019Algo< CbmPsdDigi >::fvMsComponentsList, and ProcessMs().

Referenced by CbmMcbm2018UnpackerTaskPsd::DoUnpack(), and ProcessTs().

◆ ProcessTs() [2/2]

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

Implements CbmStar2019Algo< CbmPsdDigi >.

Definition at line 46 of file CbmMcbm2018UnpackerAlgoPsd.h.

References ProcessTs().

◆ ReInitContainers()

Bool_t CbmMcbm2018UnpackerAlgoPsd::ReInitContainers ( )
virtual

◆ Reset()

void CbmMcbm2018UnpackerAlgoPsd::Reset ( )
virtual

Implements CbmStar2019Algo< CbmPsdDigi >.

Definition at line 75 of file CbmMcbm2018UnpackerAlgoPsd.cxx.

◆ ResetHistograms()

Bool_t CbmMcbm2018UnpackerAlgoPsd::ResetHistograms ( )

◆ SetDiamondDpbIdx()

void CbmMcbm2018UnpackerAlgoPsd::SetDiamondDpbIdx ( UInt_t  uIdx = 2)
inline

◆ SetIgnoreOverlapMs()

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

Control flags.

Definition at line 102 of file CbmStar2019Algo.h.

◆ SetMonitorMode()

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

Definition at line 57 of file CbmMcbm2018UnpackerAlgoPsd.h.

References fbMonitorMode.

Referenced by CbmMcbm2018UnpackerTaskPsd::InitContainers().

◆ SetParameter()

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

Definition at line 74 of file CbmStar2019Algo.h.

◆ SetTimeOffsetNs()

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

Definition at line 60 of file CbmMcbm2018UnpackerAlgoPsd.h.

References fdTimeOffsetNs.

Referenced by CbmMcbm2018UnpackerTaskPsd::SetTimeOffsetNs().

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmMcbm2018UnpackerAlgoPsd::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 71 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fbIgnoreOverlapMs

Bool_t CbmStar2019Algo< CbmPsdDigi >::fbIgnoreOverlapMs
protectedinherited

Definition at line 116 of file CbmStar2019Algo.h.

◆ fbMonitorMode

Bool_t CbmMcbm2018UnpackerAlgoPsd::fbMonitorMode
private

Control flags.

Definition at line 69 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by SetMonitorMode().

◆ fDigiVect

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

Vector of pointers to canvases + optional folder name.

For unpacker algos

Definition at line 140 of file CbmStar2019Algo.h.

◆ fdMsSizeInNs

Double_t CbmStar2019Algo< CbmPsdDigi >::fdMsSizeInNs
protectedinherited

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

Definition at line 117 of file CbmStar2019Algo.h.

◆ fdMsTime

Double_t CbmMcbm2018UnpackerAlgoPsd::fdMsTime
private

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

Definition at line 111 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fdStartTime

Double_t CbmMcbm2018UnpackerAlgoPsd::fdStartTime
private

Epoch + Epoch Cycle.

Starting state book-keeping

Definition at line 133 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fdStartTimeMsSz

Double_t CbmMcbm2018UnpackerAlgoPsd::fdStartTimeMsSz
private

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

Definition at line 135 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fdTimeOffsetNs

Double_t CbmMcbm2018UnpackerAlgoPsd::fdTimeOffsetNs
private

User settings: Data correction parameters.

Definition at line 93 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs(), and SetTimeOffsetNs().

◆ fdTsCoreSizeInNs

Double_t CbmStar2019Algo< CbmPsdDigi >::fdTsCoreSizeInNs
protectedinherited

Size of a single MS, [nanoseconds].

Definition at line 119 of file CbmStar2019Algo.h.

◆ fdTsFullSizeInNs

Double_t CbmStar2019Algo< CbmPsdDigi >::fdTsFullSizeInNs
protectedinherited

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

Definition at line 121 of file CbmStar2019Algo.h.

◆ fdTsStartTime

Double_t CbmMcbm2018UnpackerAlgoPsd::fdTsStartTime
private

SysId of the current MS in TS (0 to fuTotalMsNb)

Definition at line 107 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessTs().

◆ fdTsStopTimeCore

Double_t CbmMcbm2018UnpackerAlgoPsd::fdTsStopTimeCore
private

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

Definition at line 109 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessTs().

◆ fErrVect

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

Definition at line 141 of file CbmStar2019Algo.h.

◆ fGdpbIdIndexMap

std::map<UInt_t, UInt_t> CbmMcbm2018UnpackerAlgoPsd::fGdpbIdIndexMap
private

Total number of GDPBs in the system.

Definition at line 78 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters(), and ProcessMs().

◆ fiBinSizeDatePlots

Int_t CbmMcbm2018UnpackerAlgoPsd::fiBinSizeDatePlots
private

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

Definition at line 123 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fiRunStartDateTimeSec

Int_t CbmMcbm2018UnpackerAlgoPsd::fiRunStartDateTimeSec
private

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

Definition at line 122 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fParameterMap

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

For any algo.

Definition at line 145 of file CbmStar2019Algo.h.

◆ fParCList

TList* CbmStar2019Algo< CbmPsdDigi >::fParCList
protectedinherited

Parameter management.

Definition at line 108 of file CbmStar2019Algo.h.

◆ ftStartTimeUnix

std::chrono::steady_clock::time_point CbmMcbm2018UnpackerAlgoPsd::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 137 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fuCurrDpbId

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuCurrDpbId
private

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

Definition at line 118 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fuCurrDpbIdx

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuCurrDpbIdx
private

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

Definition at line 120 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fuCurrentEquipmentId

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuCurrentEquipmentId
private

Index of current MS within the TS.

Current data properties

Definition at line 116 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fuCurrentMsSysId

size_t CbmMcbm2018UnpackerAlgoPsd::fuCurrentMsSysId
private

Idx of the current MS in TS (0 to fuTotalMsNb)

Definition at line 105 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fuDiamondDpbIdx

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuDiamondDpbIdx
private

Definition at line 94 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by SetDiamondDpbIdx().

◆ fulCurrentMsIdx

ULong64_t CbmMcbm2018UnpackerAlgoPsd::fulCurrentMsIdx
private

Idx of the current TS.

Definition at line 104 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fulCurrentTsIdx

ULong64_t CbmMcbm2018UnpackerAlgoPsd::fulCurrentTsIdx
private

Running indices TS/MS info

Definition at line 103 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs(), and ProcessTs().

◆ fuMsIndex

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuMsIndex
private

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

Definition at line 112 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessTs().

◆ fuNbCoreMsPerTs

size_t CbmStar2019Algo< CbmPsdDigi >::fuNbCoreMsPerTs
protectedinherited

Definition at line 112 of file CbmStar2019Algo.h.

◆ fuNbMsLoop

size_t CbmStar2019Algo< CbmPsdDigi >::fuNbMsLoop
protectedinherited

Definition at line 114 of file CbmStar2019Algo.h.

◆ fuNbOverMsPerTs

size_t CbmStar2019Algo< CbmPsdDigi >::fuNbOverMsPerTs
protectedinherited

Definition at line 113 of file CbmStar2019Algo.h.

◆ fUnpackPar

CbmMcbm2018PsdPar* CbmMcbm2018UnpackerAlgoPsd::fUnpackPar
private

Settings from parameter file.

Definition at line 75 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by GetParList(), InitParameters(), and ReInitContainers().

◆ fuNrOfChannelsPerFee

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfChannelsPerFee
private

Number of FEBs per GDPB.

Definition at line 80 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fuNrOfChannelsPerGdpb

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfChannelsPerGdpb
private

Number of channels in each FEE.

Definition at line 81 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fuNrOfFeePerGdpb

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfFeePerGdpb
private

gDPB ID to index map

Definition at line 79 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fuNrOfGbtx

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfGbtx
private

Number of channels per GDPB.

Detector Mapping

Definition at line 84 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fuNrOfGdpbs

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfGdpbs
private

Readout chain dimensions and mapping

Definition at line 77 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fuNrOfModules

UInt_t CbmMcbm2018UnpackerAlgoPsd::fuNrOfModules
private

Definition at line 85 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fvbMaskedComponents

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

Switch ON the filling of a additional set of histograms.

Definition at line 72 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ fviModuleId

std::vector<Int_t> CbmMcbm2018UnpackerAlgoPsd::fviModuleId
private

Definition at line 89 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fviNrOfRpc

std::vector<Int_t> CbmMcbm2018UnpackerAlgoPsd::fviNrOfRpc
private

Definition at line 86 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fviPsdChUId

std::vector<Int_t> CbmMcbm2018UnpackerAlgoPsd::fviPsdChUId
private

Definition at line 90 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters(), and ProcessMs().

◆ fviRpcSide

std::vector<Int_t> CbmMcbm2018UnpackerAlgoPsd::fviRpcSide
private

Definition at line 88 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fviRpcType

std::vector<Int_t> CbmMcbm2018UnpackerAlgoPsd::fviRpcType
private

Definition at line 87 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ fvMsComponentsList

std::vector<size_t> CbmStar2019Algo< CbmPsdDigi >::fvMsComponentsList
protectedinherited

Parameters related to FLES containers.

Definition at line 111 of file CbmStar2019Algo.h.

◆ fvpAllCanvasPointers

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

Vector of pointers to histograms + optional folder name.

Definition at line 137 of file CbmStar2019Algo.h.

◆ fvpAllHistoPointers

std::vector<std::pair<TNamed*, std::string> > CbmStar2019Algo< CbmPsdDigi >::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 135 of file CbmStar2019Algo.h.

◆ fvulCurrentEpoch

std::vector<ULong64_t> CbmMcbm2018UnpackerAlgoPsd::fvulCurrentEpoch
private

Bin size in s for the plots with date as X axis.

Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]

Definition at line 126 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fvulCurrentEpochCycle

std::vector<ULong64_t> CbmMcbm2018UnpackerAlgoPsd::fvulCurrentEpochCycle
private

Current epoch index, per DPB.

Definition at line 128 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ fvulCurrentEpochFull

std::vector<ULong64_t> CbmMcbm2018UnpackerAlgoPsd::fvulCurrentEpochFull
private

Epoch cycle from the Ms Start message and Epoch counter flip.

Definition at line 129 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by InitParameters().

◆ kiMaxNbFlibLinks

const Int_t CbmMcbm2018UnpackerAlgoPsd::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 97 of file CbmMcbm2018UnpackerAlgoPsd.h.

◆ kuBytesPerMessage

const UInt_t CbmMcbm2018UnpackerAlgoPsd::kuBytesPerMessage = 8
staticprivate

Definition at line 98 of file CbmMcbm2018UnpackerAlgoPsd.h.

Referenced by ProcessMs().

◆ kuDetMask

const UInt_t CbmMcbm2018UnpackerAlgoPsd::kuDetMask = 0x0001FFFF
staticprivate

Definition at line 99 of file CbmMcbm2018UnpackerAlgoPsd.h.


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