Remove event number reading due to interface changes
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemtoUser / Cut / 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
25#include "Base/AliFemtoPairCut.h"
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
49inline AliFemtoShareQualityPairCut::AliFemtoShareQualityPairCut(const AliFemtoShareQualityPairCut& c) : AliFemtoPairCut(c) {
50 fNPairsPassed = 0;
51 fNPairsFailed = 0;
52 fShareQualityMax = 1.0; // no cut
53}
54
55inline AliFemtoShareQualityPairCut* AliFemtoShareQualityPairCut::Clone() { AliFemtoShareQualityPairCut* c = new AliFemtoShareQualityPairCut(*this); return c;}
56
57#endif