StHbtKinkCut.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /***************************************************************************
  2. *
  3. * $Id: StHbtKinkCut.h,v 1.1 2001/05/25 23:23:58 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. * base class for particle-wise cuts
  10. * Users inherit from this class to make particular KinkCuts.
  11. * Note that KinkCut is a derived class of ParticleCut
  12. *
  13. ***************************************************************************
  14. *
  15. * $Log: StHbtKinkCut.h,v $
  16. * Revision 1.1 2001/05/25 23:23:58 lisa
  17. * Added in StHbtKink stuff
  18. *
  19. **************************************************************************/
  20. #ifndef StHbtKinkCut_hh
  21. #define StHbtKinkCut_hh
  22. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  23. #include "StHbtMaker/Infrastructure/StHbtKink.hh"
  24. #include "StHbtMaker/Base/StHbtParticleCut.h"
  25. class StHbtKinkCut : public StHbtParticleCut {
  26. public:
  27. StHbtKinkCut(){/* no-op */}; // default constructor. - Users should write their own
  28. StHbtKinkCut(const StHbtKinkCut&); // copy constructor
  29. virtual ~StHbtKinkCut(){/* no-op */}; // destructor
  30. virtual bool Pass(const StHbtKink* )=0; // true if passes, false if not
  31. virtual StHbtParticleType Type(){return hbtKink;}
  32. virtual StHbtKinkCut* Clone() { return 0;}
  33. #ifdef __ROOT__
  34. ClassDef(StHbtKinkCut, 0)
  35. #endif
  36. };
  37. inline StHbtKinkCut::StHbtKinkCut(const StHbtKinkCut& c) : StHbtParticleCut(c) { /* no-op */ }
  38. #endif