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 ALIFEMTOV0TRACKPAIRCUT_H
24 #define ALIFEMTOV0TRACKPAIRCUT_H
26 // do I need these lines ?
28 //#include "StMaker.h"
31 #include "AliFemtoPairCut.h"
33 class AliFemtoV0TrackPairCut : public AliFemtoPairCut{
35 AliFemtoV0TrackPairCut();
36 AliFemtoV0TrackPairCut(const AliFemtoV0TrackPairCut& cut);
37 virtual ~AliFemtoV0TrackPairCut();
38 AliFemtoV0TrackPairCut& operator=(const AliFemtoV0TrackPairCut& 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 SetTPCOnly(Bool_t tpconly);
48 void SetShareQualityMax(Double_t aShareQualityMax);
49 void SetShareFractionMax(Double_t aShareFractionMax);
50 void SetTPCEntranceSepMinimum(double dtpc);
51 void SetTPCExitSepMinimum(double dtpc);
52 void SetDataType(AliFemtoDataType type);
55 long fNPairsPassed; // Number of pairs consideered that passed the cut
56 long fNPairsFailed; // Number of pairs consideered that failed the cut
59 Double_t fV0Max; // Maximum allowed pair quality
60 Double_t fShareQualityMax;
61 Double_t fShareFractionMax; // Maximum allowed share fraction
62 Bool_t fRemoveSameLabel; // If 1 pairs with two tracks with the same label will be removed
65 AliFemtoDataType fDataType; //Use ESD / AOD / Kinematics.
66 Double_t fDTPCMin; // Minimum allowed pair nominal separation at the entrance to the TPC
67 Double_t fDTPCExitMin; // Minimum allowed pair nominal separation at the exit of the TPC
72 ClassDef(AliFemtoV0TrackPairCut, 0)
76 inline AliFemtoV0TrackPairCut::AliFemtoV0TrackPairCut(const AliFemtoV0TrackPairCut& c) :
81 fShareQualityMax(1.0),
82 fShareFractionMax(1.0),
90 inline AliFemtoPairCut* AliFemtoV0TrackPairCut::Clone() { AliFemtoV0TrackPairCut* c = new AliFemtoV0TrackPairCut(*this); return c;}