1 ////////////////////////////////////////////////////////////////////////////////
2 /// AliFemtoKinkCut - the pure virtual base class for the kink cut ///
3 /// All kink cuts must inherit from this one ///
4 ////////////////////////////////////////////////////////////////////////////////
6 #ifndef AliFemtoKinkCut_hh
7 #define AliFemtoKinkCut_hh
9 #include "AliFemtoTypes.h"
10 #include "AliFemtoKink.h"
11 #include "AliFemtoParticleCut.h"
13 class AliFemtoKinkCut : public AliFemtoParticleCut {
17 AliFemtoKinkCut(){/* no-op */}; // default constructor. - Users should write their own
18 AliFemtoKinkCut(const AliFemtoKinkCut&); // copy constructor
19 virtual ~AliFemtoKinkCut(){/* no-op */}; // destructor
21 virtual bool Pass(const AliFemtoKink* aKink)=0; // true if passes, false if not
23 virtual AliFemtoParticleType Type(){return hbtKink;}
24 virtual AliFemtoKinkCut* Clone() { return 0;}
27 ClassDef(AliFemtoKinkCut, 0)
30 //_____________________________
31 inline AliFemtoKinkCut::AliFemtoKinkCut(const AliFemtoKinkCut& c) : AliFemtoParticleCut(c) { /* no-op */ }