8 #ifndef ERTelescopeTrack_H 9 #define ERTelescopeTrack_H 14 #include "FairMultiLinkedData.h" 38 ERTelescopeTrack(
const TVector3& targetVertex,
const TVector3& xStationVertex,
const TVector3& yStationVertex,
39 const TVector3& xStationLocalVertex,
const TVector3& yStationLocalVertex,
40 Int_t xChannel, Int_t yChannel, Double_t xEdep, Double_t yEdep);
42 TVector3 GetTargetVertex()
const {
return fTargetVertex;}
43 TVector3 GetXStationVertex()
const {
return fXStationVertex;}
44 TVector3 GetYStationVertex()
const {
return fYStationVertex;}
45 TVector3 GetXStationLocalVertex()
const {
return fXStationLocalVertex;}
46 TVector3 GetYStationLocalVertex()
const {
return fYStationLocalVertex;}
47 TVector3 GetVertexInZPlane(Double_t z)
const;
48 Double_t GetXInZPlane(Double_t z)
const;
49 Double_t GetYInZPlane(Double_t z)
const;
50 TVector3 GetDirection()
const;
51 TVector3 GetBackDirection()
const {
return (-1.) * GetDirection();}
52 Int_t GetXChannel()
const {
return fXChannel;}
53 Int_t GetYChannel()
const {
return fYChannel;}
54 Double_t GetXEdep()
const {
return fXEdep;}
55 Double_t GetYEdep()
const {
return fYEdep;}
57 TVector3 fTargetVertex;
58 TVector3 fXStationVertex;
59 TVector3 fYStationVertex;
60 TVector3 fXStationLocalVertex;
61 TVector3 fYStationLocalVertex;
64 Double_t fXEdep = -1.;
65 Double_t fYEdep = -1.;
ERTelescopeTrack()=default
Default constructor.