CbmRoot
CbmMuchBeamTimeDigi Class Reference

#include <CbmMuchBeamTimeDigi.h>

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

Public Member Functions

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

Static Public Member Functions

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

Private Member Functions

 ClassDef (CbmMuchBeamTimeDigi, 3)
 

Private Attributes

Int_t fPadX
 
Int_t fPadY
 
Int_t fRocId
 
Int_t fNxId
 
Int_t fNxCh
 
Int_t fElink
 
ULong64_t fTime
 
UInt_t fAddress
 
UShort_t fCharge
 
Bool_t 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 29 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 18 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [2/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( Int_t  address,
Int_t  charge = 0,
ULong64_t  time = 0 
)

Definition at line 30 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [3/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( CbmMuchBeamTimeDigi digi)

Definition at line 42 of file CbmMuchBeamTimeDigi.cxx.

◆ CbmMuchBeamTimeDigi() [4/4]

CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi ( const CbmMuchBeamTimeDigi rhs)

Definition at line 51 of file CbmMuchBeamTimeDigi.cxx.

◆ ~CbmMuchBeamTimeDigi()

virtual CbmMuchBeamTimeDigi::~CbmMuchBeamTimeDigi ( )
inlinevirtual

Definition at line 38 of file CbmMuchBeamTimeDigi.h.

Member Function Documentation

◆ ClassDef()

CbmMuchBeamTimeDigi::ClassDef ( CbmMuchBeamTimeDigi  ,
 
)
private

◆ GetAdc()

◆ GetADCCharge()

Int_t CbmMuchDigi::GetADCCharge ( ) const
inlineinherited

Definition at line 92 of file CbmMuchDigi.h.

References CbmMuchDigi::GetAdc().

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

◆ GetAddress()

◆ GetChannelId()

Int_t CbmMuchDigi::GetChannelId ( ) const
inlineinherited

◆ GetCharge()

Double_t 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 59 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 60 of file CbmMuchBeamTimeDigi.h.

Referenced by TEST().

◆ GetDetectorId()

Int_t CbmMuchDigi::GetDetectorId ( ) const
inlineinherited

◆ GetDTime()

Int_t CbmMuchDigi::GetDTime ( ) const
inlineinherited

◆ GetElink()

Int_t CbmMuchBeamTimeDigi::GetElink ( ) const
inline

Definition at line 52 of file CbmMuchBeamTimeDigi.h.

References fElink.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetNxCh()

Int_t CbmMuchBeamTimeDigi::GetNxCh ( ) const
inline

◆ GetNxId()

◆ GetPadX()

Int_t CbmMuchBeamTimeDigi::GetPadX ( ) const
inline

Definition at line 47 of file CbmMuchBeamTimeDigi.h.

References fPadX.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetPadY()

Int_t CbmMuchBeamTimeDigi::GetPadY ( ) const
inline

Definition at line 48 of file CbmMuchBeamTimeDigi.h.

References fPadY.

Referenced by compareMuchBeamTimeDigiDataMembers().

◆ GetRocId()

Int_t CbmMuchBeamTimeDigi::GetRocId ( ) const
inline

◆ GetSystem()

static ECbmModuleId CbmMuchDigi::GetSystem ( )
inlinestaticinherited

System ID (static)

Returns
System identifier (EcbmModuleId)

Definition at line 65 of file CbmMuchDigi.h.

References kMuch.

Referenced by compareMuchDigiDataMembers().

◆ GetTime()

◆ operator=()

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

Definition at line 61 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 ( Int_t  adc)
inherited

◆ SetAddress()

void CbmMuchDigi::SetAddress ( Int_t  address)
inlineinherited

Definition at line 84 of file CbmMuchDigi.h.

References CbmMuchDigi::fAddress.

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

◆ SetElink()

void CbmMuchBeamTimeDigi::SetElink ( Int_t  elink)
inline

Definition at line 45 of file CbmMuchBeamTimeDigi.h.

References fElink.

Referenced by TEST().

◆ SetNxCh()

void CbmMuchBeamTimeDigi::SetNxCh ( Int_t  nxCh)
inline

Definition at line 44 of file CbmMuchBeamTimeDigi.h.

References fNxCh.

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

◆ SetNxId()

void CbmMuchBeamTimeDigi::SetNxId ( Int_t  nxId)
inline

Definition at line 43 of file CbmMuchBeamTimeDigi.h.

References fNxId.

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

◆ SetPadX()

void CbmMuchBeamTimeDigi::SetPadX ( Int_t  padX)
inline

Definition at line 40 of file CbmMuchBeamTimeDigi.h.

References fPadX.

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

◆ SetPadY()

void CbmMuchBeamTimeDigi::SetPadY ( Int_t  padY)
inline

Definition at line 41 of file CbmMuchBeamTimeDigi.h.

References fPadY.

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

◆ SetRocId()

void CbmMuchBeamTimeDigi::SetRocId ( Int_t  rocId)
inline

Definition at line 42 of file CbmMuchBeamTimeDigi.h.

References fRocId.

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

◆ SetSaturation()

void CbmMuchDigi::SetSaturation ( Bool_t  saturate)
inlineinherited

Definition at line 83 of file CbmMuchDigi.h.

References CbmMuchDigi::fSaturationFlag.

◆ SetTime()

void CbmMuchDigi::SetTime ( ULong64_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 54 of file CbmMuchBeamTimeDigi.h.

Referenced by TEST().

Member Data Documentation

◆ fAddress

UInt_t CbmMuchDigi::fAddress
privateinherited

◆ fCharge

UShort_t CbmMuchDigi::fCharge
privateinherited

◆ fElink

Int_t CbmMuchBeamTimeDigi::fElink
private

Definition at line 69 of file CbmMuchBeamTimeDigi.h.

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

◆ fNxCh

Int_t CbmMuchBeamTimeDigi::fNxCh
private

Definition at line 68 of file CbmMuchBeamTimeDigi.h.

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

◆ fNxId

Int_t CbmMuchBeamTimeDigi::fNxId
private

Definition at line 67 of file CbmMuchBeamTimeDigi.h.

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

◆ fPadX

Int_t CbmMuchBeamTimeDigi::fPadX
private

Definition at line 64 of file CbmMuchBeamTimeDigi.h.

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

◆ fPadY

Int_t CbmMuchBeamTimeDigi::fPadY
private

Definition at line 65 of file CbmMuchBeamTimeDigi.h.

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

◆ fRocId

Int_t CbmMuchBeamTimeDigi::fRocId
private

Definition at line 66 of file CbmMuchBeamTimeDigi.h.

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

◆ fSaturationFlag

Bool_t CbmMuchDigi::fSaturationFlag
privateinherited
Initial value:
=
0

Definition at line 114 of file CbmMuchDigi.h.

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

◆ fTime

ULong64_t CbmMuchDigi::fTime
privateinherited

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