Making the directory structure of AliFemtoUser flat. All files go into one common...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoQPairCut.h
CommitLineData
67427ff7 1/***************************************************************************
2 *
3 * $Id $
4 *
5 ***************************************************************************
6 *
7 *
8 ***************************************************************************
9 *
10 * $Log$
65423af9 11 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
12 * Importing the HBT code dir
13 *
67427ff7 14 * Revision 1.1.1.1 2007/03/07 10:14:49 mchojnacki
15 * First version on CVS
16 *
17 *
18 **************************************************************************/
19
20
21#ifndef AliFemtoQPairCut_hh
22#define AliFemtoQPairCut_hh
23
24// do I need these lines ?
25//#ifndef StMaker_H
26//#include "StMaker.h"
27//#endif
28
65423af9 29#include "AliFemtoPairCut.h"
67427ff7 30
31class AliFemtoQPairCut : public AliFemtoPairCut{
32public:
33 AliFemtoQPairCut();
34 ~AliFemtoQPairCut();
35
36 virtual bool Pass(const AliFemtoPair*);
37 virtual AliFemtoString Report();
38 void Setqlong(const float& lo, const float& hi);
39 void Setqout(const float& lo, const float& hi);
40 void Setqside(const float& lo, const float& hi);
41 void Setqinv(const float& lo, const float& hi);
42 AliFemtoQPairCut* Clone();
43
44
45private:
46 long fNPairsPassed;
47 long fNPairsFailed;
48 float fQlong[2];
49 float fQout[2];
50 float fQside[2];
51 float fQinv[2];
52
53
54#ifdef __ROOT__
55 ClassDef(AliFemtoQPairCut, 1)
56#endif
57};
58
59
60inline AliFemtoQPairCut* AliFemtoQPairCut::Clone()
61{
62 AliFemtoQPairCut* c = new AliFemtoQPairCut(*this);
63 return c;
64}
65inline void AliFemtoQPairCut::Setqlong(const float& lo,const float& hi){fQlong[0]=lo; fQlong[1]=hi;}
66inline void AliFemtoQPairCut::Setqout(const float& lo,const float& hi) {fQout[0]=lo; fQout[1]=hi;}
67inline void AliFemtoQPairCut::Setqside(const float& lo,const float& hi){fQside[0]=lo; fQside[1]=hi;}
68inline void AliFemtoQPairCut::Setqinv(const float& lo,const float& hi) {fQinv[0]=lo; fQinv[1]=hi;}
69
70#endif