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