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

#include <CbmMuchBeamTimeDigi.h>

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

Public Member Functions

 CbmMuchBeamTimeDigi ()
 
 CbmMuchBeamTimeDigi (int32_t address, int32_t charge=0, uint64_t time=0)
 
 CbmMuchBeamTimeDigi (CbmMuchBeamTimeDigi *digi)
 
 CbmMuchBeamTimeDigi (const CbmMuchBeamTimeDigi &)
 
CbmMuchBeamTimeDigioperator= (const CbmMuchBeamTimeDigi &)
 
virtual ~CbmMuchBeamTimeDigi ()
 
void SetPadX (int32_t padX)
 
void SetPadY (int32_t padY)
 
void SetRocId (int32_t rocId)
 
void SetNxId (int32_t nxId)
 
void SetNxCh (int32_t nxCh)
 
void SetElink (int32_t elink)
 
int32_t GetPadX () const
 
int32_t GetPadY () const
 
int32_t GetRocId () const
 
int32_t GetNxId () const
 
int32_t GetNxCh () const
 
int32_t GetElink () const
 
std::string ToString () const
 
double GetCharge () const
 Charge.
 
uint16_t GetAdc () const
 
int32_t GetAddress () const
 
double GetTime () const
 
void SetAdc (int32_t adc)
 
void SetTime (uint64_t time)
 
void SetSaturation (bool saturate)
 
void SetAddress (int32_t address)
 
int32_t GetDetectorId () const
 
int32_t GetChannelId () const
 
int32_t GetADCCharge () const
 
int32_t GetDTime () const
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Static Public Member Functions

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

Private Member Functions

 ClassDef (CbmMuchBeamTimeDigi, 3)
 
 ClassDefNV (CbmMuchDigi, 4)
 

Private Attributes

int32_t fPadX
 
int32_t fPadY
 
int32_t fRocId
 
int32_t fNxId
 
int32_t fNxCh
 
int32_t fElink
 
uint64_t fTime
 
uint32_t fAddress
 
uint16_t fCharge
 
bool fSaturationFlag
 

Detailed Description

CbmMuchBeamTimeDigi.h

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Since
19.03.07
Version
1.0
Author
Vikas Singhal vikas.nosp@m.@vec.nosp@m.c.gov.nosp@m..in
Since
06.03.19
Version
2.0

Data class for digital MUCH information collected during BeamTime Data level: RAW To use reconstruction classes for CbmMuchBeamTimeDigi deriving it from CbmMuchDigi. VS

Definition at line 33 of file CbmMuchBeamTimeDigi.h.

Constructor & Destructor Documentation

◆ CbmMuchBeamTimeDigi() [1/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( )

CbmMuchBeamTimeDigi.cxx

Author
M.Ryzhinskiy m.ryz.nosp@m.hins.nosp@m.kiy@g.nosp@m.si.d.nosp@m.e
Since
19.03.07
Version
1.0
Author
Vikas Singhal vikas.nosp@m.@vec.nosp@m.c.gov.nosp@m..in
Since
06.03.19
Version
2.0

Data class for digital MUCH information collected during BeamTime Data level: RAW To use reconstruction classes for CbmMuchBeamTimeDigi deriving it from CbmMuchDigi. VS

Definition at line 22 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [2/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( int32_t address,
int32_t charge = 0,
uint64_t time = 0 )

Definition at line 36 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [3/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( CbmMuchBeamTimeDigi * digi)

Definition at line 48 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [4/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( const CbmMuchBeamTimeDigi & rhs)

Definition at line 59 of file CbmMuchBeamTimeDigi.cxx.

◆ ~CbmMuchBeamTimeDigi()

virtual CbmMuchBeamTimeDigi::~CbmMuchBeamTimeDigi ( )
inlinevirtual

Definition at line 42 of file CbmMuchBeamTimeDigi.h.

Member Function Documentation

◆ ClassDef()

CbmMuchBeamTimeDigi::ClassDef ( CbmMuchBeamTimeDigi ,
3  )
private

◆ ClassDefNV()

CbmMuchDigi::ClassDefNV ( CbmMuchDigi ,
4  )
privateinherited

◆ GetAdc()

◆ GetADCCharge()

int32_t CbmMuchDigi::GetADCCharge ( ) const
inlineinherited

Definition at line 106 of file CbmMuchDigi.h.

References CbmMuchDigi::GetAdc().

Referenced by CbmMuchClustering::ClusteringWard(), and TEST().

◆ GetAddress()

◆ GetBranchName()

static const char * CbmMuchDigi::GetBranchName ( )
inlinestaticinherited

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

Returns
"MuchDigi"

Definition at line 87 of file CbmMuchDigi.h.

Referenced by CbmDeviceDigiEventSink::InitTask().

◆ GetChannelId()

int32_t CbmMuchDigi::GetChannelId ( ) const
inlineinherited

◆ GetCharge()

double CbmMuchDigi::GetCharge ( ) const
inlineinherited

Charge.

Returns
Return ADC value as charge

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

Definition at line 69 of file CbmMuchDigi.h.

References CbmMuchDigi::fCharge.

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

◆ GetClassName()

static const char * CbmMuchBeamTimeDigi::GetClassName ( )
inlinestatic

Class name (static)

Returns
CbmMuchBeamTimeDigi

Definition at line 64 of file CbmMuchBeamTimeDigi.h.

Referenced by TEST().

◆ GetDetectorId()

int32_t CbmMuchDigi::GetDetectorId ( ) const
inlineinherited

◆ GetDTime()

int32_t CbmMuchDigi::GetDTime ( ) const
inlineinherited

◆ GetElink()

int32_t CbmMuchBeamTimeDigi::GetElink ( ) const
inline

Definition at line 56 of file CbmMuchBeamTimeDigi.h.

References fElink.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetNxCh()

int32_t CbmMuchBeamTimeDigi::GetNxCh ( ) const
inline

◆ GetNxId()

int32_t CbmMuchBeamTimeDigi::GetNxId ( ) const
inline

◆ GetPadX()

int32_t CbmMuchBeamTimeDigi::GetPadX ( ) const
inline

Definition at line 51 of file CbmMuchBeamTimeDigi.h.

References fPadX.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetPadY()

int32_t CbmMuchBeamTimeDigi::GetPadY ( ) const
inline

Definition at line 52 of file CbmMuchBeamTimeDigi.h.

References fPadY.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetRocId()

int32_t CbmMuchBeamTimeDigi::GetRocId ( ) const
inline

◆ GetSystem()

static ECbmModuleId CbmMuchDigi::GetSystem ( )
inlinestaticinherited

System ID (static)

Returns
System identifier (EcbmModuleId)

Definition at line 75 of file CbmMuchDigi.h.

References kMuch.

Referenced by compareMuchDigiDataMembers().

◆ GetTime()

◆ operator=()

CbmMuchBeamTimeDigi & CbmMuchBeamTimeDigi::operator= ( const CbmMuchBeamTimeDigi & rhs)

Definition at line 70 of file CbmMuchBeamTimeDigi.cxx.

References fElink, fNxCh, fNxId, fPadX, fPadY, fRocId, and CbmMuchDigi::operator=().

◆ serialize()

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

◆ SetAdc()

void CbmMuchDigi::SetAdc ( int32_t adc)
inherited

◆ SetAddress()

void CbmMuchDigi::SetAddress ( int32_t address)
inlineinherited

Definition at line 100 of file CbmMuchDigi.h.

References CbmMuchDigi::fAddress.

Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and TEST().

◆ SetElink()

void CbmMuchBeamTimeDigi::SetElink ( int32_t elink)
inline

Definition at line 49 of file CbmMuchBeamTimeDigi.h.

References fElink.

Referenced by TEST().

◆ SetNxCh()

void CbmMuchBeamTimeDigi::SetNxCh ( int32_t nxCh)
inline

Definition at line 48 of file CbmMuchBeamTimeDigi.h.

References fNxCh.

Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), and TEST().

◆ SetNxId()

void CbmMuchBeamTimeDigi::SetNxId ( int32_t nxId)
inline

Definition at line 47 of file CbmMuchBeamTimeDigi.h.

References fNxId.

Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), and TEST().

◆ SetPadX()

void CbmMuchBeamTimeDigi::SetPadX ( int32_t padX)
inline

Definition at line 44 of file CbmMuchBeamTimeDigi.h.

References fPadX.

Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), and TEST().

◆ SetPadY()

void CbmMuchBeamTimeDigi::SetPadY ( int32_t padY)
inline

Definition at line 45 of file CbmMuchBeamTimeDigi.h.

References fPadY.

Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), and TEST().

