CbmRoot
CbmMcbm2018MonitorMcbmSync Class Reference

#include <CbmMcbm2018MonitorMcbmSync.h>

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

Public Member Functions

 CbmMcbm2018MonitorMcbmSync ()
 
virtual ~CbmMcbm2018MonitorMcbmSync ()
 
virtual Bool_t Init ()
 
virtual Bool_t DoUnpack (const fles::Timeslice &ts, size_t component)
 
virtual void Reset ()
 
virtual void Finish ()
 
void SetParContainers ()
 
Bool_t InitContainers ()
 
Bool_t ReInitContainers ()
 
virtual void AddMsComponentToList (size_t component, UShort_t usDetectorId)
 
void AddMsComponentToListSts (size_t component)
 
void AddMsComponentToListTof (size_t component)
 
virtual void SetNbMsInTs (size_t uCoreMsNb, size_t uOverlapMsNb)
 
void SetMsOverlap (size_t uOverlapMsNb=1)
 
size_t GetMsOverlap ()
 
void SetIgnoreMsOverlap (Bool_t bIgnoreOver=kTRUE)
 
void ResetAllHistos ()
 
void SaveAllHistos (TString sFileName="")
 
void SavePulserHistos (TString sFileName="")
 
void SetHistoFileName (TString sFileName="data/SetupHistos.root")
 
void SetDiamondDpbIdx (UInt_t uIdx=2)
 
void SetMuchDpbIdx (UInt_t uIdx=1)
 
void SetStsTofOffsetNs (Double_t dOffsetIn=0.0)
 
void SetMuchTofOffsetNs (Double_t dOffsetIn=0.0)
 
void SetUseBestPair (Bool_t bInFLag=kTRUE)
 
void SetTsLevelAna (Bool_t bInFLag=kTRUE)
 
void SetSpillLimits (Double_t dSpillA, Double_t dSpillB, Double_t dSpillC)
 
void UseDaqBuffer (Bool_t)
 

Private Member Functions

void CreateStsHistograms ()
 All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator. More...
 
Bool_t ProcessStsMs (const fles::Timeslice &ts, size_t uMsComp, UInt_t uMsIdx)
 
void FillStsHitInfo (stsxyter::Message mess, const UInt_t &uMsIdx)
 
void FillStsTsMsbInfo (stsxyter::Message mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0)
 
void FillStsEpochInfo (stsxyter::Message mess)
 
void CreateTofHistograms ()
 Processing methods. More...
 
Bool_t ProcessTofMs (const fles::Timeslice &ts, size_t uMsComp, UInt_t uMsIdx)
 
void FillTofEpochCycle (uint64_t ulCycleData)
 
void FillTofHitInfo (gdpbv100::Message)
 
void FillTofEpochInfo (gdpbv100::Message)
 
void CreateMcbmHistograms ()
 
 CbmMcbm2018MonitorMcbmSync (const CbmMcbm2018MonitorMcbmSync &)
 
CbmMcbm2018MonitorMcbmSync operator= (const CbmMcbm2018MonitorMcbmSync &)
 

Private Attributes

std::vector< size_t > fvMsComponentsListSts
 
std::vector< size_t > fvMsComponentsListTof
 
size_t fuNbCoreMsPerTs
 
size_t fuNbOverMsPerTs
 
Bool_t fbIgnoreOverlapMs
 
CbmMcbm2018StsParfUnpackParSts
 
UInt_t fuStsNrOfDpbs
 
std::map< UInt_t, UInt_t > fmStsDpbIdIndexMap
 Total number of Sts DPBs in system. More...
 
UInt_t fuMuchDpbIdx
 Map of DPB Identifier to DPB index. More...
 
CbmMcbm2018TofParfUnpackParTof
 Unpacking and mapping parameters for TOF. More...
 
UInt_t fuTofNrOfDpbs
 
std::map< UInt_t, UInt_t > fmTofDpbIdIndexMap
 Total number of GDPBs in the system. More...
 
UInt_t fuDiamondDpbIdx
 
UInt_t fuTotalNrOfDpb
 Global parameters. More...
 
Double_t fdStsTofOffsetNs
 
Double_t fdMuchTofOffsetNs
 
Bool_t fbUseBestPair
 
Bool_t fbTsLevelAna
 
TString fsHistoFileFullname
 
Bool_t fbPrintMessages
 
