EntranceSepPairCut.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /***************************************************************************
  2. *
  3. * $Id: EntranceSepPairCut.h,v 1.1 2000/07/31 01:19:24 lisa Exp $
  4. *
  5. * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
  6. ***************************************************************************
  7. *
  8. * Description: part of STAR HBT Framework: StHbtMaker package
  9. * cut on nominal Entrance Separation of the pair - for dealing with track merging
  10. *
  11. ***************************************************************************
  12. *
  13. * $Log: EntranceSepPairCut.h,v $
  14. * Revision 1.1 2000/07/31 01:19:24 lisa
  15. * add PairCut which contains collection of PairCuts - also 3D bertsch-pratt CorrFctn
  16. *
  17. *
  18. **************************************************************************/
  19. #ifndef EntranceSepPairCut_hh
  20. #define EntranceSepPairCut_hh
  21. #include "StHbtMaker/Base/StHbtPairCut.h"
  22. class EntranceSepPairCut : public StHbtPairCut{
  23. public:
  24. EntranceSepPairCut();
  25. EntranceSepPairCut(const EntranceSepPairCut&);
  26. //~EntranceSepPairCut();
  27. virtual bool Pass(const StHbtPair*);
  28. virtual StHbtString Report();
  29. EntranceSepPairCut* Clone();
  30. void SetEntranceSepRange(const double& Lo, const double& Hi);
  31. private:
  32. long mNPairsPassed;
  33. long mNPairsFailed;
  34. double mEntSepLo;
  35. double mEntSepHi;
  36. #ifdef __ROOT__
  37. ClassDef(EntranceSepPairCut, 1)
  38. #endif
  39. };
  40. inline EntranceSepPairCut::EntranceSepPairCut(const EntranceSepPairCut& c) : StHbtPairCut(c) {
  41. mNPairsPassed = 0;
  42. mNPairsFailed = 0;
  43. }
  44. inline EntranceSepPairCut* EntranceSepPairCut::Clone() { EntranceSepPairCut* c = new EntranceSepPairCut(*this); return c;}
  45. #endif