CbmSttTrackMatch.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // -------------------------------------------------------------------------
  2. // ----- CbmSttTrackMatch header file -----
  3. // ----- Created 28/03/06 by V. Friese -----
  4. // -------------------------------------------------------------------------
  5. /** CbmSttTrackMatch.h
  6. *@author R.Castelijns <r.castelijns@fz-juelich.de>
  7. **
  8. ** Data structure describing the matching of a reconstructed CbmSttTrack
  9. ** with a Monte Carlo FairMCTrack.
  10. **/
  11. #ifndef CBMSTTTRACKMATCH_H
  12. #define CBMSTTTRACKMATCH_H 1
  13. #include "TObject.h"
  14. class CbmSttTrackMatch : public TObject
  15. {
  16. public:
  17. /** Default constructor **/
  18. CbmSttTrackMatch();
  19. /** Standard constructor
  20. *@param mcTrackID Index of matched MCTrack
  21. *@param nTrue Good hits from matched MCTrack
  22. *@param nWrong Good Hits from other MCTracks
  23. *@param nFake Fake Hits
  24. *@param nTracks Number of MCTracks with common points
  25. **/
  26. CbmSttTrackMatch(Int_t mcTrackID, Int_t nTrue, Int_t nWrong,
  27. Int_t nFake, Int_t nTracks);
  28. /** Destructor **/
  29. virtual ~CbmSttTrackMatch();
  30. /** Accessors **/
  31. Int_t GetMCTrackID() { return fMCTrackID; };
  32. Int_t GetNofTrueHits() { return fNofTrueHits; };
  33. Int_t GetNofWrongHits() { return fNofWrongHits; };
  34. Int_t GetNofFakeHits() { return fNofFakeHits; };
  35. Int_t GetNofMCTracks() { return fNofMCTracks; };
  36. private:
  37. /** Best matching FairMCTrack **/
  38. Int_t fMCTrackID;
  39. /** Number of good hits belonging to the matched MCTrack **/
  40. Int_t fNofTrueHits;
  41. /** Number of good hits belonging to other MCTracks **/
  42. Int_t fNofWrongHits;
  43. /** Number of fake hits **/
  44. Int_t fNofFakeHits;
  45. /** Number of MCTracks with common points **/
  46. Int_t fNofMCTracks;
  47. ClassDef(CbmSttTrackMatch,1);
  48. };
  49. #endif