StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHbtKinkCut.h
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 
21 
22 #ifndef StHbtKinkCut_hh
23 #define StHbtKinkCut_hh
24 
25 #include "StHbtMaker/Infrastructure/StHbtTypes.hh"
26 #include "StHbtMaker/Infrastructure/StHbtKink.hh"
27 #include "StHbtMaker/Base/StHbtParticleCut.h"
28 
30 
31 public:
32 
33  StHbtKinkCut(){/* no-op */}; // default constructor. - Users should write their own
34  StHbtKinkCut(const StHbtKinkCut&); // copy constructor
35  virtual ~StHbtKinkCut(){/* no-op */}; // destructor
36 
37  virtual bool Pass(const StHbtKink* )=0; // true if passes, false if not
38 
39  virtual StHbtParticleType Type(){return hbtKink;}
40  virtual StHbtKinkCut* Clone() { return 0;}
41 
42 #ifdef __ROOT__
43  ClassDef(StHbtKinkCut, 0)
44 #endif
45 };
46 
47 inline StHbtKinkCut::StHbtKinkCut(const StHbtKinkCut& c) : StHbtParticleCut(c) { /* no-op */ }
48 
49 #endif