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

#include <CbmCosy2019MonitorAlgoHodo.h>

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

Public Member Functions

 CbmCosy2019MonitorAlgoHodo ()
 
 ~CbmCosy2019MonitorAlgoHodo ()
 
virtual Bool_t Init ()
 
virtual void Reset ()
 
virtual void Finish ()
 
Bool_t InitContainers ()
 
Bool_t ReInitContainers ()
 
TList * GetParList ()
 
Bool_t InitParameters ()
 
Bool_t ProcessTs (const fles::Timeslice &ts)
 
Bool_t ProcessTs (const fles::Timeslice &ts, size_t)
 
Bool_t ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
 
void AddMsComponentToList (size_t component, UShort_t usDetectorId)
 
Bool_t CreateHistograms ()
 
Bool_t FillHistograms ()
 
Bool_t ResetHistograms ()
 
void SetMonitorMode (Bool_t bFlagIn=kTRUE)
 
void SetTimeOffsetNs (Double_t dOffsetIn=0.0)
 
void SetDpbId (UInt_t uDpbId=0x5b75)
 
void SetHodoElinkIdx (UInt_t uElinkHodoA=5, UInt_t uElinkHodoB=10)
 
void SetHodoSwapXY (Bool_t bSwapHodoA=kFALSE, Bool_t bSwapHodoB=kTRUE)
 Default set for mMUCH FMC slots 8 and 9.
 
void SetHodoInvertX (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE)
 Default set closest cosmic setup stack.
 
void SetHodoInvertY (Bool_t bInvHodoA=kFALSE, Bool_t bInvHodoB=kTRUE)
 Default set closest cosmic setup stack.
 
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 (stsxyter::Message mess, const UInt_t &uHodoIdx, const UInt_t &uMsIdx)
 
void ProcessTsMsbInfo (stsxyter::Message mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0)
 
void ProcessEpochInfo (stsxyter::Message mess)
 
void ProcessStatusInfo (stsxyter::Message mess)
 
 CbmCosy2019MonitorAlgoHodo (const CbmCosy2019MonitorAlgoHodo &)
 
CbmCosy2019MonitorAlgoHodo operator= (const CbmCosy2019MonitorAlgoHodo &)
 

Private Attributes

Bool_t fbMonitorMode
 Default set closest cosmic setup stack.
 
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.
 
UInt_t fuDpbId
 Settings from parameter file => For now use only accessors!
 
std::vector< UInt_t > fvuElinkIdxHodo
 
std::vector< Bool_t > fvbHodoSwapXY
 
std::vector< Bool_t > fvbHodoInvertX
 
std::vector< Bool_t > fvbHodoInvertY
 
std::vector< UInt_t > fvuAdcGainHodo
 
std::vector< UInt_t > fvuAdcOffsHodo
 
Double_t fdTimeOffsetNs
 User settings: Data correction parameters.
 
const UInt_t kuChannelToFiberMap [kuNbChanPerAsic]
 
const UInt_t kuChannelToPixelMap [kuNbChanPerAsic]
 Map from channel index to Hodoscope Fiber.
 
const UInt_t kuChannelToPlaneMap [kuNbChanPerAsic]
 Map from channel index to PMT pixel.
 
ULong64_t fulCurrentTsIdx
 Map from channel index to Hodoscope Axis (X or Y)
 
ULong64_t fulCurrentMsIdx
 
Double_t fdTsStartTime
 
Double_t fdTsStopTimeCore
 Time in ns of current TS from the index of the first MS first component.
 
std::vector< Double_t > fvdPrevMsTime
 End Time in ns of current TS Core from the index of the first MS first component.
 
Double_t fdMsTime
 Header time of previous MS per link.
 
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.
 
Int_t fiRunStartDateTimeSec
 Temp holder until Current equipment ID is properly filled in MS.
 
Int_t fiBinSizeDatePlots
 Start of run time since "epoch" in s, for the plots with date as X axis.
 
ULong64_t fvulCurrentTsMsb
 
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.
 
TH1 * fhHodoMessType
 All hits (time in bins, ADC in bins, asic, channel) in last MS, sorted with "<" operator.
 
TH2 * fhHodoStatusMessType
 
TH2 * fhHodoMsStatusFieldType
 
TH2 * fhHodoMessTypePerElink
 
std::vector< TH1 * > fhHodoChanCntRaw
 Raw = ASIC channels.
 
std::vector< TH2 * > fhHodoChanAdcRaw
 [ Hodo ]
 
std::vector< TProfile * > fhHodoChanAdcRawProf
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanAdcCal
 [ Hodo ]
 
std::vector< TProfile * > fhHodoChanAdcCalProf
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanRawTs
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanMissEvt
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanMissEvtEvo
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanHitRateEvo
 [ Hodo ]
 
std::vector< TProfile * > fhHodoChanHitRateProf
 [ Hodo ]
 
std::vector< TH2 * > fhHodoChanDistT
 [ Hodo ]
 
std::vector< std::vector< TH1 * > > fhHodoFiberCnt
 
std::vector< std::vector< TH2 * > > fhHodoFiberAdc
 [ Hodo ][ Axis ]
 
