17 namespace serialization {
21 #include <boost/serialization/base_object.hpp>
36 FairHit(Int_t detID,
const TVector3& pos,
const TVector3& dpos, Int_t index);
48 Double_t
GetX()
const {
return fX; };
49 Double_t
GetY()
const {
return fY; };
50 Double_t
GetZ()
const {
return fZ; };
57 void SetDxyz(Double_t dx, Double_t dy, Double_t dz);
64 void SetXYZ(Double_t x, Double_t y, Double_t z);
68 virtual void Print(
const Option_t*)
const { ; }
70 template<
class Archive>
73 ar& boost::serialization::base_object<FairTimeStamp>(*this);
void SetRefIndex(Int_t index)
Int_t GetRefIndex() const
void Position(TVector3 &pos) const
Int_t GetDetectorID() const
void SetPositionError(const TVector3 &dpos)
void SetPosition(const TVector3 &pos)
Double32_t fZ
Position of hit [cm].
void SetDetectorID(Int_t detID)
Int_t fDetectorID
Detector unique identifier.
Double32_t fDz
Errors of position [cm].
friend class boost::serialization::access
virtual void Print(const Option_t *) const
void SetDxyz(Double_t dx, Double_t dy, Double_t dz)
void PositionError(TVector3 &dpos) const
void serialize(Archive &ar, const unsigned int)
Int_t fRefIndex
Index of FairMCPoint for this hit.
void SetXYZ(Double_t x, Double_t y, Double_t z)