CbmRoot
|
Data class for a single-channel message in the STS. More...
#include <CbmStsDigi.h>
Public Member Functions | |
CbmStsDigi () | |
CbmStsDigi (Int_t address, Int_t channel, ULong64_t time, UShort_t charge) | |
~CbmStsDigi () | |
Int_t | GetAddress () const |
UShort_t | GetChannel () const |
Channel number in module @value Channel number. More... | |
Double_t | GetCharge () const |
Double_t | GetTime () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
void | SetTime (Double_t dNewTime) |
std::string | ToString () const |
Static Public Member Functions | |
static const char * | GetClassName () |
Class name (static) More... | |
static ECbmModuleId | GetSystem () |
Private Member Functions | |
ClassDefNV (CbmStsDigi, 7) | |
Private Attributes | |
Long64_t | fTime = 0. |
Time [ns]. More... | |
Int_t | fAddress = 0 |
Unique element address. More... | |
UShort_t | fChannel = 0 |
Channel number. More... | |
UShort_t | fCharge = 0 |
Charge [ADC units]. More... | |
Friends | |
class | boost::serialization::access |
Data class for a single-channel message in the STS.
The CbmStsDigi is the ROOT representation of the smallest information unit delivered by the CBM-STS by a single readout channel. It carries the channel address, the measurement time and the digitised charge as information.
Definition at line 29 of file CbmStsDigi.h.
|
inline |
Default constructor
Definition at line 33 of file CbmStsDigi.h.
|
inline |
Standard constructor
address | Unique element address |
channel | Channel number |
time | Measurement time [ns] |
charge | Charge [ADC units] |
Definition at line 42 of file CbmStsDigi.h.
|
inline |
Destructor
Definition at line 47 of file CbmStsDigi.h.
|
private |
|
inline |
Unique detector element address (see CbmStsAddress) @value Unique address of readout channel
Definition at line 53 of file CbmStsDigi.h.
References fAddress.
Referenced by CbmStsRecoModule::AddDigiToQueue(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), CbmCheckTiming::CheckTimeOrder(), compareStsDigiDataMembers(), CbmBuildEventsSimple::Exec(), CbmCheckDigisNbCorr::Exec(), CbmMcbm2019CheckTimingPairs::FillCorrBuffer(), CbmMcbm2019CheckPulser::FillSystemOffsetHistos(), CbmRecoSts::ProcessData(), CbmStsDigitizeQa::ProcessDigisAndPoints(), and CbmEvBuildSource::ReadEvent().
|
inline |
Channel number in module @value Channel number.
Definition at line 59 of file CbmStsDigi.h.
References fChannel.
Referenced by CbmStsRecoModule::AddDigiToQueue(), CbmStsAlgoAnaCluster::AnaSize1(), CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), compareStsDigiDataMembers(), CbmMcbm2019CheckDigisSts::Exec(), CbmMcbm2019CheckPulser::FillSystemOffsetHistos(), CbmStsDigitizeQa::ProcessDigisAndPoints(), and CbmStsAlgoAnaCluster::WeightedMean().
|
inline |
Charge @value Charge [ADC units]
Definition at line 71 of file CbmStsDigi.h.
References fCharge.
Referenced by CbmStsAlgoAnaCluster::AnaSize1(), CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), CbmStsTrackFinder::CalculateEloss(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), compareStsDigiDataMembers(), CbmMcbm2019CheckDigisSts::Exec(), CbmStsDigitizeQa::ProcessDigisAndPoints(), CbmKFParticleFinderPID::SetRecoPID(), and CbmStsAlgoAnaCluster::WeightedMean().
|
inlinestatic |
Class name (static)
Definition at line 65 of file CbmStsDigi.h.
Referenced by TEST().
|
inlinestatic |
System ID (static)
Definition at line 77 of file CbmStsDigi.h.
References kSts.
Referenced by compareStsDigiDataMembers().
|
inline |
Time of measurement @value Time [ns]
Definition at line 83 of file CbmStsDigi.h.
References fTime.
Referenced by CbmStsAlgoAnaCluster::AnaSize1(), CbmStsAlgoAnaCluster::AnaSize2(), CbmStsAlgoAnaCluster::AnaSizeN(), compareStsDigiDataMembers(), CbmBuildEventsSimple::Exec(), CbmPsdMCbmQaReal::Exec(), CbmMcbm2019CheckDigisSts::Exec(), CbmRichMCbmQaReal::Exec(), CbmCheckDigisNbCorr::Exec(), and CbmEvBuildSource::ReadEvent().
|
inline |
|
inline |
Update Time of measurement
New | Time [ns] |
Definition at line 98 of file CbmStsDigi.h.
References fTime.
Referenced by TEST().
string CbmStsDigi::ToString | ( | ) | const |
String output
Definition at line 15 of file CbmStsDigi.cxx.
References fAddress, fChannel, fCharge, and fTime.
Referenced by CbmStsDigiSource::PrintStsDigi(), and TEST().
|
friend |
Definition at line 106 of file CbmStsDigi.h.
|
private |
Unique element address.
Definition at line 109 of file CbmStsDigi.h.
Referenced by GetAddress(), serialize(), and ToString().
|
private |
Channel number.
Definition at line 110 of file CbmStsDigi.h.
Referenced by GetChannel(), serialize(), and ToString().
|
private |
Charge [ADC units].
Definition at line 111 of file CbmStsDigi.h.
Referenced by GetCharge(), serialize(), and ToString().
|
private |
Time [ns].
Definition at line 108 of file CbmStsDigi.h.
Referenced by GetTime(), serialize(), SetTime(), and ToString().