stsxyter::MessagePrintMask fPrintMessCtrlSts
 
ULong64_t fulCurrentTsIdx
 
ULong64_t fulCurrentMsIdx
 
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...
 
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 > fvulStsCurrentTsMsb
 Bin size in s for the plots with date as X axis. More...
 
std::vector< UInt_t > fvuStsCurrentTsMsbCycle
 Current TS MSB for each DPB. More...
 
std::vector< std::vector< stsxyter::FinalHit > > fvmStsSdpbHitsInMs
 Current TS MSB cycle for DPB. More...
 
std::vector< std::vector< stsxyter::FinalHit > > fvmStsSdpbHitsInTs
 All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator. More...
 
uint64_t fulTofCurrentTsIndex
 Running indices. More...
 
size_t fuTofCurrentMs
 
Double_t fdTofMsIndex
 
UInt_t fuTofGdpbId
 
UInt_t fuTofGdpbNr
 
Int_t fiTofEquipmentId
 
std::vector< int > fviTofMsgCounter
 
std::vector< ULong64_t > fvulTofCurrentEpoch
 
std::vector< ULong64_t > fvulTofCurrentEpochCycle
 
std::vector< ULong64_t > fvulTofCurrentEpochFull
 
ULong64_t fulTofCurrentEpochTime
 
std::vector< std::vector< gdpbv100::Message > > fvmTofEpSupprBuffer
 Buffer for suppressed epoch processing. More...
 
std::vector< std::vector< gdpbv100::FullMessage > > fvmTofGdpbHitsInMs
 Buffer for system sync check. More...
 
std::vector< std::vector< gdpbv100::FullMessage > > fvmTofGdpbHitsInTs
 
TH2 * fhMcbmHitsNbPerMs
 
TH2 * fhMcbmTimeDiffToDiamond
 
TH2 * fhMcbmTimeDiffToDiamondWide
 
TH2 * fhMcbmTimeDiffToDiamondTs
 
TH2 * fhMcbmTimeDiffToMuch
 
TH2 * fhMcbmTimeDiffToMuchWide
 
TH2 * fhMcbmTimeDiffToMuchTs
 
TH2 * fhMcbmStsTimeDiffToMuchVsAdc
 
TH2 * fhMcbmStsTimeDiffToMuchWideVsAdc
 
TH2 * fhMcbmStsTimeDiffToMuchTsVsAdc
 
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondEvoDpb
 
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondWideEvoDpb
 
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondTsEvoDpb
 
Double_t fdSpillStartA
 
Double_t fdSpillStartB
 
Double_t fdSpillStartC
 
std::vector< TH1 * > fvhHitsTimeEvoSpillA
 
std::vector< TH1 * > fvhHitsTimeEvoSpillB
 
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondEvoSpillA
 
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondEvoSpillB
 
std::vector< TH2 * > fvhMcbmTimeDiffToMuchEvoSpillA
 
std::vector< TH2 * > fvhMcbmTimeDiffToMuchEvoSpillB
 

Static Private Attributes

static const UInt_t kuStsBytesPerMessage
 
static const UInt_t kuTofBytesPerMessage = 8
 TODO => move to the message class!! More...
 

Detailed Description

Definition at line 34 of file CbmMcbm2018MonitorMcbmSync.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MonitorMcbmSync() [1/2]

CbmMcbm2018MonitorMcbmSync::CbmMcbm2018MonitorMcbmSync ( )

Definition at line 53 of file CbmMcbm2018MonitorMcbmSync.cxx.

◆ ~CbmMcbm2018MonitorMcbmSync()

CbmMcbm2018MonitorMcbmSync::~CbmMcbm2018MonitorMcbmSync ( )
virtual

Definition at line 125 of file CbmMcbm2018MonitorMcbmSync.cxx.

◆ CbmMcbm2018MonitorMcbmSync() [2/2]

CbmMcbm2018MonitorMcbmSync::CbmMcbm2018MonitorMcbmSync ( const CbmMcbm2018MonitorMcbmSync )
private

Member Function Documentation

◆ AddMsComponentToList()

void CbmMcbm2018MonitorMcbmSync::AddMsComponentToList ( size_t  component,
UShort_t  usDetectorId 
)
virtual

◆ AddMsComponentToListSts()

void CbmMcbm2018MonitorMcbmSync::AddMsComponentToListSts ( size_t  component)

