21#define CBMMUCHDIGI_H 1
30#include <boost/serialization/access.hpp>
31#include <boost/serialization/base_object.hpp>
47 CbmMuchDigi(uint32_t address, uint16_t charge = 0, uint64_t time = 0)
109 std::string
ToString()
const {
return std::string {
""}; }
111 template<
class Archive>
@ kMuch
Muon detection system.
static int32_t GetElementAddress(int32_t address, int32_t level)
CbmMuchDigi & operator=(const CbmMuchDigi &)
double GetCharge() const
Charge.
void SetAddress(int32_t address)
void SetTime(uint64_t time)
int32_t GetAddress() const
void serialize(Archive &ar, const unsigned int)
int32_t GetADCCharge() const
CbmMuchDigi(uint32_t address, uint16_t charge=0, uint64_t time=0)
std::string ToString() const
static const char * GetBranchName()
Get the desired name of the branch for this obj in the cbm output tree (static)
ClassDefNV(CbmMuchDigi, 4)
friend class boost::serialization::access
static ECbmModuleId GetSystem()
int32_t GetDetectorId() const
void SetSaturation(bool saturate)
static const char * GetClassName()
Class name (static)
int32_t GetChannelId() const