AverageSepPairCut.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /***************************************************************************
  2. *
  3. * $Id: AverageSepPairCut.h,v 1.1 2000/10/05 23:09:02 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 average Entrance Separation of the pair - for dealing with track merging
  10. *
  11. ***************************************************************************
  12. *
  13. * $Log: AverageSepPairCut.h,v $
  14. * Revision 1.1 2000/10/05 23:09:02 lisa
  15. * Added kT-dependent radii to mixed-event simulator AND implemented AverageSeparation Cut and CorrFctn
  16. *
  17. *
  18. *
  19. **************************************************************************/
  20. #ifndef AverageSepPairCut_hh
  21. #define AverageSepPairCut_hh
  22. #include "StHbtMaker/Base/StHbtPairCut.h"
  23. class AverageSepPairCut : public StHbtPairCut{
  24. public:
  25. AverageSepPairCut();
  26. AverageSepPairCut(const AverageSepPairCut&);
  27. //~AverageSepPairCut();
  28. virtual bool Pass(const StHbtPair*);
  29. virtual StHbtString Report();
  30. AverageSepPairCut* Clone();
  31. void SetAveSepRange(const double& Lo, const double& Hi);
  32. private:
  33. long mNPairsPassed;
  34. long mNPairsFailed;
  35. double mAveSepLo;
  36. double mAveSepHi;
  37. #ifdef __ROOT__
  38. ClassDef(AverageSepPairCut, 1)
  39. #endif
  40. };
  41. inline AverageSepPairCut::AverageSepPairCut(const AverageSepPairCut& c) : StHbtPairCut(c) {
  42. mNPairsPassed = 0;
  43. mNPairsFailed = 0;
  44. }
  45. inline AverageSepPairCut* AverageSepPairCut::Clone() { AverageSepPairCut* c = new AverageSepPairCut(*this); return c;}
  46. #endif