1 /////////////////////////////////////////////////////////////////////////////
3 // AliFemtoShareQualityPairCut - a pair cut which checks for some pair //
4 // qualities that attempt to identify slit/doubly reconstructed tracks //
6 /////////////////////////////////////////////////////////////////////////////
7 /***************************************************************************
9 * $Id: AliFemtoShareQualityPairCut.h 24360 2008-03-10 09:48:27Z akisiel $
11 * Author: Adam Kisiel, Ohio State University, kisiel@mps.ohio-state.edu
12 ***************************************************************************
14 * Description: part of STAR HBT Framework: AliFemtoMaker package
15 * a cut to remove "shared" and "split" pairs
17 ***************************************************************************
20 **************************************************************************/
23 #ifndef ALIFEMTOV0PAIRCUT_H
24 #define ALIFEMTOV0PAIRCUT_H
26 // do I need these lines ?
28 //#include "StMaker.h"
31 #include "AliFemtoPairCut.h"
33 class AliFemtoV0PairCut : public AliFemtoPairCut{
36 AliFemtoV0PairCut(const AliFemtoV0PairCut& cut);
37 virtual ~AliFemtoV0PairCut();
38 AliFemtoV0PairCut& operator=(const AliFemtoV0PairCut& cut);
40 virtual bool Pass(const AliFemtoPair* pair);
41 virtual AliFemtoString Report();
42 virtual TList *ListSettings();
43 virtual AliFemtoPairCut* Clone();
44 void SetV0Max(Double_t aAliFemtoV0Max);
45 Double_t GetAliFemtoV0Max() const;
46 void SetRemoveSameLabel(Bool_t aRemove);
47 void SetTPCEntranceSepMinimum(double dtpc);
48 void SetTPCExitSepMinimum(double dtpc);
49 void SetDataType(AliFemtoDataType type);
50 void SetMinAvgSeparation(int type, double minSep);
53 long fNPairsPassed; // Number of pairs consideered that passed the cut
54 long fNPairsFailed; // Number of pairs consideered that failed the cut
55 Double_t fV0Max; // Maximum allowed pair quality
56 Double_t fShareFractionMax; // Maximum allowed share fraction
57 Bool_t fRemoveSameLabel; // If 1 pairs with two tracks with the same label will be removed
59 AliFemtoDataType fDataType; //Use ESD / AOD / Kinematics.
60 Double_t fDTPCMin; // Minimum allowed pair nominal separation at the entrance to the TPC
61 Double_t fDTPCExitMin; // Minimum allowed pair nominal separation at the exit of the TPC
62 double fMinAvgSepPosPos;
63 double fMinAvgSepPosNeg;
64 double fMinAvgSepNegPos;
65 double fMinAvgSepNegNeg;
68 ClassDef(AliFemtoV0PairCut, 0)
72 inline AliFemtoV0PairCut::AliFemtoV0PairCut(const AliFemtoV0PairCut& c) :
77 fShareFractionMax(1.0),
89 inline AliFemtoPairCut* AliFemtoV0PairCut::Clone() { AliFemtoV0PairCut* c = new AliFemtoV0PairCut(*this); return c;}