23#include <boost/serialization/access.hpp>
24#include <boost/serialization/base_object.hpp>
40 CbmTofHit(int32_t address, TVector3
pos, TVector3
dpos, int32_t refIndex,
double time,
double dtime, int32_t flag,
46 CbmTofHit(int32_t address, TVector3
pos, TVector3
dpos, int32_t refIndex,
double tof, int32_t flag, int32_t channel);
51 CbmTofHit(int32_t address, TVector3
pos, TVector3
dpos, int32_t refIndex,
double tof, int32_t flag);
56 CbmTofHit(int32_t address, TVector3
pos, TVector3
dpos, int32_t refIndex,
double tof);
66 virtual std::string
ToString()
const;
95 int32_t
GetRefId() const __attribute__((deprecated)) {
return -1; }
105 template<
class Archive>
friend fvec sqrt(const fvec &a)
CbmPixelHit()
Default constructor.
int32_t GetPlaneId() const
Inherited from CbmBaseHit.
void SetFlag(int32_t flag)
int32_t fFlag
Flag for general purposes [TDC, event tagging...].
void serialize(Archive &ar, const unsigned int)
int32_t fChannel
Channel identifier.
double Dist3D(CbmTofHit *pHit)
virtual std::string ToString() const
Inherited from CbmBaseHit.
CbmTofHit()
Default constructor.
friend class boost::serialization::access
int32_t GetRefId() const __attribute__((deprecated))
virtual ~CbmTofHit()
Destructor.