11 #ifndef ERBeamDetMWPCPoint_H 12 #define ERBeamDetMWPCPoint_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,
49 Int_t mwpcNb, Int_t planeNb, Int_t wireNb);
65 Int_t GetMot0TrackID()
const {
return fMot0TrackID; }
66 Double_t GetXIn()
const {
return fX; }
67 Double_t GetYIn()
const {
return fY; }
68 Double_t GetZIn()
const {
return fZ; }
69 Double_t GetXOut()
const {
return fX_out; }
70 Double_t GetYOut()
const {
return fY_out; }
71 Double_t GetZOut()
const {
return fZ_out; }
72 Double_t GetPxOut()
const {
return fPx_out; }
73 Double_t GetPyOut()
const {
return fPy_out; }
74 Double_t GetPzOut()
const {
return fPz_out; }
75 Int_t GetPID()
const {
return fPid; }
76 Int_t GetMWPCNb()
const {
return fMWPCNb;}
77 Int_t GetPlaneNb()
const {
return fPlaneNb;}
78 Int_t GetWireNb()
const {
return fWireNb;}
80 void PositionIn(TVector3& pos) { pos.SetXYZ(fX, fY, fZ); }
81 void PositionOut(TVector3& pos) { pos.SetXYZ(fX_out,fY_out,fZ_out); }
82 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPx_out,fPy_out,fPz_out); }
84 Float_t LightYield()
const {
return fLightYield;}
87 Double_t
GetX(Double_t z)
const;
88 Double_t GetY(Double_t z)
const;
95 virtual void Print(
const Option_t* opt = 0)
const;
101 Double32_t fX_out, fY_out, fZ_out;
102 Double32_t fPx_out, fPy_out, fPz_out;
103 Double_t fLightYield;
virtual ~ERBeamDetMWPCPoint()
Double_t GetX(Double_t z) const
virtual void Print(const Option_t *opt=0) const