CbmRoot
CbmMvdDigi Class Reference

#include <CbmMvdDigi.h>

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

Public Member Functions

 CbmMvdDigi ()
 
 CbmMvdDigi (Int_t iStation, Int_t iChannelNrX, Int_t iChannelNrY, Float_t charge, Float_t pixelSizeX, Float_t pixelSizeY, Float_t time=0.0, Int_t frame=0)
 
 ~CbmMvdDigi ()
 
Double_t GetCharge () const
 
Int_t GetPixelX ()
 
Int_t GetPixelY ()
 
Double_t GetPixelSizeX ()
 
Double_t GetPixelSizeY ()
 
Int_t GetAdcCharge (Int_t adcDynamic, Int_t adcOffset, Int_t adcBits)
 
Int_t GetFlag ()
 
Int_t GetStationNr ()
 
Int_t GetDetectorId ()
 
Int_t GetAddress () const
 
Double_t GetTime () const
 
Int_t GetFrameNumber ()
 
Int_t GetRefId () const
 
std::string ToString () const
 
Int_t GetDominatorX ()
 
Int_t GetDominatorY ()
 
Int_t GetTrackID ()
 
Int_t GetContributors ()
 
Int_t GetPointID ()
 
void SetCharge (Float_t charge)
 
void SetPixelX (Int_t xIndex)
 
void SetPixelY (Int_t yIndex)
 
void SetPixelIndex (Int_t pixelIndex)
 
void SetDetectorId (Int_t detId)
 
void SetFlag (Int_t flag)
 
void SetFrameNr (Int_t frame)
 
void SetRefId (Int_t refId)
 
Int_t DetectorId (Int_t iStation) const
 
Int_t SystemId (Int_t detectorId) const
 
Int_t StationNr (Int_t detectorId) const
 
 ClassDef (CbmMvdDetectorId, 1)
 

Static Public Member Functions

static const char * GetClassName ()
 
static ECbmModuleId GetSystem ()
 

Private Member Functions

 ClassDef (CbmMvdDigi, 2)
 

Private Attributes

Float_t fCharge
 
Int_t fChannelNrX
 
Int_t fChannelNrY
 
Int_t fTrackID
 
Int_t fPointID
 
Float_t fPixelSizeX
 
Float_t fPixelSizeY
 
Int_t fDetectorId
 
Int_t fChannelNr
 
Double_t fDigiTime
 
Int_t fFrameNumber
 
Int_t fRefId
 
Int_t fDigiFlag
 

Detailed Description

Definition at line 21 of file CbmMvdDigi.h.

Constructor & Destructor Documentation

◆ CbmMvdDigi() [1/2]

CbmMvdDigi::CbmMvdDigi ( )

Default constructor

Definition at line 14 of file CbmMvdDigi.cxx.

◆ CbmMvdDigi() [2/2]

CbmMvdDigi::CbmMvdDigi ( Int_t  iStation,
Int_t  iChannelNrX,
Int_t  iChannelNrY,
Float_t  charge,
Float_t  pixelSizeX,
Float_t  pixelSizeY,
Float_t  time = 0.0,
Int_t  frame = 0 
)

Constructor with all variables

Definition at line 73 of file CbmMvdDigi.cxx.

◆ ~CbmMvdDigi()

CbmMvdDigi::~CbmMvdDigi ( )

charge : of each fired pixel in electrons PixelSize : in cm Destructor

Definition at line 159 of file CbmMvdDigi.cxx.

Member Function Documentation

◆ ClassDef() [1/2]

CbmMvdDetectorId::ClassDef ( CbmMvdDetectorId  ,
 
)
inherited

◆ ClassDef() [2/2]

CbmMvdDigi::ClassDef ( CbmMvdDigi  ,
 
)
private

◆ DetectorId()

Int_t CbmMvdDetectorId::DetectorId ( Int_t  iStation) const
inlineinherited

Create unique detector ID from station number

Definition at line 44 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::CbmMvdHit(), CbmMvdPoint::CbmMvdPoint(), and CbmMvdCluster::GetDetectorId().

◆ GetAdcCharge()

Int_t CbmMvdDigi::GetAdcCharge ( Int_t  adcDynamic,
Int_t  adcOffset,
Int_t  adcBits 
)

