]>
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 | ||
d0e92d9a | 9 | #include "AliFemtoTypes.h" |
10 | #include "AliFemtoXi.h" | |
11 | #include "AliFemtoParticleCut.h" | |
67427ff7 | 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 | |
06d716ee | 20 | AliFemtoXiCut& operator=(const AliFemtoXiCut& aCut); // copy constructor |
67427ff7 | 21 | |
22 | virtual bool Pass(const AliFemtoXi* aCut)=0; // true if passes, false if not | |
23 | ||
24 | virtual AliFemtoParticleType Type(){return hbtXi;} | |
25 | virtual AliFemtoXiCut* Clone() { return 0;} | |
26 | ||
27 | #ifdef __ROOT__ | |
28 | ClassDef(AliFemtoXiCut, 0) | |
29 | #endif | |
30 | }; | |
31 | ||
32 | inline AliFemtoXiCut::AliFemtoXiCut(const AliFemtoXiCut& c) : AliFemtoParticleCut(c) { /* no-op */ } | |
06d716ee | 33 | inline AliFemtoXiCut& AliFemtoXiCut::operator=(const AliFemtoXiCut& c) { if (this != &c) { AliFemtoParticleCut::operator=(c); } return *this; } |
67427ff7 | 34 | |
35 | #endif |