Making the directory structure of AliFemtoUser flat. All files go into one common...
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / AliFemtoShareQualityPairCut.h
CommitLineData
67427ff7 1/***************************************************************************
2 *
3 * $Id$
4 *
5 * Author: Adam Kisiel, Ohio State University, kisiel@mps.ohio-state.edu
6 ***************************************************************************
7 *
8 * Description: part of STAR HBT Framework: AliFemtoMaker package
9 * a cut to remove "shared" and "split" pairs
10 *
11 ***************************************************************************
12 *
13 *
14 **************************************************************************/
15
16
17#ifndef AliFemtoShareQualityPairCut_hh
18#define AliFemtoShareQualityPairCut_hh
19
20// do I need these lines ?
21//#ifndef StMaker_H
22//#include "StMaker.h"
23//#endif
24
65423af9 25#include "AliFemtoPairCut.h"
67427ff7 26
27class AliFemtoShareQualityPairCut : public AliFemtoPairCut{
28public:
29 AliFemtoShareQualityPairCut();
30 AliFemtoShareQualityPairCut(const AliFemtoShareQualityPairCut&);
31 ~AliFemtoShareQualityPairCut();
32
33 virtual bool Pass(const AliFemtoPair*);
34 virtual AliFemtoString Report();
35 AliFemtoShareQualityPairCut* Clone();
36 void SetShareQualityMax(Double_t aAliFemtoShareQualityMax);
37 Double_t GetAliFemtoShareQualityMax();
38
39private:
40 long fNPairsPassed;
41 long fNPairsFailed;
42 Double_t fShareQualityMax;
43
44#ifdef __ROOT__
45 ClassDef(AliFemtoShareQualityPairCut, 0)
46#endif
47};
48
0215f606 49inline AliFemtoShareQualityPairCut::AliFemtoShareQualityPairCut(const AliFemtoShareQualityPairCut& c) :
50 AliFemtoPairCut(c),
51 fNPairsPassed(0),
52 fNPairsFailed(0),
53 fShareQualityMax(1.0) // no cut
54{ /* no-op */ }
67427ff7 55
56inline AliFemtoShareQualityPairCut* AliFemtoShareQualityPairCut::Clone() { AliFemtoShareQualityPairCut* c = new AliFemtoShareQualityPairCut(*this); return c;}
57
58#endif