adcOffset is the minimum value of the analogue signal adcDynamic is the difference between the max and min values of the full scale measurement range adcBits is the number of bits used to encode the analogue signal

Exemple: If full scale measurement range is from 15 to 20 Volts adcDynamic is the difference 20 - 15 = 5 adcOffset = 15

Definition at line 103 of file CbmMvdDigi.cxx.

References fCharge.

Referenced by CbmMvdSensorFindHitTask::ComputeCenterOfGravity().

◆ GetAddress()

Int_t CbmMvdDigi::GetAddress ( ) const

Unique channel address

Definition at line 147 of file CbmMvdDigi.cxx.

◆ GetCharge()

◆ GetClassName()

static const char* CbmMvdDigi::GetClassName ( )
inlinestatic

Definition at line 45 of file CbmMvdDigi.h.

◆ GetContributors()

Int_t CbmMvdDigi::GetContributors ( )
inline

Definition at line 71 of file CbmMvdDigi.h.

◆ GetDetectorId()

Int_t CbmMvdDigi::GetDetectorId ( )
inline

◆ GetDominatorX()

Int_t CbmMvdDigi::GetDominatorX ( )
inline

Definition at line 68 of file CbmMvdDigi.h.

◆ GetDominatorY()

Int_t CbmMvdDigi::GetDominatorY ( )
inline

Definition at line 69 of file CbmMvdDigi.h.

◆ GetFlag()

Int_t CbmMvdDigi::GetFlag ( )
inline

Definition at line 55 of file CbmMvdDigi.h.

References fDigiFlag.

◆ GetFrameNumber()

Int_t CbmMvdDigi::GetFrameNumber ( )
inline

Absolute time [ns]

Definition at line 60 of file CbmMvdDigi.h.

References fFrameNumber.

◆ GetPixelSizeX()

Double_t CbmMvdDigi::GetPixelSizeX ( )
inline

Definition at line 52 of file CbmMvdDigi.h.

References fPixelSizeX.

Referenced by CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), and CbmMvdClusterAna::Exec().

◆ GetPixelSizeY()

Double_t CbmMvdDigi::GetPixelSizeY ( )
inline

Definition at line 53 of file CbmMvdDigi.h.

References fPixelSizeY.

Referenced by CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), and CbmMvdClusterAna::Exec().

◆ GetPixelX()

◆ GetPixelY()

◆ GetPointID()

Int_t CbmMvdDigi::GetPointID ( )
inline

Definition at line 72 of file CbmMvdDigi.h.

◆ GetRefId()

Int_t CbmMvdDigi::GetRefId ( ) const
inline

◆ GetStationNr()

Int_t CbmMvdDigi::GetStationNr ( )
inline

Definition at line 56 of file CbmMvdDigi.h.

References fDetectorId, and CbmMvdDetectorId::StationNr().

◆ GetSystem()

static ECbmModuleId CbmMvdDigi::GetSystem ( )
inlinestatic

Definition at line 46 of file CbmMvdDigi.h.

References kMvd.

◆ GetTime()

Double_t CbmMvdDigi::GetTime ( ) const

Unique channel address

Absolute time [ns]

Definition at line 152 of file CbmMvdDigi.cxx.

References fDigiTime.

◆ GetTrackID()

Int_t CbmMvdDigi::GetTrackID ( )
inline

Definition at line 70 of file CbmMvdDigi.h.

◆ SetCharge()

void CbmMvdDigi::SetCharge ( Float_t  charge)
inline

Modifiers

Definition at line 77 of file CbmMvdDigi.h.

References fCharge.

Referenced by CbmMvdSensorFindHitTask::AddNoiseToDigis().

◆ SetDetectorId()

void CbmMvdDigi::SetDetectorId ( Int_t  detId)
inline

Definition at line 81 of file CbmMvdDigi.h.

References fDetectorId.

◆ SetFlag()

void CbmMvdDigi::SetFlag ( Int_t  flag)
inline

Definition at line 82 of file CbmMvdDigi.h.

References fDigiFlag.

◆ SetFrameNr()

void CbmMvdDigi::SetFrameNr ( Int_t  frame)
inline

