]>
Commit | Line | Data |
---|---|---|
67427ff7 | 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 | ||
d0e92d9a | 9 | #include "AliFemtoTypes.h" |
10 | #include "AliFemtoKink.h" | |
11 | #include "AliFemtoParticleCut.h" | |
67427ff7 | 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 | ||
21 | virtual bool Pass(const AliFemtoKink* aKink)=0; // true if passes, false if not | |
22 | ||
23 | virtual AliFemtoParticleType Type(){return hbtKink;} | |
24 | virtual AliFemtoKinkCut* Clone() { return 0;} | |
25 | ||
26 | #ifdef __ROOT__ | |
27 | ClassDef(AliFemtoKinkCut, 0) | |
28 | #endif | |
29 | }; | |
30 | //_____________________________ | |
31 | inline AliFemtoKinkCut::AliFemtoKinkCut(const AliFemtoKinkCut& c) : AliFemtoParticleCut(c) { /* no-op */ } | |
32 | ||
33 | #endif |