9 #ifndef ERNeuRadPoint_H 10 #define ERNeuRadPoint_H 15 #include "FairMCPoint.h" 46 Int_t fiberNb, Int_t pixelNb, Int_t moduleNb,
48 TVector3 posIn, TVector3 posInLoc,
49 TVector3 posOut, TVector3 momIn, TVector3 momOut,
50 Double_t timeIn, Double_t timeOut,Double_t trackLength, Double_t eLoss,
51 Double_t lightYield, Int_t pid, Double_t charge) ;
63 Int_t GetMot0TrackID()
const {
return fMot0TrackID; }
64 Double_t GetXIn()
const {
return fX; }
65 Double_t GetYIn()
const {
return fY; }
66 Double_t GetZIn()
const {
return fZ; }
67 Double_t GetXInLocal()
const {
return fXlocal; }
68 Double_t GetYInLocal()
const {
return fYlocal; }
69 Double_t GetZInLocal()
const {
return fZlocal; }
70 Double_t GetXOut()
const {
return fX_out; }
71 Double_t GetYOut()
const {
return fY_out; }
72 Double_t GetZOut()
const {
return fZ_out; }
73 Double_t GetPxIn()
const {
return fPx; }
74 Double_t GetPyIn()
const {
return fPy; }
75 Double_t GetPzIn()
const {
return fPz; }
76 Double_t GetPxOut()
const {
return fPx_out; }
77 Double_t GetPyOut()
const {
return fPy_out; }
78 Double_t GetPzOut()
const {
return fPz_out; }
79 Double_t GetPIn()
const;
80 Double_t GetPOut()
const;
81 Double_t GetMass()
const {
return fMass; }
82 Double_t GetLightYield()
const {
return fLightYield;}
83 Int_t GetModuleNb(){
return fModuleNb;}
84 Int_t GetPixelNb(){
return fPixelNb;}
85 Int_t GetFiberNb()
const {
return fFiberNb;}
86 Int_t GetPID()
const {
return fPID;}
87 Double_t GetCharge()
const {
return fCharge;}
88 Double_t GetTime()
const {
return fTimeIn;}
89 Double_t GetTimeIn()
const {
return fTimeIn;}
90 Double_t GetTimeOut()
const {
return fTimeOut;}
91 Double_t GetLength()
const;
93 void PositionIn(TVector3& pos) { pos.SetXYZ(fX, fY, fZ); }
94 void PositionOut(TVector3& pos) { pos.SetXYZ(fX_out,fY_out,fZ_out); }
95 void MomentumOut(TVector3& mom) { mom.SetXYZ(fPx_out,fPy_out,fPz_out); }
99 Double_t
GetX(Double_t z)
const;
100 Double_t GetY(Double_t z)
const;
101 Double_t GetP(Double_t pointLen)
const;
102 Double_t GetTime(Double_t pointLen)
const;
108 virtual void Print(
const Option_t* opt = 0)
const;
112 void SetTimeIn(Double_t t) {fTimeIn = t;}
113 void SetXIn(Double_t xin) {fX = xin;}
114 void SetXOut(Double_t xout) {fX_out = xout;}
115 void SetYIn(Double_t yin) {fY = yin;}
116 void SetYOut(Double_t yout) {fY_out = yout;}
117 void SetZIn(Double_t zin) {fZ = zin;}
118 void SetZOut(Double_t zout) {fZ_out = zout;}
128 Double32_t fXlocal, fYlocal, fZlocal;
129 Double32_t fX_out, fY_out, fZ_out;
130 Double32_t fPx_out, fPy_out, fPz_out;
131 Double_t fTimeIn, fTimeOut;
132 Double_t fLightYield;
135 Double_t fTrackLength;
140 #endif // ERNeuRadPoint_H void SetLightYield(Double_t ly)
virtual void Print(const Option_t *opt=0) const
Double_t GetX(Double_t z) const
The data class for storing pieces of charged tracks in sensitive volumes in NeuRad.