Check for duplicates and ignore if it is the case

Add to list

Definition at line 224 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fvMsComponentsListSts.

Referenced by AddMsComponentToList().

◆ AddMsComponentToListTof()

void CbmMcbm2018MonitorMcbmSync::AddMsComponentToListTof ( size_t  component)

Check for duplicates and ignore if it is the case

Add to list

Definition at line 232 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fvMsComponentsListTof.

Referenced by AddMsComponentToList().

◆ CreateMcbmHistograms()

◆ CreateStsHistograms()

void CbmMcbm2018MonitorMcbmSync::CreateStsHistograms ( )
private

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

Processing methods

Create summary Canvases for CERN 2017

Definition at line 249 of file CbmMcbm2018MonitorMcbmSync.cxx.

Referenced by InitContainers().

◆ CreateTofHistograms()

void CbmMcbm2018MonitorMcbmSync::CreateTofHistograms ( )
private

Processing methods.

Create summary Canvases for STAR 2018

Definition at line 313 of file CbmMcbm2018MonitorMcbmSync.cxx.

Referenced by InitContainers().

◆ DoUnpack()

Bool_t CbmMcbm2018MonitorMcbmSync::DoUnpack ( const fles::Timeslice &  ts,
size_t  component 
)
virtual

General commands

Ignore first TS as often data corruption there

If we are looking for only 2 spills, skip the data which are too far before them

Clear buffers

Sort the buffers of hits

Sort the buffers of hits

Build time differences for each DPB hit against each diamond hit

Check if this hits is better than the previous ones

Count increasing dt to detect minimum

Stop after 5 increasing dt (hits are time ordered)

Check if this hits is better than the previous ones

Count increasing dt to detect minimum

Stop after 5 increasing dt (hits are time ordered)

Build time differences for each DPB hit against each Much hit

Check if this hits is better than the previous ones

Count increasing dt to detect minimum

Stop after 5 increasing dt (hits are time ordered)

Check if this hits is better than the previous ones

Count increasing dt to detect minimum

Stop after 5 increasing dt (hits are time ordered)

Clear buffers

If we are looking for only 2 spills, stop after we got them

Build time differences for each DPB hit against each diamond hit

Limit scan to "reasonnable range" of 300 us

Limit scan to "reasonnable range" of 300 us

Build time differences for each DPB hit against each Much hit

Limit scan to "reasonnable range" of 300 us

Limit scan to "reasonnable range" of 300 us

Clear buffers

Implements CbmMcbmUnpack.

Definition at line 671 of file CbmMcbm2018MonitorMcbmSync.cxx.

References bMcbm2018ResetSync, bMcbm2018WriteSync, fbIgnoreOverlapMs, fbTsLevelAna, fbUseBestPair, fdMuchTofOffsetNs, fdSpillStartA, fdSpillStartC, fdStsTofOffsetNs, fhMcbmHitsNbPerMs, fhMcbmStsTimeDiffToMuchTsVsAdc, fhMcbmStsTimeDiffToMuchVsAdc, fhMcbmStsTimeDiffToMuchWideVsAdc, fhMcbmTimeDiffToDiamond, fhMcbmTimeDiffToDiamondTs, fhMcbmTimeDiffToDiamondWide, fhMcbmTimeDiffToMuch, fhMcbmTimeDiffToMuchTs, fhMcbmTimeDiffToMuchWide, fsHistoFileFullname, fuDiamondDpbIdx, fulCurrentMsIdx, fulCurrentTsIdx, fuMuchDpbIdx, fuNbCoreMsPerTs, fuNbOverMsPerTs, fuStsNrOfDpbs, fuTofNrOfDpbs, fvhHitsTimeEvoSpillA, fvhHitsTimeEvoSpillB, fvhMcbmTimeDiffToDiamondEvoDpb, fvhMcbmTimeDiffToDiamondEvoSpillA, fvhMcbmTimeDiffToDiamondEvoSpillB, fvhMcbmTimeDiffToDiamondTsEvoDpb, fvhMcbmTimeDiffToDiamondWideEvoDpb, fvhMcbmTimeDiffToMuchEvoSpillA, fvhMcbmTimeDiffToMuchEvoSpillB, fvMsComponentsListSts, fvMsComponentsListTof, fvmStsSdpbHitsInMs, fvmStsSdpbHitsInTs, fvmTofGdpbHitsInMs, fvmTofGdpbHitsInTs, stsxyter::kdClockCycleNs, ProcessStsMs(), ProcessTofMs(), ResetAllHistos(), and SaveAllHistos().

