8 #ifndef FAIRTESTDETECTORPOINT_H_
9 #define FAIRTESTDETECTORPOINT_H_
45 virtual void Print(
const Option_t* opt)
const;
51 Double_t
GetXOut()
const {
return fX_out; }
52 Double_t
GetYOut()
const {
return fY_out; }
53 Double_t
GetZOut()
const {
return fZ_out; }
61 void PositionOut(TVector3& pos)
const { pos.SetXYZ(fX_out, fY_out, fZ_out); }
62 void MomentumOut(TVector3& mom)
const { mom.SetXYZ(fPx_out, fPy_out, fPz_out); }
Double32_t fZ
Position of hit [cm].
virtual ~FairTestDetectorPoint()
void PositionOut(TVector3 &pos) const
Double_t GetPzOut() const
Double_t GetPxOut() const
Double32_t fPz
Momentum components [GeV].
Double_t GetPyOut() const
virtual void Print(const Option_t *opt) const
void MomentumOut(TVector3 &mom) const