29#include <boost/serialization/access.hpp>
30#include <boost/serialization/base_object.hpp>
59 CbmFsdDigi(uint32_t unitId, uint32_t moduleId, uint32_t photodetId,
double time,
double edep)
143 void SetAddress(uint32_t unitId, uint32_t moduleId, uint32_t photodetId);
161 template<
class Archive>
@ kFsd
Forward spectator detector.
Data class for FSD digital information.
CbmFsdDigi()
Default constructor.
void SetTime(double time)
void SetEdep(double edep)
double GetTime() const
Time.
double fEdep
Time of measurement [ns].
uint32_t GetAddress() const
Address.
CbmFsdDigi(uint32_t address, double time, double edep)
Constructor with assignment.
std::string ToString() const
String output.
double GetCharge() const
Charge.
double fTime
Unique channel address.
void SetAddress(uint32_t address)
ClassDefNV(CbmFsdDigi, 1)
double GetUnitID() const
Unit Identifier.
friend class boost::serialization::access
Energy deposition from FPGA [MeV].
CbmFsdDigi(uint32_t unitId, uint32_t moduleId, uint32_t photodetId, double time, double edep)
Constructor with detailed assignment.
void serialize(Archive &ar, const unsigned int)
static const char * GetClassName()
Class name (static)
double GetEdep() const
Energy deposit.
double GetModuleID() const
Module Identifier.
static const char * GetBranchName()
Get the desired name of the branch for this obj in the cbm output tree (static)
double GetPhotoDetID() const
PhotoDet Identifier.
static ECbmModuleId GetSystem()
System identifier.
Functions to encode or decode the address field of FSD data.
uint32_t GetElementId(int32_t address, int32_t level)
Get the index of an element.