std::vector< std::vector< TProfile * > > fhHodoFiberAdcProf
 [ Hodo ][ Axis ]
 
std::vector< std::vector< TH2 * > > fhHodoFiberHitRateEvo
 [ Hodo ][ Axis ]
 
Double_t fdTimeCoincLimit = 100.0
 
Double_t fdTimeCoincLimitNs = stsxyter::kdClockCycleNs * (fdTimeCoincLimit + 0.5)
 +/- in clock cycles
 
std::vector< TH2 * > fhHodoFiberCoincMapXY
 +/- in clock cycles
 
std::vector< TH1 * > fhHodoFiberCoincTimeXY
 [ Hodo ]
 
std::vector< TH2 * > fhHodoFiberCoincWalkXY_X
 [ Hodo ]
 
std::vector< TH2 * > fhHodoFiberCoincWalkXY_Y
 [ Hodo ]
 
std::vector< TH2 * > fhHodoFiberCoincMapSameAB
 [ Hodo ]
 
std::vector< TH1 * > fhHodoFiberCoincTimeSameAB
 [ Axis ]
 
std::vector< TH2 * > fhHodoFiberCoincMapDiffAB
 [ Axis ]
 
std::vector< TH1 * > fhHodoFiberCoincTimeDiffAB
 [ Axis ]
 
TH2 * fhHodoFullCoincPosA
 [ Axis ]
 
TH2 * fhHodoFullCoincPosB
 
TH2 * fhHodoFullCoincCompX
 
TH2 * fhHodoFullCoincCompY
 
TH2 * fhHodoFullCoincResidualXY
 
TH1 * fhHodoFullCoincTimeDiff
 
std::vector< std::vector< TH2 * > > fhHodoFullCoincTimeWalk
 
TH1 * fhHodoFullCoincRateEvo
 [ Hodo ][ Axis ]
 
std::vector< std::vector< TH2 * > > fhHodoFullCoincPosEvo
 
TH1 * fhPrevHitDtAllAsics
 Setup debugging.
 
TH1 * fhPrevHitDtAsicA
 
TH1 * fhPrevHitDtAsicB
 
TH1 * fhPrevHitDtAsicsAB
 
Int_t fiTimeIntervalRateUpdate
 
std::vector< Int_t > fviTimeSecLastRateUpdate
 
std::vector< std::vector< Double_t > > fvdChanCountsSinceLastRateUpdate
 [ Hodo ]
 
std::vector< std::vector< Double_t > > fdHodoChanLastTimeForDist
 [ Hodo ][ Chan ]
 
UInt_t fuPreviousHitAsic
 [ Hodo ][ Chan ]
 
std::vector< Double_t > fvdPreviousHitTimePerAsic
 
TCanvas * fcSummary
 [ Asic ]
 
std::vector< TCanvas * > fcHodoSummaryRaw
 
std::vector< TCanvas * > fcHodoSummaryFiber
 
TCanvas * fcHodoFiberCoinc
 
TCanvas * fcHodoFiberCoincAB
 
TCanvas * fcHodoFullCoinc
 
TCanvas * fcHodoFullCoincPos
 
TCanvas * fcHodoFullCoincPosEvo
 
TCanvas * fcHodoPrevHitDt
 

Static Private Attributes

static const Int_t kiMaxNbFlibLinks = 32
 Constants.
 
static const UInt_t kuBytesPerMessage = 4
 
static const UInt_t kuNbElinksDpb = 2 * 42
 
static const UInt_t kuNbHodos = 2
 Max Nb of eLinks for this sDPB: 2 GBTx with 42 eLinks each.
 
static const UInt_t kuNbAxis = 2
 Nb of hodoscopes = Nb FEBs = Nb ASICs.
 
static const UInt_t kuNbChanPerAsic = 128
 Per hodoscope = X and Y.
 

Detailed Description

Definition at line 39 of file CbmCosy2019MonitorAlgoHodo.h.

Constructor & Destructor Documentation

◆ CbmCosy2019MonitorAlgoHodo() [1/2]

CbmCosy2019MonitorAlgoHodo::CbmCosy2019MonitorAlgoHodo ( )

Definition at line 39 of file CbmCosy2019MonitorAlgoHodo.cxx.

◆ ~CbmCosy2019MonitorAlgoHodo()

CbmCosy2019MonitorAlgoHodo::~CbmCosy2019MonitorAlgoHodo ( )

Clear buffers

Definition at line 145 of file CbmCosy2019MonitorAlgoHodo.cxx.

References fvmHitsInMs.

◆ CbmCosy2019MonitorAlgoHodo() [2/2]

CbmCosy2019MonitorAlgoHodo::CbmCosy2019MonitorAlgoHodo ( const CbmCosy2019MonitorAlgoHodo & )
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 CreateHistograms().

◆ AddHistoToVector()

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

◆ AddMsComponentToList()

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

Check for duplicates and ignore if it is the case

Add to list

Definition at line 383 of file CbmCosy2019MonitorAlgoHodo.cxx.

References CbmStar2019Algo< CbmStsDigi >::fvMsComponentsList.

