CbmRoot
|
Data class for PSD digital information. More...
#include <CbmPsdDigi.h>
Public Member Functions | |
CbmPsdDigi () | |
Default constructor. | |
CbmPsdDigi (uint32_t address, double time, double edep) | |
Constructor with assignment. | |
CbmPsdDigi (uint32_t moduleId, uint32_t sectionId, double time, double edep) | |
Constructor with detailed assignment. | |
CbmPsdDigi (const CbmPsdDigi &) | |
CbmPsdDigi (CbmPsdDigi &&) | |
CbmPsdDigi & | operator= (const CbmPsdDigi &)=default |
CbmPsdDigi & | operator= (CbmPsdDigi &&)=default |
~CbmPsdDigi () | |
uint32_t | GetAddress () const |
Address. | |
double | GetTime () const |
Time. | |
double | GetCharge () const |
Charge. | |
double | GetEdep () const |
Energy deposit. | |
double | GetModuleID () const |
Module Identifier. | |
double | GetSectionID () const |
Section Identifier. | |
void | SetAddress (uint32_t address) |
void | SetAddress (uint32_t moduleId, uint32_t sectionId) |
void | SetTime (double time) |
void | SetEdep (double edep) |
std::string | ToString () const |
String output. | |
Static Public Member Functions | |
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) | |
static ECbmModuleId | GetSystem () |
System identifier. | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
ClassDefNV (CbmPsdDigi, 5) | |
Private Attributes | |
uint32_t | fuAddress = 0 |
double | fdTime = -1. |
Unique channel address. | |
double | fdEdep = 0. |
Time of measurement [ns]. | |
Friends | |
class | boost::serialization::access |
Energy deposition from FPGA [MeV]. | |
Data class for PSD digital information.
Unique Address: 32 bits following CbmPsdAddress Time: 64 bits double Energy deposition: 64 bits double
Definition at line 36 of file CbmPsdDigi.h.
|
inline |
Default constructor.
Definition at line 41 of file CbmPsdDigi.h.
|
inline |
Constructor with assignment.
address | Unique channel address |
time | Time [ns] |
edep | Energy deposition |
Definition at line 49 of file CbmPsdDigi.h.
|
inline |
Constructor with detailed assignment.
moduleID | Module Identifier |
sectionID | Section Identifier |
time | Time [ns] |
edep | Energy deposition |
Definition at line 58 of file CbmPsdDigi.h.
References fuAddress, and CbmPsdAddress::GetAddress().
CbmPsdDigi::CbmPsdDigi | ( | const CbmPsdDigi & | other | ) |
Copy constructor
Definition at line 19 of file CbmPsdDigi.cxx.
CbmPsdDigi::CbmPsdDigi | ( | CbmPsdDigi && | other | ) |
Move constructor
Definition at line 25 of file CbmPsdDigi.cxx.
|
inline |
Destructor
Definition at line 81 of file CbmPsdDigi.h.
|
private |
|
inline |
Address.
Definition at line 93 of file CbmPsdDigi.h.
References fuAddress.
Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), comparePsdDigiDataMembers(), GetModuleID(), and GetSectionID().
|
inlinestatic |
Get the desired name of the branch for this obj in the cbm output tree (static)
Definition at line 99 of file CbmPsdDigi.h.
Referenced by CbmDeviceDigiEventSink::InitTask().
|
inline |
Charge.
Alias for GetEdep(), for compatibility with template methods
Definition at line 113 of file CbmPsdDigi.h.
References fdEdep.
Referenced by CbmMcbm2019CheckPulser::CheckInterSystemOffset(), and comparePsdDigiDataMembers().
|
inlinestatic |
Class name (static)
Definition at line 87 of file CbmPsdDigi.h.
Referenced by TEST().
|
inline |
Energy deposit.
Definition at line 119 of file CbmPsdDigi.h.
References fdEdep.
Referenced by comparePsdDigiDataMembers(), CbmPsdMCbmQaReal::Exec(), CbmPsdHitProducer::ProcessData(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Module Identifier.
Definition at line 125 of file CbmPsdDigi.h.
References GetAddress(), and CbmPsdAddress::GetModuleId().
Referenced by CbmPsdHitProducer::ProcessData(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
inline |
Section Identifier.
Definition at line 131 of file CbmPsdDigi.h.
References GetAddress(), and CbmPsdAddress::GetSectionId().
Referenced by CbmPsdMCbmHitProducer::ProcessDigi().
|
inlinestatic |
System identifier.
Definition at line 137 of file CbmPsdDigi.h.
References kPsd.
Referenced by comparePsdDigiDataMembers().
|
inline |
Time.
Definition at line 105 of file CbmPsdDigi.h.
References fdTime.
Referenced by comparePsdDigiDataMembers(), CbmPsdMCbmQaReal::Exec(), CbmPsdSimpleDigitizer::Exec(), and CbmPsdMCbmHitProducer::ProcessDigi().
|
default |
Move Assignment operator
|
default |
Assignment operator
|
inlineprivate |
Definition at line 161 of file CbmPsdDigi.h.
|
inline |
void CbmPsdDigi::SetAddress | ( | uint32_t | moduleId, |
uint32_t | sectionId ) |
Definition at line 29 of file CbmPsdDigi.cxx.
References fuAddress, and CbmPsdAddress::GetAddress().
|
inline |
|
inline |
std::string CbmPsdDigi::ToString | ( | ) | const |
|
friend |
Energy deposition from FPGA [MeV].
BOOST serialization interface
Definition at line 159 of file CbmPsdDigi.h.
|
private |
Time of measurement [ns].
Definition at line 156 of file CbmPsdDigi.h.
Referenced by GetCharge(), GetEdep(), serialize(), SetEdep(), and ToString().
|
private |
Unique channel address.
Definition at line 155 of file CbmPsdDigi.h.
Referenced by GetTime(), serialize(), SetTime(), and ToString().
|
private |
Definition at line 154 of file CbmPsdDigi.h.
Referenced by CbmPsdDigi(), GetAddress(), serialize(), SetAddress(), SetAddress(), and ToString().