CbmRoot
CbmRichDigi Class Reference

#include <CbmRichDigi.h>

Public Member Functions

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

Static Public Member Functions

static const char * GetClassName ()
 Class name (static) More...
 
static ECbmModuleId GetSystem ()
 System identifier. More...
 

Private Member Functions

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

Private Attributes

Int_t fAddress
 Unique pixel address. More...
 
Double_t fTime
 Leading (rising) edge time. More...
 
Double_t fToT
 Time-over-threshold, pulse width. More...
 

Friends

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

Detailed Description

Definition at line 25 of file CbmRichDigi.h.

Constructor & Destructor Documentation

◆ CbmRichDigi() [1/2]

CbmRichDigi::CbmRichDigi ( )

Definition at line 12 of file CbmRichDigi.cxx.

◆ CbmRichDigi() [2/2]

CbmRichDigi::CbmRichDigi ( Int_t  addr,
Double_t  time,
Double_t  tot 
)

Definition at line 16 of file CbmRichDigi.cxx.

◆ ~CbmRichDigi()

CbmRichDigi::~CbmRichDigi ( )

Definition at line 19 of file CbmRichDigi.cxx.

Member Function Documentation

◆ ClassDefNV()

CbmRichDigi::ClassDefNV ( CbmRichDigi  ,
 
)
private

◆ GetAddress()

◆ GetCharge()

Double_t 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 45 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 50 of file CbmRichDigi.h.

Referenced by TEST().

◆ GetSystem()

static ECbmModuleId CbmRichDigi::GetSystem ( )
inlinestatic

System identifier.

Returns
kRich (ECbmModuleId), static

Definition at line 55 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 101 of file CbmRichDigi.h.

References fAddress, fTime, and fToT.

◆ SetAddress()

void CbmRichDigi::SetAddress ( Int_t  address)
inline

Definition at line 72 of file CbmRichDigi.h.

References fAddress.

Referenced by CbmRichDigitizer::AddDigi(), CbmRichDigitizer::AddDigisToOutputArray(), and TEST().

◆ SetTime()

void CbmRichDigi::SetTime ( Double_t  time)
inline

Definition at line 77 of file CbmRichDigi.h.

References fTime.

Referenced by CbmRichDigitizer::AddDigi(), CbmRichDigitizer::AddDigisToOutputArray(), and TEST().

◆ ToString()

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

Definition at line 80 of file CbmRichDigi.h.

Referenced by TEST().

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

BOOST serialization interface.

Definition at line 99 of file CbmRichDigi.h.

Member Data Documentation

◆ fAddress

Int_t CbmRichDigi::fAddress
private

Unique pixel address.

Definition at line 86 of file CbmRichDigi.h.

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

◆ fTime

Double_t CbmRichDigi::fTime
private

Leading (rising) edge time.

Definition at line 91 of file CbmRichDigi.h.

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

◆ fToT

Double_t CbmRichDigi::fToT
private

Time-over-threshold, pulse width.

Definition at line 96 of file CbmRichDigi.h.

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


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