Referenced by CbmCosy2019MonitorTaskHodo::AddMsComponentToList().

◆ 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.

◆ ClearVector()

void CbmStar2019Algo< CbmStsDigi >::ClearVector ( )
inlineinherited

For unpacker algos.

Definition at line 95 of file CbmStar2019Algo.h.

◆ CreateHistograms()

Bool_t CbmCosy2019MonitorAlgoHodo::CreateHistograms ( )

Raw = ASIC channels Channel counts

Raw Adc Distribution

Raw Adc Distribution profile

Raw Ts Distribution

Missed event flag

Missed event flag counts evolution

Hit rates evo per channel

Hit rates profile per channel

Distance between hits on same channel

Remapped = Hodos fibers

Fibers counts

Fibers Adc Distribution

Fibers Adc Distribution profile

Hit rates evo per fiber

Clusters =====> Limits for clustering to be defined, maybe use instead STS SsdOrtho reconstruction class

Coincidences in same Hodo between axis Map

Time diff

Walk

Coincidences in different Hodos between axis <= Valid only for kuNbHodos = 2 !!! Map Same axis

Time diff Same axis

Map different axis

Time diff different axis

Full Coincidences between Hodos<= Valid only for kuNbHodos = 2 && kuNbAxis = 2 Position on hodo A

Position on hodo B

Comp X axis

Comp Y axis

Residuals X vs Y ("alignment")

Time diff different axis

Setup debugging

Canvases

Distributions before fiber mapping per Hodo

Distributions after fiber mapping per Hodo and axis

Definition at line 781 of file CbmCosy2019MonitorAlgoHodo.cxx.

References CbmStar2019Algo< CbmStsDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmStsDigi >::AddHistoToVector(), fcHodoFiberCoinc, fcHodoFiberCoincAB, fcHodoFullCoinc, fcHodoFullCoincPos, fcHodoFullCoincPosEvo, fcHodoPrevHitDt, fcHodoSummaryFiber, fcHodoSummaryRaw, fcSummary, fdTimeCoincLimit, fdTimeCoincLimitNs, fhHodoChanAdcRaw, fhHodoChanAdcRawProf, fhHodoChanCntRaw, fhHodoChanDistT, fhHodoChanHitRateEvo, fhHodoChanHitRateProf, fhHodoChanMissEvt, fhHodoChanMissEvtEvo, fhHodoChanRawTs, fhHodoFiberAdc, fhHodoFiberAdcProf, fhHodoFiberCnt, fhHodoFiberCoincMapDiffAB, fhHodoFiberCoincMapSameAB, fhHodoFiberCoincMapXY, fhHodoFiberCoincTimeDiffAB, fhHodoFiberCoincTimeSameAB, fhHodoFiberCoincTimeXY, fhHodoFiberCoincWalkXY_X, fhHodoFiberCoincWalkXY_Y, fhHodoFiberHitRateEvo, fhHodoFullCoincCompX, fhHodoFullCoincCompY, fhHodoFullCoincPosA, fhHodoFullCoincPosB, fhHodoFullCoincPosEvo, fhHodoFullCoincRateEvo, fhHodoFullCoincResidualXY, fhHodoFullCoincTimeDiff, fhHodoFullCoincTimeWalk, fhHodoMessType, fhHodoMessTypePerElink, fhHodoMsStatusFieldType, fhHodoStatusMessType, fhPrevHitDtAllAsics, fhPrevHitDtAsicA, fhPrevHitDtAsicB, fhPrevHitDtAsicsAB, stsxyter::kdClockCycleNs, stsxyter::kuHitNbAdcBins, stsxyter::kuHitNbTsBins, kuNbAxis, kuNbChanPerAsic, kuNbElinksDpb, and kuNbHodos.

Referenced by CbmCosy2019MonitorTaskHodo::InitContainers().

◆ FillHistograms()

Bool_t CbmCosy2019MonitorAlgoHodo::FillHistograms ( )

◆ Finish()

void CbmCosy2019MonitorAlgoHodo::Finish ( )
virtual

Printout Goodbye message and stats

Write Output histos

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 159 of file CbmCosy2019MonitorAlgoHodo.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()

TList * CbmCosy2019MonitorAlgoHodo::GetParList ( )
virtual

◆ GetVector()

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

Definition at line 96 of file CbmStar2019Algo.h.

◆ Init()

Bool_t CbmCosy2019MonitorAlgoHodo::Init ( )
virtual

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 152 of file CbmCosy2019MonitorAlgoHodo.cxx.

◆ InitContainers()

Bool_t CbmCosy2019MonitorAlgoHodo::InitContainers ( )
virtual

◆ InitParameters()

Bool_t CbmCosy2019MonitorAlgoHodo::InitParameters ( )

Initialize vectors

Definition at line 196 of file CbmCosy2019MonitorAlgoHodo.cxx.

Referenced by ReInitContainers().

◆ operator=()

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

◆ ProcessEpochInfo()

void CbmCosy2019MonitorAlgoHodo::ProcessEpochInfo ( stsxyter::Message mess)
private

Definition at line 745 of file CbmCosy2019MonitorAlgoHodo.cxx.

