kTPairCut.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /***************************************************************************
  2. *
  3. * $Id: kTPairCut.h,v 1.2 2002/05/17 14:45:50 mercedes Exp $
  4. *
  5. * Author: Mercedes Lopez Noriega, OSU, mercedes@pacific.mps.ohio-state.edu
  6. ***************************************************************************
  7. *
  8. * Description: part of STAR HBT Framework: StHbtMaker package
  9. * cut on kT of the pair
  10. *
  11. ***************************************************************************
  12. *
  13. * $Log: kTPairCut.h,v $
  14. * Revision 1.2 2002/05/17 14:45:50 mercedes
  15. * Pair cut on kT, k is four-momentum of the pair
  16. *
  17. *
  18. **************************************************************************/
  19. #ifndef kTPairCut_hh
  20. #define kTPairCut_hh
  21. #include "StHbtMaker/Base/StHbtPairCut.h"
  22. class kTPairCut : public StHbtPairCut{
  23. public:
  24. kTPairCut();
  25. kTPairCut(const kTPairCut&);
  26. //~kTPairCut();
  27. virtual bool Pass(const StHbtPair*);
  28. virtual StHbtString Report();
  29. kTPairCut* Clone();
  30. void SetkTRange(const double& Lo, const double& Hi);
  31. private:
  32. long mNPairsPassed;
  33. long mNPairsFailed;
  34. double mkTLo;
  35. double mkTHi;
  36. #ifdef __ROOT__
  37. ClassDef(kTPairCut, 1)
  38. #endif
  39. };
  40. inline kTPairCut::kTPairCut(const kTPairCut& c) : StHbtPairCut(c) {
  41. mNPairsPassed = 0;
  42. mNPairsFailed = 0;
  43. }
  44. inline kTPairCut* kTPairCut::Clone() { kTPairCut* c = new kTPairCut(*this); return c;}
  45. #endif