11 #ifndef ERBeamDetTOFPoint_H 12 #define ERBeamDetTOFPoint_H 18 #include "FairMCPoint.h" 47 TVector3 posOut, TVector3 momIn, TVector3 momOut,
48 Double_t ToF, Double_t length, Double_t eLoss, Double_t lightYield, Int_t ToFNb);
64 Int_t GetMot0TrackID()
const {
return fMot0TrackID; }
65 Double_t GetXIn()
const {
return fX; }
66 Double_t GetYIn()
const {
return fY; }
67 Double_t GetZIn()
const {
return fZ; }
68 Double_t GetXOut()
const {
return fX_out; }
69 Double_t GetYOut()
const {
return fY_out; }
70 Double_t GetZOut()
const {
return fZ_out; }
71 Double_t GetPxOut()
const {
return fPx_out; }
72 Double_t GetPyOut()
const {
return fPy_out; }
73 Double_t GetPzOut()
const {
return fPz_out; }
74 Int_t GetPID()
const {
return fPid; }
75 Int_t GetToFNb()
const {
return fToFNb; }
77 void PositionIn(TVector3& pos) { pos.SetXYZ(fX, fY, fZ); }
78 void PositionOut(TVector3& pos) { pos.SetXYZ(fX_out,fY_out,fZ_out); }
79 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPx_out,fPy_out,fPz_out); }
81 Float_t LightYield()
const {
return fLightYield;}
84 Double_t
GetX(Double_t z)
const;
85 Double_t GetY(Double_t z)
const;
92 virtual void Print(
const Option_t* opt = 0)
const;
98 Double32_t fX_out, fY_out, fZ_out;
99 Double32_t fPx_out, fPy_out, fPz_out;
100 Double_t fLightYield;
virtual void Print(const Option_t *opt=0) const
virtual ~ERBeamDetTOFPoint()
Double_t GetX(Double_t z) const