◆ FillStsEpochInfo()

void CbmMcbm2018MonitorMcbmSync::FillStsEpochInfo ( stsxyter::Message  mess)
private

Definition at line 1354 of file CbmMcbm2018MonitorMcbmSync.cxx.

Referenced by ProcessStsMs().

◆ FillStsHitInfo()

void CbmMcbm2018MonitorMcbmSync::FillStsHitInfo ( stsxyter::Message  mess,
const UInt_t &  uMsIdx 
)
private

◆ FillStsTsMsbInfo()

void CbmMcbm2018MonitorMcbmSync::FillStsTsMsbInfo ( stsxyter::Message  mess,
UInt_t  uMessIdx = 0,
UInt_t  uMsIdx = 0 
)
private

◆ FillTofEpochCycle()

void CbmMcbm2018MonitorMcbmSync::FillTofEpochCycle ( uint64_t  ulCycleData)
private

◆ FillTofEpochInfo()

void CbmMcbm2018MonitorMcbmSync::FillTofEpochInfo ( gdpbv100::Message  mess)
private

Re-align the epoch number of the message in case it will be used later: We received the epoch after the data instead of the one before!

Data are sorted between epochs, not inside => Epoch level ordering Sorting at lower bin precision level

Definition at line 1476 of file CbmMcbm2018MonitorMcbmSync.cxx.

References FillTofHitInfo(), fulTofCurrentEpochTime, fuTofGdpbNr, fvmTofEpSupprBuffer, fvulTofCurrentEpoch, fvulTofCurrentEpochCycle, fvulTofCurrentEpochFull, gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::Message::getMsgFullTime(), gdpbv100::kuEpochCounterSz, gdpbv100::kulEpochCycleBins, and gdpbv100::Message::setGdpbEpEpochNb().

Referenced by ProcessTofMs().

◆ FillTofHitInfo()

void CbmMcbm2018MonitorMcbmSync::FillTofHitInfo ( gdpbv100::Message  mess)
private

system sync check buffering

Definition at line 1450 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fuTofGdpbNr, fvmTofGdpbHitsInMs, fvulTofCurrentEpochFull, and gdpbv100::kuEpochCounterSz.

Referenced by FillTofEpochInfo().

◆ Finish()

void CbmMcbm2018MonitorMcbmSync::Finish ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 1521 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fsHistoFileFullname, and SaveAllHistos().

◆ GetMsOverlap()

size_t CbmMcbm2018MonitorMcbmSync::GetMsOverlap ( )
inline

Definition at line 59 of file CbmMcbm2018MonitorMcbmSync.h.

References fuNbOverMsPerTs.

◆ Init()

Bool_t CbmMcbm2018MonitorMcbmSync::Init ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 127 of file CbmMcbm2018MonitorMcbmSync.cxx.

◆ InitContainers()

Bool_t CbmMcbm2018MonitorMcbmSync::InitContainers ( )
virtual

◆ operator=()

CbmMcbm2018MonitorMcbmSync CbmMcbm2018MonitorMcbmSync::operator= ( const CbmMcbm2018MonitorMcbmSync )
private

◆ ProcessStsMs()

◆ ProcessTofMs()

◆ ReInitContainers()

◆ Reset()

void CbmMcbm2018MonitorMcbmSync::Reset ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 1519 of file CbmMcbm2018MonitorMcbmSync.cxx.

◆ ResetAllHistos()

◆ SaveAllHistos()

◆ SavePulserHistos()

void CbmMcbm2018MonitorMcbmSync::SavePulserHistos ( TString  sFileName = "")

◆ SetDiamondDpbIdx()

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

Definition at line 71 of file CbmMcbm2018MonitorMcbmSync.h.

References fuDiamondDpbIdx.

◆ SetHistoFileName()

void CbmMcbm2018MonitorMcbmSync::SetHistoFileName ( TString  sFileName = "data/SetupHistos.root")
inline

Definition at line 67 of file CbmMcbm2018MonitorMcbmSync.h.

References fsHistoFileFullname.

◆ SetIgnoreMsOverlap()