◆ SetRocId()

void CbmMuchBeamTimeDigi::SetRocId ( int32_t rocId)
inline

Definition at line 46 of file CbmMuchBeamTimeDigi.h.

References fRocId.

Referenced by CbmMcbm2018UnpackerAlgoMuch::CreateMuchDigi(), and TEST().

◆ SetSaturation()

void CbmMuchDigi::SetSaturation ( bool saturate)
inlineinherited

Definition at line 99 of file CbmMuchDigi.h.

References CbmMuchDigi::fSaturationFlag.

◆ SetTime()

void CbmMuchDigi::SetTime ( uint64_t time)
inherited

Definition at line 58 of file CbmMuchDigi.cxx.

References CbmMuchDigi::fTime.

Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and TEST().

◆ ToString()

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

Definition at line 58 of file CbmMuchBeamTimeDigi.h.

Referenced by TEST().

Member Data Documentation

◆ fAddress

uint32_t CbmMuchDigi::fAddress
privateinherited

◆ fCharge

uint16_t CbmMuchDigi::fCharge
privateinherited

◆ fElink

int32_t CbmMuchBeamTimeDigi::fElink
private

Definition at line 73 of file CbmMuchBeamTimeDigi.h.

Referenced by GetElink(), operator=(), and SetElink().

◆ fNxCh

int32_t CbmMuchBeamTimeDigi::fNxCh
private

Definition at line 72 of file CbmMuchBeamTimeDigi.h.

Referenced by GetNxCh(), operator=(), and SetNxCh().

◆ fNxId

int32_t CbmMuchBeamTimeDigi::fNxId
private

Definition at line 71 of file CbmMuchBeamTimeDigi.h.

Referenced by GetNxId(), operator=(), and SetNxId().

◆ fPadX

int32_t CbmMuchBeamTimeDigi::fPadX
private

Definition at line 68 of file CbmMuchBeamTimeDigi.h.

Referenced by GetPadX(), operator=(), and SetPadX().

◆ fPadY

int32_t CbmMuchBeamTimeDigi::fPadY
private

Definition at line 69 of file CbmMuchBeamTimeDigi.h.

Referenced by GetPadY(), operator=(), and SetPadY().

◆ fRocId

int32_t CbmMuchBeamTimeDigi::fRocId
private

Definition at line 70 of file CbmMuchBeamTimeDigi.h.

Referenced by GetRocId(), operator=(), and SetRocId().

◆ fSaturationFlag

bool CbmMuchDigi::fSaturationFlag
privateinherited
Initial value:
=
0

Definition at line 129 of file CbmMuchDigi.h.

Referenced by CbmMuchDigi::serialize(), CbmMuchDigi::SetAdc(), and CbmMuchDigi::SetSaturation().

◆ fTime

uint64_t CbmMuchDigi::fTime
privateinherited

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