]>
Commit | Line | Data |
---|---|---|
67427ff7 | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /// AliFemtoXiCut - the pure virtual base class for the Xi cut /// | |
3 | /// All Xi cuts must inherit from this one /// | |
4 | //////////////////////////////////////////////////////////////////////////////// | |
5 | ||
6 | #ifndef AliFemtoXiCut_hh | |
7 | #define AliFemtoXiCut_hh | |
8 | ||
9 | #include "Infrastructure/AliFemtoTypes.h" | |
10 | #include "Infrastructure/AliFemtoXi.h" | |
11 | #include "Base/AliFemtoParticleCut.h" | |
12 | ||
13 | class AliFemtoXiCut : public AliFemtoParticleCut { | |
14 | ||
15 | public: | |
16 | ||
17 | AliFemtoXiCut(){/* no-op */}; // default constructor. - Users should write their own | |
18 | AliFemtoXiCut(const AliFemtoXiCut& aCut); // copy constructor | |
19 | virtual ~AliFemtoXiCut(){/* no-op */}; // destructor | |
20 | ||
21 | virtual bool Pass(const AliFemtoXi* aCut)=0; // true if passes, false if not | |
22 | ||
23 | virtual AliFemtoParticleType Type(){return hbtXi;} | |
24 | virtual AliFemtoXiCut* Clone() { return 0;} | |
25 | ||
26 | #ifdef __ROOT__ | |
27 | ClassDef(AliFemtoXiCut, 0) | |
28 | #endif | |
29 | }; | |
30 | ||
31 | inline AliFemtoXiCut::AliFemtoXiCut(const AliFemtoXiCut& c) : AliFemtoParticleCut(c) { /* no-op */ } | |
32 | ||
33 | #endif |