11 #ifndef ERBeamDetTargetPoint_H 12 #define ERBeamDetTargetPoint_H 18 #include "FairMCPoint.h" 46 TVector3 posOut, TVector3 momIn, TVector3 momOut,
47 Double_t tof, Double_t length, Double_t eLoss, Double_t lightYield);
56 Int_t GetMot0TrackID()
const {
return fMot0TrackID; }
57 Double_t GetXIn()
const {
return fX; }
58 Double_t GetYIn()
const {
return fY; }
59 Double_t GetZIn()
const {
return fZ; }
60 Double_t GetXOut()
const {
return fX_out; }
61 Double_t GetYOut()
const {
return fY_out; }
62 Double_t GetZOut()
const {
return fZ_out; }
63 Double_t GetPxIn()
const {
return fPx_in; }
64 Double_t GetPyIn()
const {
return fPy_in; }
65 Double_t GetPzIn()
const {
return fPz_in; }
66 Double_t GetPxOut()
const {
return fPx_out; }
67 Double_t GetPyOut()
const {
return fPy_out; }
68 Double_t GetPzOut()
const {
return fPz_out; }
69 Int_t GetPID()
const {
return fPid; }
71 void PositionIn(TVector3& pos) { pos.SetXYZ(fX, fY, fZ); }
72 void PositionOut(TVector3& pos) { pos.SetXYZ(fX_out,fY_out,fZ_out); }
73 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPx_out,fPy_out,fPz_out); }
75 Float_t LightYield()
const {
return fLightYield;}
78 Double_t
GetX(Double_t z)
const;
79 Double_t GetY(Double_t z)
const;
85 virtual void Print(
const Option_t* opt = 0)
const;
91 Double32_t fX_out, fY_out, fZ_out;
92 Double32_t fX_in, fY_in, fZ_in;
93 Double32_t fPx_out, fPy_out, fPz_out;
94 Double32_t fPx_in, fPy_in, fPz_in;
Double_t GetX(Double_t z) const
virtual void Print(const Option_t *opt=0) const
virtual ~ERBeamDetTargetPoint()