QinvPairCut.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /***************************************************************************
  2. *
  3. * $Id: QinvPairCut.h,v 1.1 2000/09/14 18:36:59 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 Qinvariant
  10. *
  11. ***************************************************************************
  12. *
  13. * $Log: QinvPairCut.h,v $
  14. * Revision 1.1 2000/09/14 18:36:59 lisa
  15. * Added Qinv and ExitSep pair cuts and BPLCMSFrame3DCorrFctn_SIM CorrFctn
  16. *
  17. *
  18. *
  19. **************************************************************************/
  20. #ifndef QinvPairCut_hh
  21. #define QinvPairCut_hh
  22. #include "StHbtMaker/Base/StHbtPairCut.h"
  23. class QinvPairCut : public StHbtPairCut{
  24. public:
  25. QinvPairCut();
  26. QinvPairCut(const QinvPairCut&);
  27. //~QinvPairCut();
  28. virtual bool Pass(const StHbtPair*);
  29. virtual StHbtString Report();
  30. QinvPairCut* Clone();
  31. void SetQinvRange(const double& Lo, const double& Hi);
  32. private:
  33. long mNPairsPassed;
  34. long mNPairsFailed;
  35. double mQinvLo;
  36. double mQinvHi;
  37. #ifdef __ROOT__
  38. ClassDef(QinvPairCut, 1)
  39. #endif
  40. };
  41. inline QinvPairCut::QinvPairCut(const QinvPairCut& c) : StHbtPairCut(c) {
  42. mNPairsPassed = 0;
  43. mNPairsFailed = 0;
  44. }
  45. inline QinvPairCut* QinvPairCut::Clone() { QinvPairCut* c = new QinvPairCut(*this); return c;}
  46. #endif