void CbmMcbm2018MonitorMcbmSync::SetIgnoreMsOverlap ( Bool_t  bIgnoreOver = kTRUE)
inline

Definition at line 60 of file CbmMcbm2018MonitorMcbmSync.h.

References fbIgnoreOverlapMs.

◆ SetMsOverlap()

void CbmMcbm2018MonitorMcbmSync::SetMsOverlap ( size_t  uOverlapMsNb = 1)
inline

Definition at line 58 of file CbmMcbm2018MonitorMcbmSync.h.

References fuNbOverMsPerTs.

◆ SetMuchDpbIdx()

void CbmMcbm2018MonitorMcbmSync::SetMuchDpbIdx ( UInt_t  uIdx = 1)
inline

Definition at line 72 of file CbmMcbm2018MonitorMcbmSync.h.

References fuMuchDpbIdx.

◆ SetMuchTofOffsetNs()

void CbmMcbm2018MonitorMcbmSync::SetMuchTofOffsetNs ( Double_t  dOffsetIn = 0.0)
inline

Definition at line 76 of file CbmMcbm2018MonitorMcbmSync.h.

References fdMuchTofOffsetNs.

◆ SetNbMsInTs()

void CbmMcbm2018MonitorMcbmSync::SetNbMsInTs ( size_t  uCoreMsNb,
size_t  uOverlapMsNb 
)
virtual

Implements CbmMcbmUnpack.

Definition at line 240 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fuNbCoreMsPerTs, and fuNbOverMsPerTs.

◆ SetParContainers()

void CbmMcbm2018MonitorMcbmSync::SetParContainers ( )
virtual

Implements CbmMcbmUnpack.

Definition at line 136 of file CbmMcbm2018MonitorMcbmSync.cxx.

References fUnpackParSts, and fUnpackParTof.

◆ SetSpillLimits()

void CbmMcbm2018MonitorMcbmSync::SetSpillLimits ( Double_t  dSpillA,
Double_t  dSpillB,
Double_t  dSpillC 
)
inline

Definition at line 84 of file CbmMcbm2018MonitorMcbmSync.h.

References fdSpillStartA, fdSpillStartB, and fdSpillStartC.

◆ SetStsTofOffsetNs()

void CbmMcbm2018MonitorMcbmSync::SetStsTofOffsetNs ( Double_t  dOffsetIn = 0.0)
inline

Definition at line 73 of file CbmMcbm2018MonitorMcbmSync.h.

References fdStsTofOffsetNs.

◆ SetTsLevelAna()

void CbmMcbm2018MonitorMcbmSync::SetTsLevelAna ( Bool_t  bInFLag = kTRUE)
inline

Definition at line 82 of file CbmMcbm2018MonitorMcbmSync.h.

References fbTsLevelAna.

◆ SetUseBestPair()

void CbmMcbm2018MonitorMcbmSync::SetUseBestPair ( Bool_t  bInFLag = kTRUE)
inline

Definition at line 79 of file CbmMcbm2018MonitorMcbmSync.h.

References fbUseBestPair.

◆ UseDaqBuffer()

void CbmMcbm2018MonitorMcbmSync::UseDaqBuffer ( Bool_t  )
inline

Definition at line 90 of file CbmMcbm2018MonitorMcbmSync.h.

Member Data Documentation

◆ fbIgnoreOverlapMs

Bool_t CbmMcbm2018MonitorMcbmSync::fbIgnoreOverlapMs
private

Definition at line 100 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetIgnoreMsOverlap().

◆ fbPrintMessages

Bool_t CbmMcbm2018MonitorMcbmSync::fbPrintMessages
private

Definition at line 128 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs().

◆ fbTsLevelAna

Bool_t CbmMcbm2018MonitorMcbmSync::fbTsLevelAna
private

Definition at line 117 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetTsLevelAna().

◆ fbUseBestPair

Bool_t CbmMcbm2018MonitorMcbmSync::fbUseBestPair
private

Definition at line 116 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetUseBestPair().

◆ fdMuchTofOffsetNs

Double_t CbmMcbm2018MonitorMcbmSync::fdMuchTofOffsetNs
private

Definition at line 115 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetMuchTofOffsetNs().

◆ fdSpillStartA

Double_t CbmMcbm2018MonitorMcbmSync::fdSpillStartA
private

◆ fdSpillStartB

