CbmRoot
|
Data class for PSD digital information. More...
#include <CbmPsdDigi.h>
Public Member Functions | |
CbmPsdDigi () | |
Default constructor. More... | |
CbmPsdDigi (UInt_t address, Double_t edep, Double_t time) | |
Constructor with assignment. More... | |
CbmPsdDigi (UInt_t moduleId, UInt_t sectionId, Double_t edep, Double_t time) | |
Constructor with detailed assignment. More... | |
CbmPsdDigi (const CbmPsdDigi &) | |
CbmPsdDigi (CbmPsdDigi &&) | |
CbmPsdDigi & | operator= (const CbmPsdDigi &) |
CbmPsdDigi & | operator= (CbmPsdDigi &&) |
~CbmPsdDigi () | |
Int_t | GetAddress () const |
Address. More... | |
Double_t | GetCharge () const |
Charge. More... | |
Double_t | GetEdep () const |
Energy deposit. More... | |
Double_t | GetModuleID () const |
Module Identifier. More... | |
Double_t | GetSectionID () const |
Section Identifier. More... | |
Double_t | GetTime () const |
Time. More... | |
void | SetAddress (Int_t address) |
void | SetAddress (UInt_t moduleId, UInt_t sectionId) |
void | SetEdep (Double_t edep) |
void | SetTime (Double_t time) |
std::string | ToString () const |
String output. More... | |
UInt_t | GetAmpl () const |
UInt_t | GetZL () const |
Double_t | GetEdepWfm () const |
void | SetAmpl (UInt_t ampl) |
void | SetZL (UInt_t zl) |
void | SetEdepWfm (Double_t edep) |
Static Public Member Functions | |
static const char * | GetClassName () |
Class name (static) More... | |
static ECbmModuleId | GetSystem () |
System identifier. More... | |
Public Attributes | |
Float_t | ffFitHarmonic1 = 0. |
Float_t | ffFitHarmonic2 = 0. |
Float_t | ffFitR2 = 999. |
Float_t | ffFitEdep = 0. |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
ClassDefNV (CbmPsdDigi, 4) | |
Private Attributes | |
Double_t | fdEdep = 0. |
Double_t | fdTime = -1. |
Energy deposition. More... | |
UInt_t | fuAddress = 0 |
Time of measurement. More... | |
UInt_t | fuAmpl = 0 |
Unique channel address. More... | |
UInt_t | fuZL = 0 |
Double_t | fdEdepWfm = 0. |
Friends | |
class | boost::serialization::access |
BOOST serialization interface. More... | |
Data class for PSD digital information.
The information is encoded into 3*4 bytes (2 Double_t + 1 UInt_t). Unique Address: 32 bits following CbmPsdAddress Energy deposition: 32 bits double Time: 32 bits double
Definition at line 31 of file CbmPsdDigi.h.
CbmPsdDigi::CbmPsdDigi | ( | ) |
Default constructor.
Definition at line 17 of file CbmPsdDigi.cxx.
CbmPsdDigi::CbmPsdDigi | ( | UInt_t | address, |
Double_t | edep, | ||
Double_t | time | ||
) |
Constructor with assignment.
address | Unique channel address |
edep | Energy deposition |
time | Time [ns] |
Definition at line 21 of file CbmPsdDigi.cxx.
CbmPsdDigi::CbmPsdDigi | ( | UInt_t | moduleId, |
UInt_t | sectionId, | ||
Double_t | edep, | ||
Double_t | time | ||
) |
Constructor with detailed assignment.
moduleID | Module Identifier |
sectionID | Section Identifier |
edep | Energy deposition |
time | Time [ns] |
Definition at line 26 of file CbmPsdDigi.cxx.
References fuAddress, and CbmPsdAddress::GetAddress().
CbmPsdDigi::CbmPsdDigi | ( | const CbmPsdDigi & | digiIn | ) |
Copy constructor
Definition at line 36 of file CbmPsdDigi.cxx.
CbmPsdDigi::CbmPsdDigi | ( | CbmPsdDigi && | other | ) |
Move constructor
Definition at line 41 of file CbmPsdDigi.cxx.
CbmPsdDigi::~CbmPsdDigi | ( | ) |
Destructor
Definition at line 46 of file CbmPsdDigi.cxx.
|
private |
|
inline |
Address.
Definition at line 79 of file CbmPsdDigi.h.
References fuAddress.
Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), comparePsdDigiDataMembers(), GetModuleID(), GetSectionID(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Definition at line 143 of file CbmPsdDigi.h.
References fuAmpl.
|
inline |
Charge.
Alias for GetEdep(), for compatibility with template methods
Definition at line 87 of file CbmPsdDigi.h.
References fdEdep.
Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), and comparePsdDigiDataMembers().
|
inlinestatic |
Class name (static)
Definition at line 93 of file CbmPsdDigi.h.
Referenced by TEST().
|
inline |
Energy deposit.
Definition at line 99 of file CbmPsdDigi.h.
References fdEdep.
Referenced by comparePsdDigiDataMembers(), CbmPsdMCbmQaReal::Exec(), CbmPsdHitProducer::Exec(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Definition at line 145 of file CbmPsdDigi.h.
References fdEdepWfm.
|
inline |
Module Identifier.
Definition at line 105 of file CbmPsdDigi.h.
References GetAddress(), and CbmPsdAddress::GetModuleId().
Referenced by CbmPsdHitProducer::Exec(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Section Identifier.
Definition at line 113 of file CbmPsdDigi.h.
References GetAddress(), and CbmPsdAddress::GetSectionId().
Referenced by CbmPsdMCbmHitProducer::ProcessDigi().
|
inlinestatic |
System identifier.
Definition at line 121 of file CbmPsdDigi.h.
References kPsd.
Referenced by comparePsdDigiDataMembers().
|
inline |
Time.
Definition at line 127 of file CbmPsdDigi.h.
References fdTime.
Referenced by comparePsdDigiDataMembers(), CbmPsdMCbmQaReal::Exec(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Definition at line 144 of file CbmPsdDigi.h.
References fuZL.
CbmPsdDigi & CbmPsdDigi::operator= | ( | CbmPsdDigi && | other | ) |
Move Assignment operator
Definition at line 61 of file CbmPsdDigi.cxx.
CbmPsdDigi & CbmPsdDigi::operator= | ( | const CbmPsdDigi & | rhs | ) |
Assignment operator
Definition at line 50 of file CbmPsdDigi.cxx.
|
inlineprivate |
Definition at line 168 of file CbmPsdDigi.h.
References fdEdep, fdEdepWfm, fdTime, ffFitEdep, ffFitHarmonic1, ffFitHarmonic2, ffFitR2, fuAddress, fuAmpl, and fuZL.
|
inline |
void CbmPsdDigi::SetAddress | ( | UInt_t | moduleId, |
UInt_t | sectionId | ||
) |
Definition at line 72 of file CbmPsdDigi.cxx.
References fuAddress, and CbmPsdAddress::GetAddress().
|
inline |
Definition at line 146 of file CbmPsdDigi.h.
References fuAmpl.
|
inline |
|
inline |
Definition at line 148 of file CbmPsdDigi.h.
References fdEdepWfm.
|
inline |
|
inline |
Definition at line 147 of file CbmPsdDigi.h.
References fuZL.
std::string CbmPsdDigi::ToString | ( | ) | const |
|
friend |
BOOST serialization interface.
Definition at line 166 of file CbmPsdDigi.h.
|
private |
Definition at line 156 of file CbmPsdDigi.h.
Referenced by GetCharge(), GetEdep(), operator=(), serialize(), SetEdep(), and ToString().
|
private |
Definition at line 163 of file CbmPsdDigi.h.
Referenced by GetEdepWfm(), serialize(), and SetEdepWfm().
|
private |
Energy deposition.
Definition at line 157 of file CbmPsdDigi.h.
Referenced by GetTime(), operator=(), serialize(), SetTime(), and ToString().
Float_t CbmPsdDigi::ffFitEdep = 0. |
Definition at line 153 of file CbmPsdDigi.h.
Referenced by serialize().
Float_t CbmPsdDigi::ffFitHarmonic1 = 0. |
Definition at line 150 of file CbmPsdDigi.h.
Referenced by serialize().
Float_t CbmPsdDigi::ffFitHarmonic2 = 0. |
Definition at line 151 of file CbmPsdDigi.h.
Referenced by serialize().
Float_t CbmPsdDigi::ffFitR2 = 999. |
Definition at line 152 of file CbmPsdDigi.h.
Referenced by serialize().
|
private |
Time of measurement.
Definition at line 158 of file CbmPsdDigi.h.
Referenced by CbmPsdDigi(), GetAddress(), operator=(), serialize(), SetAddress(), and ToString().
|
private |
Unique channel address.
Definition at line 161 of file CbmPsdDigi.h.
Referenced by GetAmpl(), serialize(), and SetAmpl().
|
private |
Definition at line 162 of file CbmPsdDigi.h.
Referenced by GetZL(), serialize(), and SetZL().