franksV0PairCut.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /***************************************************************************
  2. *
  3. * $Id: franksV0PairCut.h,v 1.1 2000/05/03 17:47:24 laue Exp $
  4. *
  5. * Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
  6. ***************************************************************************
  7. *
  8. * Description: part of STAR HBT Framework: StHbtMaker package
  9. *
  10. ***************************************************************************
  11. *
  12. * $Log: franksV0PairCut.h,v $
  13. * Revision 1.1 2000/05/03 17:47:24 laue
  14. * new pair cut
  15. *
  16. *
  17. **************************************************************************/
  18. #ifndef franksV0PairCut_hh
  19. #define franksV0PairCut_hh
  20. // do I need these lines ?
  21. //#ifndef StMaker_H
  22. //#include "StMaker.h"
  23. //#endif
  24. #include "StHbtMaker/Base/StHbtPairCut.h"
  25. class franksV0PairCut : public StHbtPairCut{
  26. public:
  27. franksV0PairCut();
  28. franksV0PairCut(const franksV0PairCut&);
  29. //~franksV0PairCut();
  30. virtual bool Pass(const StHbtPair*);
  31. virtual StHbtString Report();
  32. franksV0PairCut* Clone();
  33. void SetTrackIdCut(const short );
  34. short TrackIdCut() const;
  35. private:
  36. short mTrackIdCut;
  37. long mNPairsPassed;
  38. long mNPairsFailed;
  39. #ifdef __ROOT__
  40. ClassDef(franksV0PairCut, 1)
  41. #endif
  42. };
  43. inline franksV0PairCut::franksV0PairCut(const franksV0PairCut& c) : StHbtPairCut(c) {
  44. mNPairsPassed = 0;
  45. mNPairsFailed = 0;
  46. mTrackIdCut = c.mTrackIdCut;
  47. }
  48. inline franksV0PairCut* franksV0PairCut::Clone() { franksV0PairCut* c = new franksV0PairCut(*this); return c;}
  49. inline void franksV0PairCut::SetTrackIdCut(const short x) { mTrackIdCut = x; }
  50. inline short franksV0PairCut::TrackIdCut() const { return mTrackIdCut; }
  51. #endif