StHbtV0Cut.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /***************************************************************************
  2. *
  3. * $Id:
  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 V0Cuts.
  11. * Note that V0Cut is a derived class of ParticleCut
  12. *
  13. ***************************************************************************
  14. *
  15. * $Log:
  16. **************************************************************************/
  17. #ifndef StHbtV0Cut_hh
  18. #define StHbtV0Cut_hh
  19. #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
  20. #include "StHbtMaker/Infrastructure/StHbtV0.hh"
  21. #include "StHbtMaker/Base/StHbtParticleCut.h"
  22. class StHbtV0Cut : public StHbtParticleCut {
  23. public:
  24. StHbtV0Cut(){/* no-op */}; // default constructor. - Users should write their own
  25. StHbtV0Cut(const StHbtV0Cut&); // copy constructor
  26. virtual ~StHbtV0Cut(){/* no-op */}; // destructor
  27. virtual bool Pass(const StHbtV0* )=0; // true if passes, false if not
  28. virtual StHbtParticleType Type(){return hbtV0;}
  29. virtual StHbtV0Cut* Clone() { return 0;}
  30. #ifdef __ROOT__
  31. ClassDef(StHbtV0Cut, 0)
  32. #endif
  33. };
  34. inline StHbtV0Cut::StHbtV0Cut(const StHbtV0Cut& c) : StHbtParticleCut(c) { /* no-op */ }
  35. #endif