Referenced by ProcessMs().

◆ ProcessHitInfo()

void CbmCosy2019MonitorAlgoHodo::ProcessHitInfo ( stsxyter::Message mess,
const UInt_t & uHodoIdx,
const UInt_t & uMsIdx )
private

◆ ProcessMs()

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

Check if this sDPB ID matches the one declared by the user

If first TS being analyzed, we are probably detecting STS/MUCH boards with same sysid => Do not report the MS as bad, just ignore it

Plots in [X/s] update

"new second"

Ignore first interval is not clue how late the data taking was started

Check Flags field of MS header

Check the current TS_MSb cycle and correct it if wrong

Get message type

Remap from eLink index to Hodoscope index

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 469 of file CbmCosy2019MonitorAlgoHodo.cxx.

References stsxyter::Dummy, stsxyter::Empty, stsxyter::Epoch, fhHodoChanHitRateProf, fhHodoMessType, fhHodoMessTypePerElink, fhHodoMsStatusFieldType, fiTimeIntervalRateUpdate, fmMsgCounter, FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrentEquipmentId, fuDpbId, fulCurrentMsIdx, fulCurrentTsIdx, fvbMaskedComponents, fvdChanCountsSinceLastRateUpdate, fvdPrevMsTime, fviTimeSecLastRateUpdate, fvuCurrentTsMsbCycle, fvuElinkIdxHodo, fvulCurrentTsMsb, stsxyter::Message::GetLinkIndex(), stsxyter::Message::GetMessType(), stsxyter::Message::GetStatusLink(), stsxyter::Hit, stsxyter::kdClockCycleNs, kuBytesPerMessage, stsxyter::kulTsCycleNbBins, kuNbChanPerAsic, kuNbHodos, ProcessEpochInfo(), ProcessHitInfo(), ProcessStatusInfo(), ProcessTsMsbInfo(), stsxyter::Status, and stsxyter::TsMsb.

Referenced by ProcessTs().

◆ ProcessStatusInfo()

void CbmCosy2019MonitorAlgoHodo::ProcessStatusInfo ( stsxyter::Message mess)
private

Definition at line 758 of file CbmCosy2019MonitorAlgoHodo.cxx.

Referenced by ProcessMs().

◆ ProcessTs() [1/2]

Bool_t CbmCosy2019MonitorAlgoHodo::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

Clear the buffer of hits

Clear buffers to prepare for the next TS

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 397 of file CbmCosy2019MonitorAlgoHodo.cxx.

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

Referenced by CbmCosy2019MonitorTaskHodo::DoUnpack().

◆ ProcessTs() [2/2]

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

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 55 of file CbmCosy2019MonitorAlgoHodo.h.

References ProcessTs().

Referenced by ProcessTs().

◆ ProcessTsMsbInfo()

void CbmCosy2019MonitorAlgoHodo::ProcessTsMsbInfo ( stsxyter::Message mess,
UInt_t uMessIdx = 0,
UInt_t uMsIdx = 0 )
private

◆ ReInitContainers()

Bool_t CbmCosy2019MonitorAlgoHodo::ReInitContainers ( )
virtual

◆ Reset()

void CbmCosy2019MonitorAlgoHodo::Reset ( )
virtual

Implements CbmStar2019Algo< CbmStsDigi >.

Definition at line 158 of file CbmCosy2019MonitorAlgoHodo.cxx.

◆ ResetHistograms()

◆ SetDpbId()

void CbmCosy2019MonitorAlgoHodo::SetDpbId ( UInt_t uDpbId = 0x5b75)
inline

Definition at line 67 of file CbmCosy2019MonitorAlgoHodo.h.

References fuDpbId.

Referenced by CbmCosy2019MonitorTaskHodo::SetDpbId().

◆ SetHodoElinkIdx()

void CbmCosy2019MonitorAlgoHodo::SetHodoElinkIdx ( UInt_t uElinkHodoA = 5,
UInt_t uElinkHodoB = 10 )
inline

Definition at line 68 of file CbmCosy2019MonitorAlgoHodo.h.

References fvuElinkIdxHodo.

Referenced by CbmCosy2019MonitorTaskHodo::SetHodoElinkIdx().

◆ SetHodoInvertX()

void CbmCosy2019MonitorAlgoHodo::SetHodoInvertX ( Bool_t bInvHodoA = kFALSE,
Bool_t bInvHodoB = kTRUE )
inline

Default set closest cosmic setup stack.

Definition at line 78 of file CbmCosy2019MonitorAlgoHodo.h.

References fvbHodoInvertX.

Referenced by CbmCosy2019MonitorTaskHodo::SetHodoInvertX().

◆ SetHodoInvertY()

void CbmCosy2019MonitorAlgoHodo::SetHodoInvertY ( Bool_t bInvHodoA = kFALSE,
Bool_t bInvHodoB = kTRUE )
inline

Default set closest cosmic setup stack.

Definition at line 83 of file CbmCosy2019MonitorAlgoHodo.h.

References fvbHodoInvertY.

Referenced by CbmCosy2019MonitorTaskHodo::SetHodoInvertY().

◆ SetHodoSwapXY()

