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