Definition at line 83 of file CbmMvdDigi.h.

References fFrameNumber.

◆ SetPixelIndex()

void CbmMvdDigi::SetPixelIndex ( Int_t  pixelIndex)
inline

Definition at line 80 of file CbmMvdDigi.h.

References fChannelNr.

◆ SetPixelX()

void CbmMvdDigi::SetPixelX ( Int_t  xIndex)
inline

Definition at line 78 of file CbmMvdDigi.h.

References fChannelNrX, and xIndex.

◆ SetPixelY()

void CbmMvdDigi::SetPixelY ( Int_t  yIndex)
inline

Definition at line 79 of file CbmMvdDigi.h.

References fChannelNrY, and yIndex.

◆ SetRefId()

void CbmMvdDigi::SetRefId ( Int_t  refId)
inline

Definition at line 84 of file CbmMvdDigi.h.

References fRefId.

Referenced by CbmMvdDetector::SendInputDigis(), and CbmMvdDetector::SendInputDigisToHits().

◆ StationNr()

Int_t CbmMvdDetectorId::StationNr ( Int_t  detectorId) const
inlineinherited

Get station number from detector ID

Definition at line 61 of file CbmMvdDetectorId.h.

Referenced by GetStationNr(), CbmMvdHit::GetStationNr(), and CbmMvdPoint::GetStationNr().

◆ SystemId()

Int_t CbmMvdDetectorId::SystemId ( Int_t  detectorId) const
inlineinherited

Get System identifier from detector ID

Definition at line 50 of file CbmMvdDetectorId.h.

References kMvd, and ToIntegralType().

Referenced by CbmMvdHit::GetSystemId(), and CbmMvdPoint::GetSystemId().

◆ ToString()

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

Definition at line 65 of file CbmMvdDigi.h.

Member Data Documentation

◆ fChannelNr

Int_t CbmMvdDigi::fChannelNr
private

Definition at line 95 of file CbmMvdDigi.h.

Referenced by SetPixelIndex().

◆ fChannelNrX

Int_t CbmMvdDigi::fChannelNrX
private

Definition at line 88 of file CbmMvdDigi.h.

Referenced by GetPixelX(), and SetPixelX().

◆ fChannelNrY

Int_t CbmMvdDigi::fChannelNrY
private

Definition at line 89 of file CbmMvdDigi.h.

Referenced by GetPixelY(), and SetPixelY().

◆ fCharge

Float_t CbmMvdDigi::fCharge
private

Definition at line 87 of file CbmMvdDigi.h.

Referenced by GetAdcCharge(), GetCharge(), and SetCharge().

◆ fDetectorId

Int_t CbmMvdDigi::fDetectorId
private

Definition at line 94 of file CbmMvdDigi.h.

Referenced by GetDetectorId(), GetStationNr(), and SetDetectorId().

◆ fDigiFlag

Int_t CbmMvdDigi::fDigiFlag
private

Definition at line 101 of file CbmMvdDigi.h.

Referenced by GetFlag(), and SetFlag().

◆ fDigiTime

Double_t CbmMvdDigi::fDigiTime
private

Definition at line 96 of file CbmMvdDigi.h.

Referenced by GetTime().

◆ fFrameNumber

Int_t CbmMvdDigi::fFrameNumber
private

Definition at line 97 of file CbmMvdDigi.h.

Referenced by GetFrameNumber(), and SetFrameNr().

◆ fPixelSizeX

Float_t CbmMvdDigi::fPixelSizeX
private

Definition at line 92 of file CbmMvdDigi.h.

Referenced by GetPixelSizeX().

◆ fPixelSizeY

Float_t CbmMvdDigi::fPixelSizeY
private

Definition at line 93 of file CbmMvdDigi.h.

Referenced by GetPixelSizeY().

◆ fPointID

Int_t CbmMvdDigi::fPointID
private

Definition at line 91 of file CbmMvdDigi.h.

◆ fRefId

Int_t CbmMvdDigi::fRefId
private

Definition at line 98 of file CbmMvdDigi.h.

Referenced by GetRefId(), and SetRefId().

◆ fTrackID

Int_t CbmMvdDigi::fTrackID
private

Definition at line 90 of file CbmMvdDigi.h.


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