Double_t CbmMcbm2018MonitorMcbmSync::fdSpillStartB
private

Definition at line 229 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by CreateMcbmHistograms(), and SetSpillLimits().

◆ fdSpillStartC

Double_t CbmMcbm2018MonitorMcbmSync::fdSpillStartC
private

◆ fdStsTofOffsetNs

Double_t CbmMcbm2018MonitorMcbmSync::fdStsTofOffsetNs
private

Definition at line 114 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetStsTofOffsetNs().

◆ fdTofMsIndex

Double_t CbmMcbm2018MonitorMcbmSync::fdTofMsIndex
private

Definition at line 173 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessTofMs().

◆ fhMcbmHitsNbPerMs

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmHitsNbPerMs
private

◆ fhMcbmStsTimeDiffToMuchTsVsAdc

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmStsTimeDiffToMuchTsVsAdc
private

◆ fhMcbmStsTimeDiffToMuchVsAdc

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmStsTimeDiffToMuchVsAdc
private

◆ fhMcbmStsTimeDiffToMuchWideVsAdc

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmStsTimeDiffToMuchWideVsAdc
private

◆ fhMcbmTimeDiffToDiamond

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToDiamond
private

◆ fhMcbmTimeDiffToDiamondTs

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToDiamondTs
private

◆ fhMcbmTimeDiffToDiamondWide

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToDiamondWide
private

◆ fhMcbmTimeDiffToMuch

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToMuch
private

◆ fhMcbmTimeDiffToMuchTs

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToMuchTs
private

◆ fhMcbmTimeDiffToMuchWide

TH2* CbmMcbm2018MonitorMcbmSync::fhMcbmTimeDiffToMuchWide
private

◆ fiBinSizeDatePlots

Int_t CbmMcbm2018MonitorMcbmSync::fiBinSizeDatePlots
private

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

Definition at line 143 of file CbmMcbm2018MonitorMcbmSync.h.

◆ fiRunStartDateTimeSec

Int_t CbmMcbm2018MonitorMcbmSync::fiRunStartDateTimeSec
private

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

Definition at line 142 of file CbmMcbm2018MonitorMcbmSync.h.

◆ fiTofEquipmentId

Int_t CbmMcbm2018MonitorMcbmSync::fiTofEquipmentId
private

Definition at line 177 of file CbmMcbm2018MonitorMcbmSync.h.

◆ fmMsgCounter

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

Definition at line 134 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs().

◆ fmStsDpbIdIndexMap

std::map<UInt_t, UInt_t> CbmMcbm2018MonitorMcbmSync::fmStsDpbIdIndexMap
private

Total number of Sts DPBs in system.

Definition at line 105 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs(), and ReInitContainers().

◆ fmTofDpbIdIndexMap

std::map<UInt_t, UInt_t> CbmMcbm2018MonitorMcbmSync::fmTofDpbIdIndexMap
private

Total number of GDPBs in the system.

Definition at line 110 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessTofMs(), and ReInitContainers().

◆ fPrintMessCtrlSts

stsxyter::MessagePrintMask CbmMcbm2018MonitorMcbmSync::fPrintMessCtrlSts
private

Definition at line 129 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs().

◆ fsHistoFileFullname

TString CbmMcbm2018MonitorMcbmSync::fsHistoFileFullname
private

Definition at line 126 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), Finish(), and SetHistoFileName().

◆ fuCurrDpbId

UInt_t CbmMcbm2018MonitorMcbmSync::fuCurrDpbId
private

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

Definition at line 138 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs().

◆ fuCurrDpbIdx

UInt_t CbmMcbm2018MonitorMcbmSync::fuCurrDpbIdx
private

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

Definition at line 140 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillStsHitInfo(), FillStsTsMsbInfo(), and ProcessStsMs().

◆ fuCurrentEquipmentId

UInt_t CbmMcbm2018MonitorMcbmSync::fuCurrentEquipmentId
private

Definition at line 136 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs(), and ProcessTofMs().

◆ fuDiamondDpbIdx

UInt_t CbmMcbm2018MonitorMcbmSync::fuDiamondDpbIdx
private

Definition at line 111 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetDiamondDpbIdx().

◆ fulCurrentMsIdx

ULong64_t CbmMcbm2018MonitorMcbmSync::fulCurrentMsIdx
private

Definition at line 132 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), FillStsTsMsbInfo(), and ProcessStsMs().