void CbmCosy2019MonitorAlgoHodo::SetHodoSwapXY ( Bool_t bSwapHodoA = kFALSE,
Bool_t bSwapHodoB = kTRUE )
inline

Default set for mMUCH FMC slots 8 and 9.

Definition at line 73 of file CbmCosy2019MonitorAlgoHodo.h.

References fvbHodoSwapXY.

Referenced by CbmCosy2019MonitorTaskHodo::SetHodoSwapXY().

◆ SetIgnoreOverlapMs()

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

Control flags.

Definition at line 101 of file CbmStar2019Algo.h.

◆ SetMonitorMode()

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

Definition at line 64 of file CbmCosy2019MonitorAlgoHodo.h.

References fbMonitorMode.

Referenced by CbmCosy2019MonitorTaskHodo::InitContainers().

◆ SetParameter()

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

Definition at line 79 of file CbmStar2019Algo.h.

◆ SetTimeOffsetNs()

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

Definition at line 65 of file CbmCosy2019MonitorAlgoHodo.h.

References fdTimeOffsetNs.

Referenced by CbmCosy2019MonitorTaskHodo::SetTimeOffsetNs().

Member Data Documentation

◆ fbDebugMonitorMode

Bool_t CbmCosy2019MonitorAlgoHodo::fbDebugMonitorMode
private

Switch ON the filling of a minimal set of histograms.

Definition at line 92 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fbIgnoreOverlapMs

Bool_t CbmStar2019Algo< CbmStsDigi >::fbIgnoreOverlapMs
protectedinherited

◆ fbMonitorMode

Bool_t CbmCosy2019MonitorAlgoHodo::fbMonitorMode
private

Default set closest cosmic setup stack.

Control flags

Definition at line 91 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by SetMonitorMode().

◆ fcHodoFiberCoinc

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoFiberCoinc
private

Definition at line 260 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoFiberCoincAB

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoFiberCoincAB
private

Definition at line 261 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoFullCoinc

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoFullCoinc
private

Definition at line 262 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoFullCoincPos

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoFullCoincPos
private

Definition at line 263 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoFullCoincPosEvo

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoFullCoincPosEvo
private

Definition at line 264 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoPrevHitDt

TCanvas* CbmCosy2019MonitorAlgoHodo::fcHodoPrevHitDt
private

Definition at line 265 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoSummaryFiber

std::vector<TCanvas*> CbmCosy2019MonitorAlgoHodo::fcHodoSummaryFiber
private

Definition at line 259 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcHodoSummaryRaw

std::vector<TCanvas*> CbmCosy2019MonitorAlgoHodo::fcHodoSummaryRaw
private

Definition at line 258 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fcSummary

TCanvas* CbmCosy2019MonitorAlgoHodo::fcSummary
private

[ Asic ]

Canvases

Definition at line 257 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fdHodoChanLastTimeForDist

std::vector<std::vector<Double_t> > CbmCosy2019MonitorAlgoHodo::fdHodoChanLastTimeForDist
private

[ Hodo ][ Chan ]

Definition at line 252 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessHitInfo().

