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

#include <CbmTsEventHeader.h>

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

Public Member Functions

 CbmTsEventHeader ()
 
virtual ~CbmTsEventHeader ()
 
void AddNDigisMuch (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisPsd (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisFsd (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisRich (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisSts (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisTof (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisTrd1D (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisTrd2D (uint64_t value)
 Add a number of digis from this Ts.
 
void AddNDigisBmon (uint64_t value)
 Add a number of digis from this Ts.
 
uint64_t GetNDigisMuch () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisPsd () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisFsd () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisRich () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisSts () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisTof () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisTrd1D () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisTrd2D () const
 Get the number of digis in this Ts.
 
uint64_t GetNDigisBmon () const
 Get the number of digis in this Ts.
 
uint64_t GetTsIndex () const
 
uint64_t GetTsStartTime () const
 
void Reset ()
 Resets counters and variables for a new Timeslice, e.g. the NDigis counter are set back to 0.
 
void SetNDigisMuch (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisPsd (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisFsd (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisRich (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisSts (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisTof (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisTrd1D (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisTrd2D (uint64_t value)
 Set the number of digis in this Ts.
 
void SetNDigisBmon (uint64_t value)
 Set the number of digis in this Ts.
 
void SetTsIndex (uint64_t value)
 Set the Ts Start Time.
 
void SetTsStartTime (uint64_t value)
 Set the Ts Start Time.
 
 CbmTsEventHeader (const CbmTsEventHeader &)=default
 
CbmTsEventHeaderoperator= (const CbmTsEventHeader &)=default
 

Protected Attributes

uint64_t fTsIndex = 0
 
uint64_t fTsStartTime = 0
 
uint64_t fNDigisMuch = 0
 nDigis in "this" timeslice measured by the MUCH
 
uint64_t fNDigisPsd = 0
 nDigis in "this" timeslice measured by the PSD
 
uint64_t fNDigisFsd = 0
 nDigis in "this" timeslice measured by the FSD
 
uint64_t fNDigisRich = 0
 nDigis in "this" timeslice measured by the RICH
 
uint64_t fNDigisSts = 0
 nDigis in "this" timeslice measured by the STS
 
uint64_t fNDigisTof = 0
 nDigis in "this" timeslice measured by the TOF
 
uint64_t fNDigisTrd1D = 0
 nDigis in "this" timeslice measured by the TRD1D
 
uint64_t fNDigisTrd2D = 0
 nDigis in "this" timeslice measured by the TRD2D
 
uint64_t fNDigisBmon = 0
 nDigis in "this" timeslice measured by the BMON
 

Detailed Description

Definition at line 13 of file CbmTsEventHeader.h.

Constructor & Destructor Documentation

◆ CbmTsEventHeader() [1/2]

CbmTsEventHeader::CbmTsEventHeader ( )

Default constructor

Definition at line 8 of file CbmTsEventHeader.cxx.

◆ ~CbmTsEventHeader()

virtual CbmTsEventHeader::~CbmTsEventHeader ( )
inlinevirtual

Default destructor

Definition at line 20 of file CbmTsEventHeader.h.

◆ CbmTsEventHeader() [2/2]

CbmTsEventHeader::CbmTsEventHeader ( const CbmTsEventHeader & )
default

Member Function Documentation

◆ AddNDigisBmon()

void CbmTsEventHeader::AddNDigisBmon ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 39 of file CbmTsEventHeader.h.

References fNDigisBmon.

Referenced by CbmDeviceBmonMonitor::DoUnpack(), CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisFsd()

void CbmTsEventHeader::AddNDigisFsd ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 27 of file CbmTsEventHeader.h.

References fNDigisFsd.

◆ AddNDigisMuch()

void CbmTsEventHeader::AddNDigisMuch ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 23 of file CbmTsEventHeader.h.

References fNDigisMuch.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisPsd()

void CbmTsEventHeader::AddNDigisPsd ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 25 of file CbmTsEventHeader.h.

References fNDigisPsd.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisRich()

void CbmTsEventHeader::AddNDigisRich ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 29 of file CbmTsEventHeader.h.

References fNDigisRich.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisSts()

void CbmTsEventHeader::AddNDigisSts ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 31 of file CbmTsEventHeader.h.

References fNDigisSts.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisTof()

void CbmTsEventHeader::AddNDigisTof ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 33 of file CbmTsEventHeader.h.

References fNDigisTof.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisTrd1D()

void CbmTsEventHeader::AddNDigisTrd1D ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 35 of file CbmTsEventHeader.h.

References fNDigisTrd1D.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ AddNDigisTrd2D()

void CbmTsEventHeader::AddNDigisTrd2D ( uint64_t value)
inline

Add a number of digis from this Ts.

Definition at line 37 of file CbmTsEventHeader.h.

References fNDigisTrd2D.

Referenced by CbmDeviceUnpack::DoUnpack(), and CbmRecoUnpack::Unpack().

◆ GetNDigisBmon()

uint64_t CbmTsEventHeader::GetNDigisBmon ( ) const
inline

Get the number of digis in this Ts.

Definition at line 58 of file CbmTsEventHeader.h.

References fNDigisBmon.

◆ GetNDigisFsd()

uint64_t CbmTsEventHeader::GetNDigisFsd ( ) const
inline

Get the number of digis in this Ts.

Definition at line 46 of file CbmTsEventHeader.h.

References fNDigisFsd.

◆ GetNDigisMuch()

uint64_t CbmTsEventHeader::GetNDigisMuch ( ) const
inline

Get the number of digis in this Ts.

Definition at line 42 of file CbmTsEventHeader.h.

References fNDigisMuch.

◆ GetNDigisPsd()

uint64_t CbmTsEventHeader::GetNDigisPsd ( ) const
inline

Get the number of digis in this Ts.

Definition at line 44 of file CbmTsEventHeader.h.

References fNDigisPsd.

◆ GetNDigisRich()

uint64_t CbmTsEventHeader::GetNDigisRich ( ) const
inline

Get the number of digis in this Ts.

Definition at line 48 of file CbmTsEventHeader.h.

References fNDigisRich.

◆ GetNDigisSts()

uint64_t CbmTsEventHeader::GetNDigisSts ( ) const
inline

Get the number of digis in this Ts.

Definition at line 50 of file CbmTsEventHeader.h.

References fNDigisSts.

◆ GetNDigisTof()

uint64_t CbmTsEventHeader::GetNDigisTof ( ) const
inline

Get the number of digis in this Ts.

Definition at line 52 of file CbmTsEventHeader.h.

References fNDigisTof.

◆ GetNDigisTrd1D()

uint64_t CbmTsEventHeader::GetNDigisTrd1D ( ) const
inline

Get the number of digis in this Ts.

Definition at line 54 of file CbmTsEventHeader.h.

References fNDigisTrd1D.

◆ GetNDigisTrd2D()

uint64_t CbmTsEventHeader::GetNDigisTrd2D ( ) const
inline

Get the number of digis in this Ts.

Definition at line 56 of file CbmTsEventHeader.h.

References fNDigisTrd2D.

◆ GetTsIndex()

uint64_t CbmTsEventHeader::GetTsIndex ( ) const
inline

Get the Start time of the this Timeslice linked to this event header

Definition at line 61 of file CbmTsEventHeader.h.

References fTsIndex.

Referenced by CbmMcbmCheckTimingAlgo::FillTimeOffsetHistos(), CbmRecoUnpack::performanceProfilingPerTs(), and CbmMcbmCheckTimingAlgo::ProcessTs().

◆ GetTsStartTime()

uint64_t CbmTsEventHeader::GetTsStartTime ( ) const
inline

Get the Start time of the this Timeslice linked to this event header

Definition at line 63 of file CbmTsEventHeader.h.

References fTsStartTime.

Referenced by CbmRichMCbmQaReal::Exec(), CbmTaskTofClusterizer::Exec(), CbmTofEventClusterizer::Exec(), CbmTofEventClusterizer::ExecEvent(), and CbmRecoUnpack::performanceProfilingPerTs().

◆ operator=()

CbmTsEventHeader & CbmTsEventHeader::operator= ( const CbmTsEventHeader & )
default

◆ Reset()

void CbmTsEventHeader::Reset ( )

Resets counters and variables for a new Timeslice, e.g. the NDigis counter are set back to 0.

Definition at line 13 of file CbmTsEventHeader.cxx.

References fNDigisBmon, fNDigisFsd, fNDigisMuch, fNDigisPsd, fNDigisRich, fNDigisSts, fNDigisTof, fNDigisTrd1D, and fNDigisTrd2D.

Referenced by CbmDeviceBmonMonitor::ConditionalRun(), CbmDeviceUnpack::ConditionalRun(), and CbmRecoUnpack::Reset().

◆ SetNDigisBmon()

void CbmTsEventHeader::SetNDigisBmon ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 85 of file CbmTsEventHeader.h.

References fNDigisBmon.

◆ SetNDigisFsd()

void CbmTsEventHeader::SetNDigisFsd ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 73 of file CbmTsEventHeader.h.

References fNDigisFsd.

◆ SetNDigisMuch()

void CbmTsEventHeader::SetNDigisMuch ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 69 of file CbmTsEventHeader.h.

References fNDigisMuch.

◆ SetNDigisPsd()

void CbmTsEventHeader::SetNDigisPsd ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 71 of file CbmTsEventHeader.h.

References fNDigisPsd.

◆ SetNDigisRich()

void CbmTsEventHeader::SetNDigisRich ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 75 of file CbmTsEventHeader.h.

References fNDigisRich.

◆ SetNDigisSts()

void CbmTsEventHeader::SetNDigisSts ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 77 of file CbmTsEventHeader.h.

References fNDigisSts.

◆ SetNDigisTof()

void CbmTsEventHeader::SetNDigisTof ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 79 of file CbmTsEventHeader.h.

References fNDigisTof.

◆ SetNDigisTrd1D()

void CbmTsEventHeader::SetNDigisTrd1D ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 81 of file CbmTsEventHeader.h.

References fNDigisTrd1D.

◆ SetNDigisTrd2D()

void CbmTsEventHeader::SetNDigisTrd2D ( uint64_t value)
inline

Set the number of digis in this Ts.

Definition at line 83 of file CbmTsEventHeader.h.

References fNDigisTrd2D.

◆ SetTsIndex()

void CbmTsEventHeader::SetTsIndex ( uint64_t value)
inline

Set the Ts Start Time.

Parameters
valueStart time of the TS

Definition at line 88 of file CbmTsEventHeader.h.

References fTsIndex.

Referenced by CbmDeviceBmonMonitor::DoUnpack(), CbmDeviceUnpack::DoUnpack(), CbmTaskUnpack::Exec(), CbmSourceDigiTimeslice::ReadEvent(), and CbmRecoUnpack::Unpack().

◆ SetTsStartTime()

void CbmTsEventHeader::SetTsStartTime ( uint64_t value)
inline

Set the Ts Start Time.

Parameters
valueStart time of the TS

Definition at line 90 of file CbmTsEventHeader.h.

References fTsStartTime.

Referenced by CbmDeviceBmonMonitor::DoUnpack(), CbmDeviceUnpack::DoUnpack(), CbmTaskUnpack::Exec(), CbmSourceDigiTimeslice::ReadEvent(), and CbmRecoUnpack::Unpack().

Member Data Documentation

◆ fNDigisBmon

uint64_t CbmTsEventHeader::fNDigisBmon = 0
protected

nDigis in "this" timeslice measured by the BMON

Definition at line 119 of file CbmTsEventHeader.h.

Referenced by AddNDigisBmon(), GetNDigisBmon(), Reset(), and SetNDigisBmon().

◆ fNDigisFsd

uint64_t CbmTsEventHeader::fNDigisFsd = 0
protected

nDigis in "this" timeslice measured by the FSD

Definition at line 107 of file CbmTsEventHeader.h.

Referenced by AddNDigisFsd(), GetNDigisFsd(), Reset(), and SetNDigisFsd().

◆ fNDigisMuch

uint64_t CbmTsEventHeader::fNDigisMuch = 0
protected

nDigis in "this" timeslice measured by the MUCH

Definition at line 103 of file CbmTsEventHeader.h.

Referenced by AddNDigisMuch(), GetNDigisMuch(), Reset(), and SetNDigisMuch().

◆ fNDigisPsd

uint64_t CbmTsEventHeader::fNDigisPsd = 0
protected

nDigis in "this" timeslice measured by the PSD

Definition at line 105 of file CbmTsEventHeader.h.

Referenced by AddNDigisPsd(), GetNDigisPsd(), Reset(), and SetNDigisPsd().

◆ fNDigisRich

uint64_t CbmTsEventHeader::fNDigisRich = 0
protected

nDigis in "this" timeslice measured by the RICH

Definition at line 109 of file CbmTsEventHeader.h.

Referenced by AddNDigisRich(), GetNDigisRich(), Reset(), and SetNDigisRich().

◆ fNDigisSts

uint64_t CbmTsEventHeader::fNDigisSts = 0
protected

nDigis in "this" timeslice measured by the STS

Definition at line 111 of file CbmTsEventHeader.h.

Referenced by AddNDigisSts(), GetNDigisSts(), Reset(), and SetNDigisSts().

◆ fNDigisTof

uint64_t CbmTsEventHeader::fNDigisTof = 0
protected

nDigis in "this" timeslice measured by the TOF

Definition at line 113 of file CbmTsEventHeader.h.

Referenced by AddNDigisTof(), GetNDigisTof(), Reset(), and SetNDigisTof().

◆ fNDigisTrd1D

uint64_t CbmTsEventHeader::fNDigisTrd1D = 0
protected

nDigis in "this" timeslice measured by the TRD1D

Definition at line 115 of file CbmTsEventHeader.h.

Referenced by AddNDigisTrd1D(), GetNDigisTrd1D(), Reset(), and SetNDigisTrd1D().

◆ fNDigisTrd2D

uint64_t CbmTsEventHeader::fNDigisTrd2D = 0
protected

nDigis in "this" timeslice measured by the TRD2D

Definition at line 117 of file CbmTsEventHeader.h.

Referenced by AddNDigisTrd2D(), GetNDigisTrd2D(), Reset(), and SetNDigisTrd2D().

◆ fTsIndex

uint64_t CbmTsEventHeader::fTsIndex = 0
protected

Timeslice index

Definition at line 98 of file CbmTsEventHeader.h.

Referenced by GetTsIndex(), and SetTsIndex().

◆ fTsStartTime

uint64_t CbmTsEventHeader::fTsStartTime = 0
protected

Timeslice start time

Definition at line 100 of file CbmTsEventHeader.h.

Referenced by GetTsStartTime(), and SetTsStartTime().


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