◆ fulCurrentTsIdx

ULong64_t CbmMcbm2018MonitorMcbmSync::fulCurrentTsIdx
private

Definition at line 131 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), FillStsTsMsbInfo(), and ProcessStsMs().

◆ fulTofCurrentEpochTime

ULong64_t CbmMcbm2018MonitorMcbmSync::fulTofCurrentEpochTime
private

Definition at line 190 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillTofEpochInfo().

◆ fulTofCurrentTsIndex

uint64_t CbmMcbm2018MonitorMcbmSync::fulTofCurrentTsIndex
private

Running indices.

Definition at line 171 of file CbmMcbm2018MonitorMcbmSync.h.

◆ fuMuchDpbIdx

UInt_t CbmMcbm2018MonitorMcbmSync::fuMuchDpbIdx
private

Map of DPB Identifier to DPB index.

Definition at line 106 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), FillStsHitInfo(), and SetMuchDpbIdx().

◆ fuNbCoreMsPerTs

size_t CbmMcbm2018MonitorMcbmSync::fuNbCoreMsPerTs
private

Definition at line 97 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and SetNbMsInTs().

◆ fuNbOverMsPerTs

size_t CbmMcbm2018MonitorMcbmSync::fuNbOverMsPerTs
private

Definition at line 98 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), GetMsOverlap(), SetMsOverlap(), and SetNbMsInTs().

◆ fUnpackParSts

CbmMcbm2018StsPar* CbmMcbm2018MonitorMcbmSync::fUnpackParSts
private

/‍** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **‍/ Unpacking and mapping parameters for STS

Definition at line 102 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillStsHitInfo(), ReInitContainers(), and SetParContainers().

◆ fUnpackParTof

CbmMcbm2018TofPar* CbmMcbm2018MonitorMcbmSync::fUnpackParTof
private

Unpacking and mapping parameters for TOF.

Definition at line 108 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ReInitContainers(), and SetParContainers().

◆ fuStsNrOfDpbs

UInt_t CbmMcbm2018MonitorMcbmSync::fuStsNrOfDpbs
private

Definition at line 103 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by CreateMcbmHistograms(), DoUnpack(), and ReInitContainers().

◆ fuTofCurrentMs

size_t CbmMcbm2018MonitorMcbmSync::fuTofCurrentMs
private

Definition at line 172 of file CbmMcbm2018MonitorMcbmSync.h.

◆ fuTofGdpbId

UInt_t CbmMcbm2018MonitorMcbmSync::fuTofGdpbId
private

Definition at line 174 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessTofMs().

◆ fuTofGdpbNr

UInt_t CbmMcbm2018MonitorMcbmSync::fuTofGdpbNr
private

◆ fuTofNrOfDpbs

UInt_t CbmMcbm2018MonitorMcbmSync::fuTofNrOfDpbs
private

Definition at line 109 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by CreateMcbmHistograms(), DoUnpack(), and ReInitContainers().

◆ fuTotalNrOfDpb

UInt_t CbmMcbm2018MonitorMcbmSync::fuTotalNrOfDpb
private

Global parameters.

Definition at line 113 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by CreateMcbmHistograms(), ResetAllHistos(), and SaveAllHistos().

◆ fvhHitsTimeEvoSpillA

std::vector<TH1*> CbmMcbm2018MonitorMcbmSync::fvhHitsTimeEvoSpillA
private

◆ fvhHitsTimeEvoSpillB

std::vector<TH1*> CbmMcbm2018MonitorMcbmSync::fvhHitsTimeEvoSpillB
private

◆ fvhMcbmTimeDiffToDiamondEvoDpb

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToDiamondEvoDpb
private

◆ fvhMcbmTimeDiffToDiamondEvoSpillA

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToDiamondEvoSpillA
private

◆ fvhMcbmTimeDiffToDiamondEvoSpillB

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToDiamondEvoSpillB
private

◆ fvhMcbmTimeDiffToDiamondTsEvoDpb

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToDiamondTsEvoDpb
private

◆ fvhMcbmTimeDiffToDiamondWideEvoDpb

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToDiamondWideEvoDpb
private

◆ fvhMcbmTimeDiffToMuchEvoSpillA

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToMuchEvoSpillA
private

◆ fvhMcbmTimeDiffToMuchEvoSpillB

