18 #ifndef PNDHYPGEPOINT_H 19 #define PNDHYPGEPOINT_H 23 #include "TLorentzVector.h" 24 #include "FairMCPoint.h" 46 PndHypGePoint(Int_t trackID, Int_t evtID, Int_t pdgCode, Double_t charge, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss, Short_t copy);
58 Double_t
GetX()
const {
return fX; };
59 Double_t
GetY()
const {
return fY; };
60 Double_t
GetZ()
const {
return fZ; };
61 Double_t
GetPx()
const {
return fPx; };
62 Double_t
GetPy()
const {
return fPy; };
63 Double_t
GetPz()
const {
return fPz; };
64 Double_t
GetTime()
const {
return fTime; };
68 void Position(TVector3 &pos) { pos.SetXYZ(fX, fY, fZ); };
69 void Momentum(TVector3 &mom) { mom.SetXYZ(fPx, fPy, fPz); };
76 void SetTime(Double_t time) { fTime = time; };
77 void SetLength(Double_t length) { fLength = length; };
80 void SetPosition(
const TVector3 &pos);
81 void SetMomentum(
const TVector3 &mom);
84 virtual void Print(
const Option_t *opt)
const;
90 Double_t fELoss, fmass, fcharge,
fTime;
Double_t GetLength() const
void SetEventID(Int_t id)
PndHypGePoint(const PndHypGePoint &point)
void SetLength(Double_t length)
void SetpdgCode(Int_t pdgCode)
Int_t GetDetectorID() const
void Momentum(TVector3 &mom)
void SetTime(Double_t time)
void SetMomentum(const TVector3 &mom)
Double_t GetEnergyLoss() const
void Position(TVector3 &pos)
void SetEnergyLoss(Double_t eLoss)
void SetDetectorID(Short_t copy)
void SetTrackID(Int_t id)
void SetPosition(const TVector3 &pos)
Double_t GetpdgCode() const