12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /***************************************************************************
- *
- * $Id:
- *
- * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
- ***************************************************************************
- *
- * Description: part of STAR HBT Framework: StHbtMaker package
- * base class for particle-wise cuts
- * Users inherit from this class to make particular TrackCuts.
- * Note that TrackCut is a derived class of ParticleCut
- *
- ***************************************************************************
- *
- * $Log:
- **************************************************************************/
- #ifndef StHbtTrackCut_hh
- #define StHbtTrackCut_hh
- #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
- #include "StHbtMaker/Infrastructure/StHbtTrack.hh"
- #include "StHbtMaker/Base/StHbtParticleCut.h"
- class StHbtTrackCut : public StHbtParticleCut {
- public:
- StHbtTrackCut(){/* no-op */}; // default constructor. - Users should write their own
- StHbtTrackCut(const StHbtTrackCut&); // copy constructor
- virtual ~StHbtTrackCut(){/* no-op */}; // destructor
- virtual bool Pass(const StHbtTrack* track)=0; // true if passes, false if not
- virtual StHbtParticleType Type(){return hbtTrack;}
- virtual StHbtTrackCut* Clone() { return 0;}
- #ifdef __ROOT__
- ClassDef(StHbtTrackCut, 0)
- #endif
- };
- inline StHbtTrackCut::StHbtTrackCut(const StHbtTrackCut& c) : StHbtParticleCut(c) {
- #ifdef STHBTDEBUG
- cout << " StHbtTrackCut::StHbtTrackCut(const StHbtTrackCut& c) : StHbtParticleCut(c) " << endl;
- #endif
- }
- #endif
|