CbmRoot
|
#include <CbmMuchDigi.h>
Public Member Functions | |
CbmMuchDigi () | |
CbmMuchDigi (uint32_t address, uint16_t charge=0, uint64_t time=0) | |
CbmMuchDigi (CbmMuchDigi *digi) | |
CbmMuchDigi (const CbmMuchDigi &) | |
CbmMuchDigi & | operator= (const CbmMuchDigi &) |
~CbmMuchDigi () | |
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 |
std::string | ToString () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Static Public Member Functions | |
static ECbmModuleId | GetSystem () |
static const char * | GetClassName () |
Class name (static) | |
static const char * | GetBranchName () |
Get the desired name of the branch for this obj in the cbm output tree (static) | |
Private Member Functions | |
ClassDefNV (CbmMuchDigi, 4) | |
Private Attributes | |
uint64_t | fTime |
uint32_t | fAddress |
uint16_t | fCharge |
bool | fSaturationFlag |
Friends | |
class | boost::serialization::access |
Definition at line 37 of file CbmMuchDigi.h.
|
inline |
Default Constructor
Definition at line 40 of file CbmMuchDigi.h.
|
inline |
Standard constructor
address | Unique element address |
time | Measurement time [ns] |
charge | Charge [ADC units] |
Definition at line 47 of file CbmMuchDigi.h.
CbmMuchDigi::CbmMuchDigi | ( | CbmMuchDigi * | digi | ) |
Definition at line 20 of file CbmMuchDigi.cxx.
CbmMuchDigi::CbmMuchDigi | ( | const CbmMuchDigi & | rhs | ) |
Definition at line 23 of file CbmMuchDigi.cxx.
|
inline |
Destructor
Definition at line 61 of file CbmMuchDigi.h.
|
private |
|
inline |
Definition at line 90 of file CbmMuchDigi.h.
References fCharge.
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), compareMuchDigiDataMembers(), CbmMuchFindHitsGem::CreateHits(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), GetADCCharge(), CbmMuchDigitizerQa::PrintFrontLayerDigis(), and CbmMuchClustering::SetDigiCharges().
|
inline |
Definition at line 106 of file CbmMuchDigi.h.
References GetAdc().
Referenced by CbmMuchClustering::ClusteringWard(), and TEST().
|
inline |
Definition at line 93 of file CbmMuchDigi.h.
References fAddress.
Referenced by CbmMuchDigitizerQa::CheckConsistency(), CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), compareMuchDigiDataMembers(), CbmMuchFindHitsGem::CreateHits(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmMuchDigitizerQa::FillChargePerPoint(), CbmMuchFindHitsGem::FindClusters(), GetChannelId(), GetDetectorId(), CbmMuchDigitizerQa::OccupancyQa(), CbmMuchDigitizerQa::PrintFrontLayerDigis(), CbmMuchHitFinderQa::PullsQa(), CbmMuchDigitizeGem::ReadAndRegister(), and CbmMuchClustering::SetDigiCharges().
|
inlinestatic |
Get the desired name of the branch for this obj in the cbm output tree (static)
Definition at line 87 of file CbmMuchDigi.h.
Referenced by CbmDeviceDigiEventSink::InitTask().
|
inline |
Definition at line 105 of file CbmMuchDigi.h.
References GetAddress().
Referenced by CbmMuchClustering::ClearDigiCharges(), CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), and TEST().
|
inline |
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 fCharge.
Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), and compareMuchDigiDataMembers().
|
inlinestatic |
Class name (static)
Definition at line 81 of file CbmMuchDigi.h.
Referenced by TEST().
|
inline |
Definition at line 104 of file CbmMuchDigi.h.
References GetAddress(), CbmMuchAddress::GetElementAddress(), and kMuchModule.
|
inline |
Definition at line 107 of file CbmMuchDigi.h.
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), and TEST().
|
inlinestatic |
System ID (static)
Definition at line 75 of file CbmMuchDigi.h.
References kMuch.
Referenced by compareMuchDigiDataMembers().
|
inline |
Definition at line 94 of file CbmMuchDigi.h.
References fTime.
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), compareMuchDigiDataMembers(), CbmMuchFindHitsGem::CreateHits(), CbmCheckDigisNbCorr::Exec(), CbmMuchFindHitsGem::FindClusters(), and CbmMuchDigitizeGem::ReadAndRegister().
CbmMuchDigi & CbmMuchDigi::operator= | ( | const CbmMuchDigi & | rhs | ) |
Definition at line 25 of file CbmMuchDigi.cxx.
References fAddress, fCharge, and fTime.
Referenced by CbmMuchBeamTimeDigi::operator=().
|
inline |
Definition at line 112 of file CbmMuchDigi.h.
References fAddress, fCharge, fSaturationFlag, and fTime.
void CbmMuchDigi::SetAdc | ( | int32_t | adc | ) |
Definition at line 37 of file CbmMuchDigi.cxx.
References fCharge, and fSaturationFlag.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and TEST().
|
inline |
Definition at line 100 of file CbmMuchDigi.h.
References fAddress.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and TEST().
|
inline |
Definition at line 99 of file CbmMuchDigi.h.
References fSaturationFlag.
void CbmMuchDigi::SetTime | ( | uint64_t | time | ) |
Definition at line 58 of file CbmMuchDigi.cxx.
References fTime.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and TEST().
|
inline |
Definition at line 109 of file CbmMuchDigi.h.
Referenced by TEST().
|
friend |
Definition at line 122 of file CbmMuchDigi.h.
|
private |
Definition at line 125 of file CbmMuchDigi.h.
Referenced by GetAddress(), operator=(), serialize(), and SetAddress().
|
private |
Definition at line 126 of file CbmMuchDigi.h.
Referenced by GetAdc(), GetCharge(), operator=(), serialize(), and SetAdc().
|
private |
Definition at line 129 of file CbmMuchDigi.h.
Referenced by serialize(), SetAdc(), and SetSaturation().
|
private |
Definition at line 124 of file CbmMuchDigi.h.
Referenced by GetTime(), operator=(), serialize(), and SetTime().