- virtual void GetPositionG(Float_t &x,Float_t &y,Float_t &z)
- const {
- // returns the position in the Global
- //frame
- x=fX;y=fY;z=fZ;return;
- };
- virtual void GetPositionG(Double_t &x,Double_t &y,Double_t &z)
- const {
- // returns the position in the Global
- //frame
- x=fX;y=fY;z=fZ;return;
- };
- virtual Float_t GetTOF() const {
- // returns the time of flight
- return fTof;
- }
+ virtual void GetPositionG(Float_t &x,Float_t &y,Float_t &z)const {
+ // returns the position in the Global frame
+ x=fX;y=fY;z=fZ;return;};
+ virtual void GetPositionG(Double_t &x,Double_t &y,Double_t &z)const {
+ // returns the position in the Global frame
+ x=fX;y=fY;z=fZ;return;};
+ virtual Float_t GetTOF() const {// returns the time of flight
+ return fTof;}
+ // Returns particle 3 position at this hit in global coordinates.
+ virtual void GetPositionG(Float_t &x,Float_t &y,Float_t &z,Float_t &tof)
+ const {// returns the position in the Global frame and the time of
+ // flight
+ x=fX;y=fY;z=fZ,tof=fTof;return;};
+ virtual void GetPositionG(Double_t &x,Double_t &y,Double_t &z,Double_t &t)
+ const {// Returns particle 3 position and the time of flight at this
+ // hit in global coordinates.
+ x=fX;y=fY;z=fZ,t=fTof;return;};
+ virtual Float_t GetXG()const {// Returns particle X position at this hit
+ // in global coordinates.
+ return fX;}
+ virtual Float_t GetYG()const {// Returns particle X position at this hit
+ // in global coordinates.
+ return fY;}
+ virtual Float_t GetZG()const {// Returns particle Z position at this hit
+ // in global coordinates.
+ return fZ;}
+ // Returns particle 3 position at this hit in global coordinates.
+ virtual void GetPositionG0(Float_t &x,Float_t &y,Float_t &z,Float_t &tof)
+ const {// returns the initial position in the Global frame and the
+ // time of flight
+ x=fx0;y=fy0;z=fz0,tof=fTof;return;};