MpdEmcMatchingKI.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //--------------------------------------------------------------------
  2. //
  3. // Description:
  4. // MPD TPC-EMC Matching
  5. //
  6. //
  7. // Author List: D.Peresunko
  8. //
  9. //--------------------------------------------------------------------
  10. #ifndef MPDEMCMATCHINGKI_H
  11. #define MPDEMCMATCHINGKI_H 1
  12. #include "FairTask.h"
  13. #include <vector>
  14. #include "MpdEmcTrackExtrap.h"
  15. class MpdEmcGeoParams;
  16. class MpdTpcKalmanTrack;
  17. class TClonesArray;
  18. class MpdEmcMatchingKI : public FairTask
  19. {
  20. public:
  21. MpdEmcMatchingKI();
  22. ~MpdEmcMatchingKI();
  23. virtual InitStatus Init();
  24. virtual void Exec(Option_t* opt);
  25. void virtual Finish();
  26. protected:
  27. void ExtrapolateTracks(); // Fill array with points of track extapolations to ECAL surface
  28. void MakeMatchToClusters(); // find best match to clusters
  29. void MakeMatchToTracks(); // Find best match to tracks
  30. void CorrectClustersVtx(); // correct clulster position for Zcoordinate of vertex
  31. private:
  32. std::vector<MpdEmcTrackExtrap> fTrackPoints; //! Coordinates and link to track extrapolations
  33. TObjArray* fClusterArray; //! Input/output list of clusters
  34. TClonesArray* fTpcTracks; //! Input/output clusters array
  35. TClonesArray* fvtx; //! list of reconstructed vertexes
  36. double fzMax; // Maximal size of ECAL in z direction
  37. double frMin; // inner radius of ECAL
  38. ClassDef(MpdEmcMatchingKI, 1);
  39. };
  40. #endif