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