◆ 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(), CbmMcbm2018UnpackerAlgoSts::FillHistograms(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::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 ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().

◆ fdMsTime

Double_t CbmCosy2019MonitorAlgoHodo::fdMsTime
private

Header time of previous MS per link.

Definition at line 175 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fdStartTime

Double_t CbmCosy2019MonitorAlgoHodo::fdStartTime
private

Current TS MSB cycle for DPB Starting state book-keeping

Definition at line 187 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms(), and ProcessHitInfo().

◆ fdStartTimeMsSz

Double_t CbmCosy2019MonitorAlgoHodo::fdStartTimeMsSz
private

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

Definition at line 188 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fdTimeCoincLimit

Double_t CbmCosy2019MonitorAlgoHodo::fdTimeCoincLimit = 100.0
private

[ Hodo ][ Axis ] Clusters =====> Limits for clustering to be defined, maybe use instead STS SsdOrtho reconstruction class Coincidences

Definition at line 222 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ fdTimeCoincLimitNs

Double_t CbmCosy2019MonitorAlgoHodo::fdTimeCoincLimitNs = stsxyter::kdClockCycleNs * (fdTimeCoincLimit + 0.5)
private

+/- in clock cycles

Definition at line 223 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms(), and FillHistograms().

◆ fdTimeOffsetNs

Double_t CbmCosy2019MonitorAlgoHodo::fdTimeOffsetNs
private

User settings: Data correction parameters.

Definition at line 123 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by SetTimeOffsetNs().

◆ fdTsCoreSizeInNs

Double_t CbmStar2019Algo< CbmStsDigi >::fdTsCoreSizeInNs
protectedinherited

Size of a single MS, [nanoseconds].

Definition at line 114 of file CbmStar2019Algo.h.

Referenced by ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::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 ProcessTs(), CbmCosy2019UnpackerAlgoHodo::ProcessTs(), and CbmMcbm2018UnpackerAlgoSts::ProcessTs().

◆ fdTsStartTime

Double_t CbmCosy2019MonitorAlgoHodo::fdTsStartTime
private

Definition at line 172 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessTs().

◆ fdTsStopTimeCore

Double_t CbmCosy2019MonitorAlgoHodo::fdTsStopTimeCore
private

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

Definition at line 173 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessTs().

◆ fErrVect

◆ fhHodoChanAdcCal

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanAdcCal
private

[ Hodo ]

Definition at line 206 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ResetHistograms().

◆ fhHodoChanAdcCalProf

std::vector<TProfile*> CbmCosy2019MonitorAlgoHodo::fhHodoChanAdcCalProf
private

[ Hodo ]

Definition at line 207 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ResetHistograms().

◆ fhHodoChanAdcRaw

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanAdcRaw
private

[ Hodo ]

Definition at line 204 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanAdcRawProf

std::vector<TProfile*> CbmCosy2019MonitorAlgoHodo::fhHodoChanAdcRawProf
private

[ Hodo ]

Definition at line 205 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanCntRaw

std::vector<TH1*> CbmCosy2019MonitorAlgoHodo::fhHodoChanCntRaw
private

Raw = ASIC channels.

Definition at line 203 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanDistT

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanDistT
private

[ Hodo ]

Definition at line 213 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanHitRateEvo

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanHitRateEvo
private

[ Hodo ]

Definition at line 211 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanHitRateProf

std::vector<TProfile*> CbmCosy2019MonitorAlgoHodo::fhHodoChanHitRateProf
private

[ Hodo ]

Definition at line 212 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanMissEvt

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanMissEvt
private

[ Hodo ]

Definition at line 209 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanMissEvtEvo

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanMissEvtEvo
private

[ Hodo ]

Definition at line 210 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoChanRawTs

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoChanRawTs
private

[ Hodo ]

Definition at line 208 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberAdc

std::vector<std::vector<TH2*> > CbmCosy2019MonitorAlgoHodo::fhHodoFiberAdc
private

[ Hodo ][ Axis ]

Definition at line 216 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberAdcProf

std::vector<std::vector<TProfile*> > CbmCosy2019MonitorAlgoHodo::fhHodoFiberAdcProf
private

[ Hodo ][ Axis ]

Definition at line 217 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCnt

std::vector<std::vector<TH1*> > CbmCosy2019MonitorAlgoHodo::fhHodoFiberCnt
private

[ Hodo ] Remapped = Hodos fibers

Definition at line 215 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincMapDiffAB

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincMapDiffAB
private

[ Axis ]

Definition at line 230 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincMapSameAB

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincMapSameAB
private

[ Hodo ]

Definition at line 228 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincMapXY

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincMapXY
private

+/- in clock cycles

Definition at line 224 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincTimeDiffAB

std::vector<TH1*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincTimeDiffAB
private

[ Axis ]

Definition at line 231 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincTimeSameAB

std::vector<TH1*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincTimeSameAB
private

[ Axis ]

Definition at line 229 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincTimeXY

std::vector<TH1*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincTimeXY
private

[ Hodo ]

Definition at line 225 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincWalkXY_X

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincWalkXY_X
private

[ Hodo ]

Definition at line 226 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberCoincWalkXY_Y

std::vector<TH2*> CbmCosy2019MonitorAlgoHodo::fhHodoFiberCoincWalkXY_Y
private

[ Hodo ]

Definition at line 227 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFiberHitRateEvo

std::vector<std::vector<TH2*> > CbmCosy2019MonitorAlgoHodo::fhHodoFiberHitRateEvo
private

[ Hodo ][ Axis ]

Definition at line 218 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincCompX

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincCompX
private

Definition at line 234 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincCompY

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincCompY
private

Definition at line 235 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincPosA

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincPosA
private

[ Axis ]

Definition at line 232 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincPosB

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincPosB
private

Definition at line 233 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincPosEvo

std::vector<std::vector<TH2*> > CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincPosEvo
private

Definition at line 240 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincRateEvo

TH1* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincRateEvo
private

[ Hodo ][ Axis ]

Definition at line 239 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms(), and FillHistograms().

◆ fhHodoFullCoincResidualXY

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincResidualXY
private

Definition at line 236 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincTimeDiff

TH1* CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincTimeDiff
private

Definition at line 237 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoFullCoincTimeWalk

std::vector<std::vector<TH2*> > CbmCosy2019MonitorAlgoHodo::fhHodoFullCoincTimeWalk
private

Definition at line 238 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoMessType

TH1* CbmCosy2019MonitorAlgoHodo::fhHodoMessType
private

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

Histograms General plots

Definition at line 198 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoMessTypePerElink

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoMessTypePerElink
private

Definition at line 201 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoMsStatusFieldType

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoMsStatusFieldType
private

Definition at line 200 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhHodoStatusMessType

TH2* CbmCosy2019MonitorAlgoHodo::fhHodoStatusMessType
private

Definition at line 199 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms(), and ResetHistograms().

◆ fhPrevHitDtAllAsics

TH1* CbmCosy2019MonitorAlgoHodo::fhPrevHitDtAllAsics
private

Setup debugging.

[ Hodo ][ Axis ]

Definition at line 242 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhPrevHitDtAsicA

TH1* CbmCosy2019MonitorAlgoHodo::fhPrevHitDtAsicA
private

Definition at line 243 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhPrevHitDtAsicB

TH1* CbmCosy2019MonitorAlgoHodo::fhPrevHitDtAsicB
private

Definition at line 244 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fhPrevHitDtAsicsAB

TH1* CbmCosy2019MonitorAlgoHodo::fhPrevHitDtAsicsAB
private

Definition at line 245 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fiBinSizeDatePlots

Int_t CbmCosy2019MonitorAlgoHodo::fiBinSizeDatePlots
private

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

Definition at line 182 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fiRunStartDateTimeSec

Int_t CbmCosy2019MonitorAlgoHodo::fiRunStartDateTimeSec
private

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

Definition at line 181 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fiTimeIntervalRateUpdate

Int_t CbmCosy2019MonitorAlgoHodo::fiTimeIntervalRateUpdate
private

Histogramming variables Mean Rate per channel plots

Definition at line 249 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fmMsgCounter

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

Index of current MS within the TS Current data properties

Definition at line 178 of file CbmCosy2019MonitorAlgoHodo.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

◆ ftStartTimeUnix

std::chrono::steady_clock::time_point CbmCosy2019MonitorAlgoHodo::ftStartTimeUnix
private

Time of first microslice, used as reference for evolution plots

Definition at line 190 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fuCurrDpbId

UInt_t CbmCosy2019MonitorAlgoHodo::fuCurrDpbId
private

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

Definition at line 180 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fuCurrentEquipmentId

UInt_t CbmCosy2019MonitorAlgoHodo::fuCurrentEquipmentId
private

Definition at line 179 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fuDpbId

UInt_t CbmCosy2019MonitorAlgoHodo::fuDpbId
private

Settings from parameter file => For now use only accessors!

Definition at line 114 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs(), and SetDpbId().

◆ fulCurrentMsIdx

ULong64_t CbmCosy2019MonitorAlgoHodo::fulCurrentMsIdx
private

Definition at line 171 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs(), and ProcessTsMsbInfo().

◆ fulCurrentTsIdx

ULong64_t CbmCosy2019MonitorAlgoHodo::fulCurrentTsIdx
private

Map from channel index to Hodoscope Axis (X or Y)

Running indices TS/MS info

Definition at line 170 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fuMsIndex

UInt_t CbmCosy2019MonitorAlgoHodo::fuMsIndex
private

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

Definition at line 176 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessTs().

◆ fuNbCoreMsPerTs

size_t CbmStar2019Algo< CbmStsDigi >::fuNbCoreMsPerTs
protectedinherited

◆ fuNbMsLoop

size_t CbmStar2019Algo< CbmStsDigi >::fuNbMsLoop
protectedinherited

◆ fuNbOverMsPerTs

size_t CbmStar2019Algo< CbmStsDigi >::fuNbOverMsPerTs
protectedinherited

◆ fuPreviousHitAsic

UInt_t CbmCosy2019MonitorAlgoHodo::fuPreviousHitAsic
private

[ Hodo ][ Chan ]

Definition at line 253 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms().

◆ fvbHodoInvertX

std::vector<Bool_t> CbmCosy2019MonitorAlgoHodo::fvbHodoInvertX
private

Definition at line 117 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms(), and SetHodoInvertX().

◆ fvbHodoInvertY

std::vector<Bool_t> CbmCosy2019MonitorAlgoHodo::fvbHodoInvertY
private

Definition at line 118 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms(), and SetHodoInvertY().

◆ fvbHodoSwapXY

std::vector<Bool_t> CbmCosy2019MonitorAlgoHodo::fvbHodoSwapXY
private

Definition at line 116 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms(), and SetHodoSwapXY().

◆ fvbMaskedComponents

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

Switch ON the filling of a additional set of histograms.

Definition at line 93 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fvdChanCountsSinceLastRateUpdate

std::vector<std::vector<Double_t> > CbmCosy2019MonitorAlgoHodo::fvdChanCountsSinceLastRateUpdate
private

[ Hodo ]

Definition at line 251 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessHitInfo(), and ProcessMs().

◆ fvdPreviousHitTimePerAsic

std::vector<Double_t> CbmCosy2019MonitorAlgoHodo::fvdPreviousHitTimePerAsic
private

Definition at line 254 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms().

◆ fvdPrevMsTime

std::vector<Double_t> CbmCosy2019MonitorAlgoHodo::fvdPrevMsTime
private

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

Definition at line 174 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fviTimeSecLastRateUpdate

std::vector<Int_t> CbmCosy2019MonitorAlgoHodo::fviTimeSecLastRateUpdate
private

Definition at line 250 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ fvmHitsInMs

std::vector<stsxyter::FinalHit> CbmCosy2019MonitorAlgoHodo::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 194 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by FillHistograms(), ProcessHitInfo(), ProcessTs(), and ~CbmCosy2019MonitorAlgoHodo().

◆ 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.

◆ fvuAdcGainHodo

std::vector<UInt_t> CbmCosy2019MonitorAlgoHodo::fvuAdcGainHodo
private

Definition at line 119 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fvuAdcOffsHodo

std::vector<UInt_t> CbmCosy2019MonitorAlgoHodo::fvuAdcOffsHodo
private

Definition at line 120 of file CbmCosy2019MonitorAlgoHodo.h.

◆ fvuCurrentTsMsbCycle

UInt_t CbmCosy2019MonitorAlgoHodo::fvuCurrentTsMsbCycle
private

Current TS MSB for each DPB.

Definition at line 185 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ fvuElinkIdxHodo

std::vector<UInt_t> CbmCosy2019MonitorAlgoHodo::fvuElinkIdxHodo
private

Definition at line 115 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs(), and SetHodoElinkIdx().

◆ fvulCurrentTsMsb

ULong64_t CbmCosy2019MonitorAlgoHodo::fvulCurrentTsMsb
private

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

Definition at line 184 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ kiMaxNbFlibLinks

const Int_t CbmCosy2019MonitorAlgoHodo::kiMaxNbFlibLinks = 32
staticprivate

Constants.

Definition at line 126 of file CbmCosy2019MonitorAlgoHodo.h.

◆ kuBytesPerMessage

const UInt_t CbmCosy2019MonitorAlgoHodo::kuBytesPerMessage = 4
staticprivate

Definition at line 127 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessMs().

◆ kuChannelToFiberMap

const UInt_t CbmCosy2019MonitorAlgoHodo::kuChannelToFiberMap[kuNbChanPerAsic]
private
Initial value:
= {32, 0, 48, 16, 47, 15, 63, 31, 33, 1, 49, 17, 46, 14, 62,
30, 34, 2, 50, 18, 45, 13, 61, 29, 35, 3, 51, 19, 44, 12,
60, 28, 36, 4, 52, 20, 43, 11, 59, 27, 37, 5, 53, 21, 42,
10, 58, 26, 38, 6, 54, 22, 41, 9, 57, 25, 39, 7, 55, 23,
40, 8, 56, 24, 32, 0, 48, 16, 47, 15, 63, 31, 33, 1, 49,
17, 46, 14, 62, 30, 34, 2, 50, 18, 45, 13, 61, 29, 35, 3,
51, 19, 44, 12, 60, 28, 36, 4, 52, 20, 43, 11, 59, 27, 37,
5, 53, 21, 42, 10, 58, 26, 38, 6, 54, 22, 41, 9, 57, 25,
39, 7, 55, 23, 40, 8, 56, 24}

Definition at line 144 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessHitInfo().

◆ kuChannelToPixelMap

const UInt_t CbmCosy2019MonitorAlgoHodo::kuChannelToPixelMap[kuNbChanPerAsic]
private
Initial value:
= {1, 5, 3, 7, 2, 6, 4, 8, 9, 13, 11, 15, 10, 14, 12,
16, 17, 21, 19, 23, 18, 22, 20, 24, 25, 29, 27, 31, 26, 30,
28, 32, 33, 37, 35, 39, 34, 38, 36, 40, 41, 45, 43, 47, 42,
46, 44, 48, 49, 53, 51, 55, 50, 54, 52, 56, 57, 61, 59, 63,
58, 62, 60, 64, 1, 5, 3, 7, 2, 6, 4, 8, 9, 13, 11,
15, 10, 14, 12, 16, 17, 21, 19, 23, 18, 22, 20, 24, 25, 29,
27, 31, 26, 30, 28, 32, 33, 37, 35, 39, 34, 38, 36, 40, 41,
45, 43, 47, 42, 46, 44, 48, 49, 53, 51, 55, 50, 54, 52, 56,
57, 61, 59, 63, 58, 62, 60, 64}

Map from channel index to Hodoscope Fiber.

Definition at line 153 of file CbmCosy2019MonitorAlgoHodo.h.

◆ kuChannelToPlaneMap

const UInt_t CbmCosy2019MonitorAlgoHodo::kuChannelToPlaneMap[kuNbChanPerAsic]
private
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}

Map from channel index to PMT pixel.

Definition at line 162 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by ProcessHitInfo().

◆ kuNbAxis

const UInt_t CbmCosy2019MonitorAlgoHodo::kuNbAxis = 2
staticprivate

Nb of hodoscopes = Nb FEBs = Nb ASICs.

Definition at line 130 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ kuNbChanPerAsic

const UInt_t CbmCosy2019MonitorAlgoHodo::kuNbChanPerAsic = 128
staticprivate

Per hodoscope = X and Y.

Definition at line 131 of file CbmCosy2019MonitorAlgoHodo.h.

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

◆ kuNbElinksDpb

const UInt_t CbmCosy2019MonitorAlgoHodo::kuNbElinksDpb = 2 * 42
staticprivate

Definition at line 128 of file CbmCosy2019MonitorAlgoHodo.h.

Referenced by CreateHistograms().

◆ kuNbHodos

const UInt_t CbmCosy2019MonitorAlgoHodo::kuNbHodos = 2
staticprivate

Max Nb of eLinks for this sDPB: 2 GBTx with 42 eLinks each.

Definition at line 129 of file CbmCosy2019MonitorAlgoHodo.h.

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


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