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

#include <CbmRichDigi.h>

Public Member Functions

 CbmRichDigi ()
 
 CbmRichDigi (int32_t addr, double time, double tot)
 
 ~CbmRichDigi ()
 
int32_t GetAddress () const
 
double GetCharge () const
 Charge.
 
double GetTime () const
 
double GetToT () const
 
void SetAddress (int32_t address)
 
void SetTime (double time)
 
std::string ToString () const
 

Static Public Member Functions

static const char * GetBranchName ()
 Get the desired name of the branch for this obj in the cbm output tree (static)
 
static const char * GetClassName ()
 Class name (static)
 
static ECbmModuleId GetSystem ()
 System identifier.
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 ClassDefNV (CbmRichDigi, 3)
 

Private Attributes

int32_t fAddress
 Unique pixel address.
 
double fTime
 Leading (rising) edge time.
 
double fToT
 

Friends

class boost::serialization::access
 BOOST serialization interface.
 

Detailed Description

Definition at line 31 of file CbmRichDigi.h.

Constructor & Destructor Documentation

◆ CbmRichDigi() [1/2]

CbmRichDigi::CbmRichDigi ( )

Definition at line 16 of file CbmRichDigi.cxx.

◆ CbmRichDigi() [2/2]

CbmRichDigi::CbmRichDigi ( int32_t addr,
double time,
double tot )

Definition at line 21 of file CbmRichDigi.cxx.

◆ ~CbmRichDigi()

CbmRichDigi::~CbmRichDigi ( )

Definition at line 23 of file CbmRichDigi.cxx.

Member Function Documentation

◆ ClassDefNV()

CbmRichDigi::ClassDefNV ( CbmRichDigi ,
3  )
private

◆ GetAddress()

◆ GetBranchName()

static const char * CbmRichDigi::GetBranchName ( )
inlinestatic

Get the desired name of the branch for this obj in the cbm output tree (static)

Returns
"RichDigi"

Definition at line 48 of file CbmRichDigi.h.

Referenced by CbmDeviceDigiEventSink::InitTask().

◆ GetCharge()

double CbmRichDigi::GetCharge ( ) const
inline

Charge.

Returns
Returns TOT as charge

Alias for GetToT, conversion factor should be added if needed. For compatibility with template methods

Definition at line 56 of file CbmRichDigi.h.

References fToT.

Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), and compareRichDigiDataMembers().

◆ GetClassName()

static const char * CbmRichDigi::GetClassName ( )
inlinestatic

Class name (static)

Returns
CbmRichDigi

Definition at line 61 of file CbmRichDigi.h.

Referenced by TEST().

◆ GetSystem()

static ECbmModuleId CbmRichDigi::GetSystem ( )
inlinestatic

System identifier.

Returns
kRich (ECbmModuleId), static

Definition at line 66 of file CbmRichDigi.h.

References kRich.

Referenced by compareRichDigiDataMembers().

◆ GetTime()

◆ GetToT()

◆ serialize()

template<class Archive >
void CbmRichDigi::serialize ( Archive & ar,
const unsigned int  )
inlineprivate

Definition at line 113 of file CbmRichDigi.h.

References fAddress, fTime, and fToT.

◆ SetAddress()

void CbmRichDigi::SetAddress ( int32_t address)
inline

Definition at line 83 of file CbmRichDigi.h.

References fAddress.

Referenced by CbmRichDigitizer::ProcessBuffers(), and TEST().

◆ SetTime()

void CbmRichDigi::SetTime ( double time)
inline

Definition at line 88 of file CbmRichDigi.h.

References fTime.

Referenced by CbmRichDigitizer::ProcessBuffers(), and TEST().

◆ ToString()

std::string CbmRichDigi::ToString ( ) const
inline

Definition at line 91 of file CbmRichDigi.h.

Referenced by TEST().

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

BOOST serialization interface.

Definition at line 111 of file CbmRichDigi.h.

Member Data Documentation

◆ fAddress

int32_t CbmRichDigi::fAddress
private

Unique pixel address.

Definition at line 97 of file CbmRichDigi.h.

Referenced by GetAddress(), serialize(), and SetAddress().

◆ fTime

double CbmRichDigi::fTime
private

Leading (rising) edge time.

Definition at line 102 of file CbmRichDigi.h.

Referenced by GetTime(), serialize(), and SetTime().

◆ fToT

double CbmRichDigi::fToT
private
  \brief Time-over-threshold, pulse width.

This variable is only used in real data analysis, for the simulation it is set to 0.

Definition at line 108 of file CbmRichDigi.h.

Referenced by GetCharge(), GetToT(), and serialize().


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