6 #ifndef PNDHYPGEPOINT_H 7 #define PNDHYPGEPOINT_H 11 #include "TLorentzVector.h" 12 #include "FairMCPoint.h" 34 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);
46 Double_t
GetX()
const {
return fX; };
47 Double_t
GetY()
const {
return fY; };
48 Double_t
GetZ()
const {
return fZ; };
49 Double_t
GetPx()
const {
return fPx; };
50 Double_t
GetPy()
const {
return fPy; };
51 Double_t
GetPz()
const {
return fPz; };
52 Double_t
GetTime()
const {
return fTime; };
56 void Position(TVector3 &pos) { pos.SetXYZ(fX, fY, fZ); };
57 void Momentum(TVector3 &mom) { mom.SetXYZ(fPx, fPy, fPz); };
64 void SetTime(Double_t time) { fTime = time; };
65 void SetLength(Double_t length) { fLength = length; };
68 void SetPosition(
const TVector3 &pos);
69 void SetMomentum(
const TVector3 &mom);
72 virtual void Print(
const Option_t *opt)
const;
78 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