22 namespace serialization {
26 #include <boost/serialization/base_object.hpp>
67 Double_t
GetX()
const {
return fX; };
68 Double_t
GetY()
const {
return fY; };
69 Double_t
GetZ()
const {
return fZ; };
83 void SetXYZ(Double_t x, Double_t y, Double_t z);
87 virtual void Print(
const Option_t* opt = 0)
const;
89 template<
class Archive>
Double32_t fZ
Position of hit [cm].
void Momentum(TVector3 &mom) const
UInt_t fEventId
MC Event id.
Double32_t fLength
Track length since creation [cm].
void SetEnergyLoss(Double_t eLoss)
void SetDetectorID(Int_t detID)
Double32_t fELoss
Energy loss at this point [GeV].
Int_t fTrackID
Track index.
void Position(TVector3 &pos) const
void SetPosition(const TVector3 &pos)
Int_t GetTrackID() const
event identifier
void SetXYZ(Double_t x, Double_t y, Double_t z)
friend class boost::serialization::access
Double_t GetEnergyLoss() const
void SetLength(Double_t length)
void SetEventID(UInt_t eventId)
void SetMomentum(const TVector3 &mom)
Double32_t fPz
Momentum components [GeV].
virtual void SetTrackID(Int_t id)
virtual void Print(const Option_t *opt=0) const
Double32_t fTime
Time since event start [ns].
Double_t GetLength() const
void SetTime(Double_t time)
UInt_t GetEventID() const
void serialize(Archive &ar, const unsigned int)
Int_t GetDetectorID() const
Int_t fDetectorID
Detector unique identifier.