23 #include "TLorentzVector.h" 24 #include "FairMCPoint.h" 49 PndHypPoint(Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length,
50 Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout);
54 : FairMCPoint(point), fEventID(point.fEventID), fPLin(point.fPLin), fPLout(point.fPLout), fmass(point.fmass), fcharge(point.fcharge), fXin(point.fXin), fYin(point.fYin),
55 fZin(point.fZin), fPxin(point.fPxin), fPyin(point.fPyin), fPzin(point.fPzin), fXout(point.fXout), fYout(point.fYout), fZout(point.fZout), fPxout(point.fPxout),
56 fPyout(point.fPyout), fPzout(point.fPzout), fdist(point.fdist), fDetName(point.fDetName), fVolumeID(point.fVolumeID), fpdgCode(point.fpdgCode)
68 Double_t
GetXin()
const {
return fXin; };
69 Double_t
GetYin()
const {
return fYin; };
70 Double_t
GetZin()
const {
return fZin; };
71 Double_t
GetPxin()
const {
return fPxin; };
72 Double_t
GetPyin()
const {
return fPyin; };
73 Double_t
GetPzin()
const {
return fPzin; };
83 Double_t
GetPLin()
const {
return fPLin; };
86 Double_t
GetXout()
const {
return fXout; };
87 Double_t
GetYout()
const {
return fYout; };
88 Double_t
GetZout()
const {
return fZout; };
92 Double_t
Getdist()
const {
return fdist; };
96 Double_t
GetMass()
const {
return fmass; };
101 void PositionIn(TVector3 &pos) { pos.SetXYZ(fXin, fYin, fZin); };
102 void MomentumIn(TVector3 &mom) { mom.SetXYZ(fPxin, fPyin, fPzin); };
104 void PositionOut(TVector3 &pos) { pos.SetXYZ(fXout, fYout, fZout); };
105 void MomentumOut(TVector3 &mom) { mom.SetXYZ(fPxout, fPyout, fPzout); };
121 void SetPositionIn(
const TVector3 &pos);
122 void SetMomentumIn(
const TVector3 &mom);
123 void SetPositionOut(
const TVector3 &pos);
124 void SetMomentumOut(
const TVector3 &mom);
130 virtual void Print(
const Option_t *opt)
const;
Double_t GetPxout() const
void SetPositionIn(const TVector3 &pos)
void MomentumIn(TVector3 &mom)
void SetPositionOut(const TVector3 &pos)
Double_t GetPzout() const
void MomentumOut(TVector3 &mom)
void PositionIn(TVector3 &pos)
void SetMomentumOut(const TVector3 &mom)
TString GetDetName() const
Double_t GetPLout() const
void PositionOut(TVector3 &pos)
void SetEventID(Int_t ev)
PndHypPoint(const PndHypPoint &point)
Int_t GetVolumeID() const
Double_t GetPyout() const
void SetMomentumIn(const TVector3 &mom)