00001 /*************************************************************************** 00002 * 00003 * $Id: StHbtKinkCut.h,v 1.1 2001/05/25 23:23:58 lisa Exp $ 00004 * 00005 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu 00006 *************************************************************************** 00007 * 00008 * Description: part of STAR HBT Framework: StHbtMaker package 00009 * base class for particle-wise cuts 00010 * Users inherit from this class to make particular KinkCuts. 00011 * Note that KinkCut is a derived class of ParticleCut 00012 * 00013 *************************************************************************** 00014 * 00015 * $Log: StHbtKinkCut.h,v $ 00016 * Revision 1.1 2001/05/25 23:23:58 lisa 00017 * Added in StHbtKink stuff 00018 * 00019 **************************************************************************/ 00020 00021 00022 #ifndef StHbtKinkCut_hh 00023 #define StHbtKinkCut_hh 00024 00025 #include "StHbtMaker/Infrastructure/StHbtTypes.hh" 00026 #include "StHbtMaker/Infrastructure/StHbtKink.hh" 00027 #include "StHbtMaker/Base/StHbtParticleCut.h" 00028 00029 class StHbtKinkCut : public StHbtParticleCut { 00030 00031 public: 00032 00033 StHbtKinkCut(){/* no-op */}; // default constructor. - Users should write their own 00034 StHbtKinkCut(const StHbtKinkCut&); // copy constructor 00035 virtual ~StHbtKinkCut(){/* no-op */}; // destructor 00036 00037 virtual bool Pass(const StHbtKink* )=0; // true if passes, false if not 00038 00039 virtual StHbtParticleType Type(){return hbtKink;} 00040 virtual StHbtKinkCut* Clone() { return 0;} 00041 00042 #ifdef __ROOT__ 00043 ClassDef(StHbtKinkCut, 0) 00044 #endif 00045 }; 00046 00047 inline StHbtKinkCut::StHbtKinkCut(const StHbtKinkCut& c) : StHbtParticleCut(c) { /* no-op */ } 00048 00049 #endif
1.5.9