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