MpdEmcTrackExtrap.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //--------------------------------------------------------------------
  2. //
  3. // Description:
  4. // MPD EMC positions of track extrapolation to ECAL
  5. //
  6. //
  7. // Author List:
  8. // D.Peresunko
  9. //
  10. //--------------------------------------------------------------------
  11. #ifndef MPDEMCTRACKEXTRAP_H
  12. #define MPDEMCTRACKEXTRAP_H
  13. #include "TObject.h"
  14. class MpdEmcClusterKI;
  15. class MpdEmcTrackExtrap: public TObject
  16. {
  17. public:
  18. /** Standard constructor**/
  19. MpdEmcTrackExtrap(int trckInd, double xTop, double yTop, double zTop, double xD, double yD, double zD);
  20. /** Destructor **/
  21. ~MpdEmcTrackExtrap() {}
  22. double Distance(MpdEmcClusterKI* clu) const;
  23. void DistanceDphiDz(MpdEmcClusterKI* clu, double& dphi, double& dz) const;
  24. void DistanceLongPerp(MpdEmcClusterKI* clu, double& dlong, double& dPerp) const;
  25. int GetTrackIndex() const { return fIndex; }
  26. protected:
  27. int fIndex; // Track index
  28. double fX1; // Extrapolated to ECAL surface x
  29. double fY1; // Extrapolated to ECAL surface y
  30. double fZ1; // Extrapolated to ECAL surface z
  31. double fX2; // Extrapolated to 6X0 depth x
  32. double fY2; // Extrapolated to 6X0 depth y
  33. double fZ2; // Extrapolated to 6X0 depth z
  34. ClassDef(MpdEmcTrackExtrap, 1);
  35. };
  36. #endif