CbmRoot
|
Data class for FSD digital information. More...
#include <CbmFsdDigi.h>
Public Member Functions | |
CbmFsdDigi () | |
Default constructor. | |
CbmFsdDigi (uint32_t address, double time, double edep) | |
Constructor with assignment. | |
CbmFsdDigi (uint32_t unitId, uint32_t moduleId, uint32_t photodetId, double time, double edep) | |
Constructor with detailed assignment. | |
~CbmFsdDigi () | |
uint32_t | GetAddress () const |
Address. | |
double | GetTime () const |
Time. | |
double | GetCharge () const |
Charge. | |
double | GetEdep () const |
Energy deposit. | |
double | GetModuleID () const |
Module Identifier. | |
double | GetUnitID () const |
Unit Identifier. | |
double | GetPhotoDetID () const |
PhotoDet Identifier. | |
void | SetAddress (uint32_t address) |
void | SetAddress (uint32_t unitId, uint32_t moduleId, uint32_t photodetId) |
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 (CbmFsdDigi, 1) | |
Private Attributes | |
uint32_t | fAddress = 0 |
double | fTime = -1. |
Unique channel address. | |
double | fEdep = 0. |
Time of measurement [ns]. | |
Friends | |
class | boost::serialization::access |
Energy deposition from FPGA [MeV]. | |
Data class for FSD digital information.
Unique Address: 32 bits following CbmFsdAddress Time: 64 bits double Energy deposition: 64 bits double
Definition at line 36 of file CbmFsdDigi.h.
|
inline |
Default constructor.
Definition at line 41 of file CbmFsdDigi.h.
|
inline |
Constructor with assignment.
address | Unique channel address |
time | Time [ns] |
edep | Energy deposition |
Definition at line 49 of file CbmFsdDigi.h.
|
inline |
Constructor with detailed assignment.
unitId | Unit Identifier |
moduleId | Module Identifier |
photodetId | PhotoDetector Identifier |
time | Time [ns] |
edep | Energy deposition |
Definition at line 59 of file CbmFsdDigi.h.
|
inline |
Destructor
Definition at line 68 of file CbmFsdDigi.h.
|
private |
|
inline |
Address.
Definition at line 80 of file CbmFsdDigi.h.
References fAddress.
Referenced by GetModuleID(), GetPhotoDetID(), GetUnitID(), CbmMatchRecoToMC::MatchHitsFsd(), and CbmFsdHitProducer::ProcessData().
|
inlinestatic |
Get the desired name of the branch for this obj in the cbm output tree (static)
Definition at line 86 of file CbmFsdDigi.h.
|
inline |
Charge.
Alias for GetEdep(), for compatibility with template methods
Definition at line 100 of file CbmFsdDigi.h.
References fEdep.
|
inlinestatic |
|
inline |
Energy deposit.
Definition at line 106 of file CbmFsdDigi.h.
References fEdep.
Referenced by CbmFsdHitProducer::ProcessData().
|
inline |
Module Identifier.
Definition at line 112 of file CbmFsdDigi.h.
References GetAddress(), CbmFsdAddress::GetElementId(), and CbmFsdAddress::Module.
|
inline |
PhotoDet Identifier.
Definition at line 130 of file CbmFsdDigi.h.
References GetAddress(), CbmFsdAddress::GetElementId(), and CbmFsdAddress::PhotoDet.
|
inlinestatic |
System identifier.
Definition at line 138 of file CbmFsdDigi.h.
References kFsd.
|
inline |
Time.
Definition at line 92 of file CbmFsdDigi.h.
References fTime.
Referenced by CbmFsdDigitize::Exec(), CbmFsdHitProducer::ProcessData(), and CbmFsdDigitize::ReleaseBuffer().
|
inline |
Unit Identifier.
Definition at line 121 of file CbmFsdDigi.h.
References GetAddress(), CbmFsdAddress::GetElementId(), and CbmFsdAddress::Unit.
|
inlineprivate |
Definition at line 162 of file CbmFsdDigi.h.
|
inline |
void CbmFsdDigi::SetAddress | ( | uint32_t | unitId, |
uint32_t | moduleId, | ||
uint32_t | photodetId ) |
Definition at line 20 of file CbmFsdDigi.cxx.
References fAddress, and CbmFsdAddress::GetAddress().
|
inline |
Definition at line 145 of file CbmFsdDigi.h.
References fEdep.
|
inline |
Definition at line 144 of file CbmFsdDigi.h.
References fTime.
std::string CbmFsdDigi::ToString | ( | ) | const |
|
friend |
Energy deposition from FPGA [MeV].
BOOST serialization interface
Definition at line 160 of file CbmFsdDigi.h.
|
private |
Definition at line 155 of file CbmFsdDigi.h.
Referenced by GetAddress(), serialize(), SetAddress(), SetAddress(), and ToString().
|
private |
Time of measurement [ns].
Definition at line 157 of file CbmFsdDigi.h.
Referenced by GetCharge(), GetEdep(), serialize(), SetEdep(), and ToString().
|
private |
Unique channel address.
Definition at line 156 of file CbmFsdDigi.h.
Referenced by GetTime(), serialize(), SetTime(), and ToString().