]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FEMTOSCOPY/AliFemto/AliFemtoV0Cut.h
Lines getting the matched track moved to a method in AliCalorimeterUtils. Lines copie...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoV0Cut.h
CommitLineData
67427ff7 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
d0e92d9a 9#include "AliFemtoTypes.h"
10#include "AliFemtoV0.h"
11#include "AliFemtoParticleCut.h"
67427ff7 12
13class AliFemtoV0Cut : public AliFemtoParticleCut {
14
15public:
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
443d5a7a 20 AliFemtoV0Cut& operator=(const AliFemtoV0Cut& aCut); // copy constructor
67427ff7 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
32inline AliFemtoV0Cut::AliFemtoV0Cut(const AliFemtoV0Cut& c) : AliFemtoParticleCut(c) { /* no-op */ }
443d5a7a 33inline AliFemtoV0Cut& AliFemtoV0Cut::operator=(const AliFemtoV0Cut& c) { if (this != &c) { AliFemtoParticleCut::operator=(c); } return *this; }
67427ff7 34
35#endif