std::vector<TH2*> CbmMcbm2018MonitorMcbmSync::fvhMcbmTimeDiffToMuchEvoSpillB
private

◆ fviTofMsgCounter

std::vector<int> CbmMcbm2018MonitorMcbmSync::fviTofMsgCounter
private

Definition at line 178 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessTofMs().

◆ fvMsComponentsListSts

std::vector<size_t> CbmMcbm2018MonitorMcbmSync::fvMsComponentsListSts
private

Parameters FLES containers

Definition at line 95 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by AddMsComponentToListSts(), and DoUnpack().

◆ fvMsComponentsListTof

std::vector<size_t> CbmMcbm2018MonitorMcbmSync::fvMsComponentsListTof
private

Definition at line 96 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by AddMsComponentToListTof(), and DoUnpack().

◆ fvmStsSdpbHitsInMs

std::vector<std::vector<stsxyter::FinalHit> > CbmMcbm2018MonitorMcbmSync::fvmStsSdpbHitsInMs
private

Current TS MSB cycle for DPB.

Definition at line 152 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), FillStsHitInfo(), and ReInitContainers().

◆ fvmStsSdpbHitsInTs

std::vector<std::vector<stsxyter::FinalHit> > CbmMcbm2018MonitorMcbmSync::fvmStsSdpbHitsInTs
private

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

Definition at line 154 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and ReInitContainers().

◆ fvmTofEpSupprBuffer

std::vector<std::vector<gdpbv100::Message> > CbmMcbm2018MonitorMcbmSync::fvmTofEpSupprBuffer
private

Buffer for suppressed epoch processing.

Time stamp of current epoch

Definition at line 193 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillTofEpochInfo(), ProcessTofMs(), and ReInitContainers().

◆ fvmTofGdpbHitsInMs

std::vector<std::vector<gdpbv100::FullMessage> > CbmMcbm2018MonitorMcbmSync::fvmTofGdpbHitsInMs
private

Buffer for system sync check.

Definition at line 196 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), FillTofHitInfo(), and ReInitContainers().

◆ fvmTofGdpbHitsInTs

std::vector<std::vector<gdpbv100::FullMessage> > CbmMcbm2018MonitorMcbmSync::fvmTofGdpbHitsInTs
private

Definition at line 197 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by DoUnpack(), and ReInitContainers().

◆ fvulStsCurrentTsMsb

std::vector<ULong64_t> CbmMcbm2018MonitorMcbmSync::fvulStsCurrentTsMsb
private

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

Definition at line 147 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillStsHitInfo(), FillStsTsMsbInfo(), ProcessStsMs(), and ReInitContainers().

◆ fvulTofCurrentEpoch

std::vector<ULong64_t> CbmMcbm2018MonitorMcbmSync::fvulTofCurrentEpoch
private

Current epoch marker for each GDPB and GET4 (first epoch in the stream initializes the map item) pointer points to an array of size fuNrOfGdpbs * fuNrOfGet4PerGdpb The correct array index is calculated using the function GetArrayIndex(gdpbId, get4Id)

Definition at line 186 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillTofEpochInfo(), and ReInitContainers().

◆ fvulTofCurrentEpochCycle

std::vector<ULong64_t> CbmMcbm2018MonitorMcbmSync::fvulTofCurrentEpochCycle
private

◆ fvulTofCurrentEpochFull

std::vector<ULong64_t> CbmMcbm2018MonitorMcbmSync::fvulTofCurrentEpochFull
private

◆ fvuStsCurrentTsMsbCycle

std::vector<UInt_t> CbmMcbm2018MonitorMcbmSync::fvuStsCurrentTsMsbCycle
private

Current TS MSB for each DPB.

Definition at line 148 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by FillStsHitInfo(), FillStsTsMsbInfo(), ProcessStsMs(), and ReInitContainers().

◆ kuStsBytesPerMessage

const UInt_t CbmMcbm2018MonitorMcbmSync::kuStsBytesPerMessage
staticprivate
Initial value:
=
4

Definition at line 120 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessStsMs().

◆ kuTofBytesPerMessage

const UInt_t CbmMcbm2018MonitorMcbmSync::kuTofBytesPerMessage = 8
staticprivate

TODO => move to the message class!!

Definition at line 122 of file CbmMcbm2018MonitorMcbmSync.h.

Referenced by ProcessTofMs().


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