CbmRoot
|
#include <CbmMvdDigi.h>
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 |
Definition at line 21 of file CbmMvdDigi.h.
CbmMvdDigi::CbmMvdDigi | ( | ) |
Default constructor
Definition at line 14 of file CbmMvdDigi.cxx.
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 | ( | ) |
charge : of each fired pixel in electrons PixelSize : in cm Destructor
Definition at line 159 of file CbmMvdDigi.cxx.
|
inherited |
|
private |
|
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().
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().
Int_t CbmMvdDigi::GetAddress | ( | ) | const |
Unique channel address
Definition at line 147 of file CbmMvdDigi.cxx.
|
inline |
Accessors
Definition at line 49 of file CbmMvdDigi.h.
References fCharge.
Referenced by CbmMvdSensorFindHitTask::AddNoiseToDigis(), CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorDigiToHitTask::Exec(), CbmMvdSensorFindHitTask::Exec(), and CbmMvdSensorFindHitTask::UpdateDebugHistos().
|
inlinestatic |
Definition at line 45 of file CbmMvdDigi.h.
|
inline |
Definition at line 71 of file CbmMvdDigi.h.
|
inline |
Definition at line 57 of file CbmMvdDigi.h.
References fDetectorId.
Referenced by CbmMvdQa::ExecDigiQa(), CbmMvdDetector::SendInputDigis(), and CbmMvdDetector::SendInputDigisToHits().
|
inline |
Definition at line 68 of file CbmMvdDigi.h.
|
inline |
Definition at line 69 of file CbmMvdDigi.h.
|
inline |
Definition at line 55 of file CbmMvdDigi.h.
References fDigiFlag.
|
inline |
|
inline |
Definition at line 52 of file CbmMvdDigi.h.
References fPixelSizeX.
Referenced by CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), and CbmMvdClusterAna::Exec().
|
inline |
Definition at line 53 of file CbmMvdDigi.h.
References fPixelSizeY.
Referenced by CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), and CbmMvdClusterAna::Exec().
Int_t CbmMvdDigi::GetPixelX | ( | ) |
Definition at line 141 of file CbmMvdDigi.cxx.
References fChannelNrX.
Referenced by CbmMvdSensorClusterfinderTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), CbmMvdClusterAna::Exec(), CbmMvdSensorReadoutTask::Exec(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorDigiToHitTask::Exec(), CbmMvdSensorFindHitTask::Exec(), CbmMvdQa::ExecDigiQa(), and CbmMvdSensorFindHitTask::UpdateDebugHistos().
Int_t CbmMvdDigi::GetPixelY | ( | ) |
Definition at line 143 of file CbmMvdDigi.cxx.
References fChannelNrY.
Referenced by CbmMvdSensorClusterfinderTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::CheckForNeighbours(), CbmMvdSensorFindHitTask::ComputeCenterOfGravity(), CbmMvdClusterAna::Exec(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorDigiToHitTask::Exec(), CbmMvdSensorFindHitTask::Exec(), CbmMvdQa::ExecDigiQa(), and CbmMvdSensorFindHitTask::UpdateDebugHistos().
|
inline |
Definition at line 72 of file CbmMvdDigi.h.
|
inline |
Definition at line 63 of file CbmMvdDigi.h.
References fRefId.
Referenced by CbmMvdSensorFindHitTask::CreateHit(), CbmMvdSensorClusterfinderTask::Exec(), CbmMvdSensorFindHitTask::Exec(), and CbmMvdSensorDigiToHitTask::Exec().
|
inline |
Definition at line 56 of file CbmMvdDigi.h.
References fDetectorId, and CbmMvdDetectorId::StationNr().
|
inlinestatic |
Definition at line 46 of file CbmMvdDigi.h.
References kMvd.
Double_t CbmMvdDigi::GetTime | ( | ) | const |
Unique channel address
Absolute time [ns]
Definition at line 152 of file CbmMvdDigi.cxx.
References fDigiTime.
|
inline |
Definition at line 70 of file CbmMvdDigi.h.
|
inline |
Modifiers
Definition at line 77 of file CbmMvdDigi.h.
References fCharge.
Referenced by CbmMvdSensorFindHitTask::AddNoiseToDigis().
|
inline |
Definition at line 81 of file CbmMvdDigi.h.
References fDetectorId.
|
inline |
Definition at line 82 of file CbmMvdDigi.h.
References fDigiFlag.
|
inline |
Definition at line 83 of file CbmMvdDigi.h.
References fFrameNumber.
|
inline |
Definition at line 80 of file CbmMvdDigi.h.
References fChannelNr.
|
inline |
Definition at line 78 of file CbmMvdDigi.h.
References fChannelNrX, and xIndex.
|
inline |
Definition at line 79 of file CbmMvdDigi.h.
References fChannelNrY, and yIndex.
|
inline |
Definition at line 84 of file CbmMvdDigi.h.
References fRefId.
Referenced by CbmMvdDetector::SendInputDigis(), and CbmMvdDetector::SendInputDigisToHits().
|
inlineinherited |
Get station number from detector ID
Definition at line 61 of file CbmMvdDetectorId.h.
Referenced by GetStationNr(), CbmMvdHit::GetStationNr(), and CbmMvdPoint::GetStationNr().
|
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().
|
inline |
Definition at line 65 of file CbmMvdDigi.h.
|
private |
Definition at line 95 of file CbmMvdDigi.h.
Referenced by SetPixelIndex().
|
private |
Definition at line 88 of file CbmMvdDigi.h.
Referenced by GetPixelX(), and SetPixelX().
|
private |
Definition at line 89 of file CbmMvdDigi.h.
Referenced by GetPixelY(), and SetPixelY().
|
private |
Definition at line 87 of file CbmMvdDigi.h.
Referenced by GetAdcCharge(), GetCharge(), and SetCharge().
|
private |
Definition at line 94 of file CbmMvdDigi.h.
Referenced by GetDetectorId(), GetStationNr(), and SetDetectorId().
|
private |
Definition at line 101 of file CbmMvdDigi.h.
|
private |
Definition at line 96 of file CbmMvdDigi.h.
Referenced by GetTime().
|
private |
Definition at line 97 of file CbmMvdDigi.h.
Referenced by GetFrameNumber(), and SetFrameNr().
|
private |
Definition at line 92 of file CbmMvdDigi.h.
Referenced by GetPixelSizeX().
|
private |
Definition at line 93 of file CbmMvdDigi.h.
Referenced by GetPixelSizeY().
|
private |
Definition at line 91 of file CbmMvdDigi.h.
|
private |
Definition at line 98 of file CbmMvdDigi.h.
Referenced by GetRefId(), and SetRefId().
|
private |
Definition at line 90 of file CbmMvdDigi.h.