CbmRoot
|
Data class for expanded digital TOF information. More...
#include <CbmTofDigi.h>
Public Member Functions | |
CbmTofDigi () | |
Default constructor. More... | |
CbmTofDigi (UInt_t address, Double_t time, Double_t tot) | |
Constructor with assignment. More... | |
CbmTofDigi (UInt_t Sm, UInt_t Rpc, UInt_t Channel, Double_t time, Double_t tot, UInt_t Side=0, UInt_t SmType=0) | |
Constructor with detailled assignment. More... | |
CbmTofDigi (const CbmTofDigi &)=default | |
Copy constructor. More... | |
CbmTofDigi (CbmTofDigi &&)=default | |
CbmTofDigi & | operator= (const CbmTofDigi &)=default |
CbmTofDigi & | operator= (CbmTofDigi &&)=default |
~CbmTofDigi () | |
Destructor. More... | |
Int_t | GetAddress () const |
Inherited from CbmDigi. More... | |
Double_t | GetTime () const |
Inherited from CbmDigi. More... | |
Double_t | GetCharge () const |
Inherited from CbmDigi. More... | |
Double_t | GetTot () const |
Alias for GetCharge. More... | |
Double_t | GetSm () const |
Sm. More... | |
Double_t | GetType () const |
Sm Type . More... | |
Double_t | GetRpc () const |
Detector aka Module aka RPC . More... | |
Double_t | GetChannel () const |
Channel . More... | |
Double_t | GetSide () const |
Channel Side. More... | |
void | SetAddress (Int_t address) |
void | SetAddress (UInt_t Sm, UInt_t Rpc, UInt_t Channel, UInt_t Side=0, UInt_t SmType=0) |
void | SetTime (Double_t time) |
void | SetTot (Double_t tot) |
std::string | ToString () const |
Static Public Member Functions | |
static const char * | GetClassName () |
Class name (static) More... | |
static ECbmModuleId | GetSystem () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
ClassDefNV (CbmTofDigi, 2) | |
Private Attributes | |
Double_t | fdTime |
Absolute time [ps]. More... | |
Double_t | fdTot |
Tot [ps]. More... | |
UInt_t | fuAddress |
Unique channel address. More... | |
Friends | |
class | boost::serialization::access |
Data class for expanded digital TOF information.
Data level: TDC CALIB
The information is encoded into 3*4 bytes (2 Double_t + 1 UInt_t). Unique Address: 32 bits following CbmTofAddress Calibrated Time [ps]: 32 bits double Calibrated Tot [ps]: 32 bits double
In triggered setup, the time is relative to the trigger time, which is measured with a resolution of a few ns corresponding to the TDC system clock cycle. In free-streaming setups, the time is relative to the last epoch.
Definition at line 38 of file CbmTofDigi.h.
CbmTofDigi::CbmTofDigi | ( | ) |
Default constructor.
Definition at line 13 of file CbmTofDigi.cxx.
CbmTofDigi::CbmTofDigi | ( | UInt_t | address, |
Double_t | time, | ||
Double_t | tot | ||
) |
Constructor with assignment.
[in] | address | Unique channel address. (cf CbmTofAddress) |
[in] | time | Absolute time [ps]. |
[in] | tot | Time Over Threshold [ps]. |
Definition at line 20 of file CbmTofDigi.cxx.
CbmTofDigi::CbmTofDigi | ( | UInt_t | Sm, |
UInt_t | Rpc, | ||
UInt_t | Channel, | ||
Double_t | time, | ||
Double_t | tot, | ||
UInt_t | Side = 0 , |
||
UInt_t | SmType = 0 |
||
) |
Constructor with detailled assignment.
[in] | Sm | Super Module Id. (cf CbmTofAddress) |
[in] | Rpc | Rpc Id. (cf CbmTofAddress) |
[in] | Channel | Channel Id. (cf CbmTofAddress) |
[in] | time | Absolute time [ps]. |
[in] | tot | Time Over Threshold [ps]. |
[in] | Side | Channel Side (optional, used for strips). (cf CbmTofAddress) |
[in] | Sm | Type Super Module Type (optional). (cf CbmTofAddress) |
Definition at line 27 of file CbmTofDigi.cxx.
References fuAddress, and CbmTofAddress::GetUniqueAddress().
|
default |
Copy constructor.
|
default |
Move constructor
CbmTofDigi::~CbmTofDigi | ( | ) |
Destructor.
Definition at line 42 of file CbmTofDigi.cxx.
|
private |
|
inline |
Inherited from CbmDigi.
Accessors
Definition at line 98 of file CbmTofDigi.h.
References fuAddress.
Referenced by CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmDeviceUnpackTofMcbm2018::BuildTint(), CbmTofEventClusterizer::CalibRawDigis(), CbmCheckTiming::CheckInterSystemOffset(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), compareTofDigiDataMembers(), CbmDeviceUnpackTofMcbm2018::DoUnpack(), CbmTofBuildDigiEvents::Exec(), GetChannel(), GetRpc(), GetSide(), GetSm(), and GetType().
|
inline |
Channel .
Definition at line 136 of file CbmTofDigi.h.
References GetAddress(), and CbmTofAddress::GetChannelId().
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmCheckTiming::CheckInterSystemOffset(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), CbmTofCalibrator::FillCalHist(), CbmTofTests::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), and CbmTofAnaTestbeam::FillHistos().
|
inline |
Inherited from CbmDigi.
Definition at line 116 of file CbmTofDigi.h.
References fdTot.
Referenced by CbmCheckTiming::CheckInterSystemOffset(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), compareTofDigiDataMembers(), CbmCheckDigisNbCorr::Exec(), and GetTot().
|
inlinestatic |
Class name (static)
Definition at line 104 of file CbmTofDigi.h.
Referenced by TEST().
|
inline |
Detector aka Module aka RPC .
Definition at line 132 of file CbmTofDigi.h.
References GetAddress(), and CbmTofAddress::GetRpcId().
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofBuildDigiEvents::Exec(), CbmTofTests::FillHistos(), and CbmTofHitFinderQa::FillHistos().
|
inline |
Channel Side.
Definition at line 142 of file CbmTofDigi.h.
References GetAddress(), and CbmTofAddress::GetChannelSide().
Referenced by CbmTofCosmicClusterizer::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmDeviceUnpackTofMcbm2018::BuildTint(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofBuildDigiEvents::Exec(), CbmTofCalibrator::FillCalHist(), CbmTofTests::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), and CbmTofEventClusterizer::FillHistos().
|
inline |
Sm.
Definition at line 124 of file CbmTofDigi.h.
References GetAddress(), and CbmTofAddress::GetSmId().
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofBuildDigiEvents::Exec(), CbmTofTests::FillHistos(), and CbmTofHitFinderQa::FillHistos().
|
inlinestatic |
Definition at line 106 of file CbmTofDigi.h.
References kTof.
Referenced by compareTofDigiDataMembers().
|
inline |
Inherited from CbmDigi.
Definition at line 111 of file CbmTofDigi.h.
References fdTime.
Referenced by CbmTofCosmicClusterizer::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmDeviceUnpackTofMcbm2018::BuildTint(), CbmTofEventClusterizer::CalibRawDigis(), CbmCheckTiming::CheckIfSortedT0(), CbmCheckTiming::CheckInterSystemOffset(), CbmMcbm2019CheckPulser::CheckInterSystemOffset(), CbmTofDigitize::CompareTimes(), compareTofDigiDataMembers(), CbmDeviceUnpackTofMcbm2018::DoUnpack(), CbmTofBuildDigiEvents::Exec(), CbmPsdMCbmQaReal::Exec(), CbmRichMCbmQaReal::Exec(), CbmCheckDigisNbCorr::Exec(), CbmMcbm2019CheckDtInDet::Exec(), CbmMcbm2019CheckTimingPairs::Exec(), CbmTofCalibrator::FillCalHist(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmCheckEvents::GetTimeDiffT0(), and CbmTofDigitize::MergeSameChanDigis().
|
inline |
Alias for GetCharge.
Definition at line 120 of file CbmTofDigi.h.
References GetCharge().
Referenced by CbmTofCosmicClusterizer::AddNextChan(), CbmTofTestBeamClusterizer::AddNextChan(), CbmTofEventClusterizer::AddNextChan(), CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmDeviceUnpackTofMcbm2018::BuildTint(), CbmTofEventClusterizer::CalibRawDigis(), compareTofDigiDataMembers(), CbmTofBuildDigiEvents::Exec(), CbmTofCalibrator::FillCalHist(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), CbmTofEventClusterizer::FillHistos(), CbmTofAnaTestbeam::FillHistos(), CbmMatchRecoToMC::MatchHitsTof(), CbmTofCosmicClusterizer::MergeClusters(), CbmTofTestBeamClusterizer::MergeClusters(), CbmTofEventClusterizer::MergeClusters(), and CbmTofBuildDigiEvents::ProcessIdealEvents().
|
inline |
Sm Type .
Definition at line 128 of file CbmTofDigi.h.
References GetAddress(), and CbmTofAddress::GetSmType().
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofBuildDigiEvents::Exec(), CbmTofTests::FillHistos(), CbmTofHitFinderQa::FillHistos(), CbmTofCosmicClusterizer::FillHistos(), CbmTofTestBeamClusterizer::FillHistos(), and CbmTofEventClusterizer::FillHistos().
|
default |
Move Assignment operator
|
default |
Assignment operator
|
inlineprivate |
Definition at line 167 of file CbmTofDigi.h.
|
inline |
Modifiers
Definition at line 147 of file CbmTofDigi.h.
References fuAddress.
Referenced by CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), and TEST().
void CbmTofDigi::SetAddress | ( | UInt_t | Sm, |
UInt_t | Rpc, | ||
UInt_t | Channel, | ||
UInt_t | Side = 0 , |
||
UInt_t | SmType = 0 |
||
) |
Definition at line 55 of file CbmTofDigi.cxx.
References fuAddress, and CbmTofAddress::GetUniqueAddress().
|
inline |
Definition at line 153 of file CbmTofDigi.h.
References fdTime.
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofDigitize::MergeSameChanDigis(), and TEST().
|
inline |
Definition at line 154 of file CbmTofDigi.h.
References fdTot.
Referenced by CbmTofSimpClusterizer::BuildClusters(), CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::CalibRawDigis(), CbmTofBuildDigiEvents::Exec(), CbmTofBuildDigiEvents::ProcessIdealEvents(), and TEST().
std::string CbmTofDigi::ToString | ( | ) | const |
Definition at line 47 of file CbmTofDigi.cxx.
References fdTime, fdTot, and fuAddress.
Referenced by CbmTofCosmicClusterizer::BuildClusters(), CbmTofTestBeamClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildClusters(), CbmTofEventClusterizer::BuildHits(), CbmTofEventClusterizer::CalibRawDigis(), and TEST().
|
friend |
Definition at line 164 of file CbmTofDigi.h.
|
private |
Absolute time [ps].
Definition at line 160 of file CbmTofDigi.h.
Referenced by GetTime(), serialize(), SetTime(), and ToString().
|
private |
Tot [ps].
Definition at line 161 of file CbmTofDigi.h.
Referenced by GetCharge(), serialize(), SetTot(), and ToString().
|
private |
Unique channel address.
Definition at line 162 of file CbmTofDigi.h.
Referenced by CbmTofDigi(), GetAddress(), serialize(), SetAddress(), and ToString().