]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoPairCutPt.h
PWGCFfemtoscopy converted to native cmake
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemtoUser / AliFemtoPairCutPt.h
1 /////////////////////////////////////////////////////////////////////////////////////
2 //                                                                                 //
3 // AliFemtoPairCutPt - a pair cut which checks if the sum of the transverse        //
4 // momenta of two particles fit within given range                                 //
5 // Authors: Malgorzata Janik, Warsaw University of Technology, majanik@cern.ch     //
6 //          Lukasz Graczykowski, Warsaw University of Technology, lgraczyk@cern.ch //
7 //                                                                                 //
8 /////////////////////////////////////////////////////////////////////////////////////
9
10
11 #ifndef ALIFEMTOPAIRCUTPT_H
12 #define ALIFEMTOPAIRCUTPT_H
13
14 #include "AliFemtoPairCut.h"
15
16 class AliFemtoPairCutPt : public AliFemtoPairCut{
17 public:
18   AliFemtoPairCutPt();
19   AliFemtoPairCutPt(double lo, double hi);
20   AliFemtoPairCutPt(const AliFemtoPairCutPt& c);
21   virtual ~AliFemtoPairCutPt();
22   AliFemtoPairCutPt& operator=(const AliFemtoPairCutPt& c);
23
24   virtual bool Pass(const AliFemtoPair* pair);
25   virtual AliFemtoString Report();
26   virtual TList *ListSettings();
27   AliFemtoPairCut* Clone();
28   void SetMinSumPt(Double_t sumptmin);
29   void SetMaxSumPt(Double_t sumptmax);
30   
31  protected:
32   Double_t fSumPtMin;
33   Double_t fSumPtMax;
34   Double_t fNPairsFailed;
35   Double_t fNPairsPassed;
36
37 #ifdef __ROOT__
38   ClassDef(AliFemtoPairCutPt, 0)
39 #endif
40 };
41
42 inline AliFemtoPairCut* AliFemtoPairCutPt::Clone() { AliFemtoPairCutPt* c = new AliFemtoPairCutPt(*this); return c;}
43
44 #endif