11 #include "TLorentzVector.h" 12 #include "FairMCPoint.h" 37 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,
38 Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout);
42 : FairMCPoint(point), fEventID(point.fEventID), fPLin(point.fPLin), fPLout(point.fPLout), fmass(point.fmass), fcharge(point.fcharge), fXin(point.fXin), fYin(point.fYin),
43 fZin(point.fZin), fPxin(point.fPxin), fPyin(point.fPyin), fPzin(point.fPzin), fXout(point.fXout), fYout(point.fYout), fZout(point.fZout), fPxout(point.fPxout),
44 fPyout(point.fPyout), fPzout(point.fPzout), fdist(point.fdist), fDetName(point.fDetName), fVolumeID(point.fVolumeID), fpdgCode(point.fpdgCode)
56 Double_t
GetXin()
const {
return fXin; };
57 Double_t
GetYin()
const {
return fYin; };
58 Double_t
GetZin()
const {
return fZin; };
59 Double_t
GetPxin()
const {
return fPxin; };
60 Double_t
GetPyin()
const {
return fPyin; };
61 Double_t
GetPzin()
const {
return fPzin; };
71 Double_t
GetPLin()
const {
return fPLin; };
74 Double_t
GetXout()
const {
return fXout; };
75 Double_t
GetYout()
const {
return fYout; };
76 Double_t
GetZout()
const {
return fZout; };
80 Double_t
Getdist()
const {
return fdist; };
84 Double_t
GetMass()
const {
return fmass; };
89 void PositionIn(TVector3 &pos) { pos.SetXYZ(fXin, fYin, fZin); };
90 void MomentumIn(TVector3 &mom) { mom.SetXYZ(fPxin, fPyin, fPzin); };
92 void PositionOut(TVector3 &pos) { pos.SetXYZ(fXout, fYout, fZout); };
93 void MomentumOut(TVector3 &mom) { mom.SetXYZ(fPxout, fPyout, fPzout); };
109 void SetPositionIn(
const TVector3 &pos);
110 void SetMomentumIn(
const TVector3 &mom);
111 void SetPositionOut(
const TVector3 &pos);
112 void SetMomentumOut(
const TVector3 &mom);
118 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)