1 #ifndef ALIANALYSISTRACKCUTS_H
2 #define ALIANALYSISTRACKCUTS_H
3 /* See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliAnalysisTrackCuts
10 // This is the class for the cuts in event & track level
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
23 class AliAnalysisTrackCuts : public TObject
26 AliAnalysisTrackCuts();
28 ~AliAnalysisTrackCuts();
32 void SetPRange(Float_t r1, Float_t r2);
33 void SetPtRange(Float_t r1, Float_t r2);
34 void SetPxRange(Float_t r1, Float_t r2);
35 void SetPyRange(Float_t r1, Float_t r2);
36 void SetPzRange(Float_t r1, Float_t r2);
37 void SetBrRange(Float_t r1, Float_t r2);
38 void SetBzRange(Float_t r1, Float_t r2);
39 void SetEtaRange(Float_t r1, Float_t r2);
40 void SetRapRange(Float_t r1, Float_t r2);
42 Bool_t IsAccepted(AliESD *esd,AliESDtrack *esdtrack);
43 TObjArray *GetAcceptedParticles(AliESD *esd);
45 TPaveText *GetTrackCuts();
46 void PrintTrackCuts();
59 Float_t fPMin, fPMax; //Definition of the range of the P
60 Float_t fPtMin, fPtMax; //Definition of the range of the Pt
61 Float_t fPxMin, fPxMax; //Definition of the range of the Px
62 Float_t fPyMin, fPyMax; //Definition of the range of the Py
63 Float_t fPzMin, fPzMax; //Definition of the range of the Pz
64 Float_t fEtaMin, fEtaMax; //Definition of the range of the eta
65 Float_t fRapMin, fRapMax; //Definition of the range of the y
66 Float_t fBrMin, fBrMax; //Definition of the range of the br
67 Float_t fBzMin, fBzMax; //Definition of the range of the bz
69 Int_t fP; //Number of events rejected due to P cut
70 Int_t fPt; //Number of events rejected due to Pt cut
71 Int_t fPx; //Number of events rejected due to Px cut
72 Int_t fPy; //Number of events rejected due to Py cut
73 Int_t fPz; //Number of events rejected due to Pz cut
74 Int_t fEta; //Number of events rejected due to eta cut
75 Int_t fRap; //Number of events rejected due to y cut
76 Int_t fbr; //Number of events rejected due to br cut
77 Int_t fbz; //Number of events rejected due to bz cut
78 Int_t fTotalTracks; //Total number of tracks
79 Int_t fAcceptedTracks; //Total number of accepted tracks
81 Int_t fFlagP; //Flag that shows if the P cut was imposed
82 Int_t fFlagPt; //Flag that shows if the Pt cut was imposed
83 Int_t fFlagPx; //Flag that shows if the Px cut was imposed
84 Int_t fFlagPy; //Flag that shows if the Py cut was imposed
85 Int_t fFlagPz; //Flag that shows if the Pz cut was imposed
86 Int_t fFlagEta; //Flag that shows if the eta cut was imposed
87 Int_t fFlagRap; //Flag that shows if the y cut was imposed
88 Int_t fFlagbr; //Flag that shows if the br cut was imposed
89 Int_t fFlagbz; //Flag that shows if the bz cut was imposed
91 TObjArray *fAcceptedParticleList; //List of accepted particles after quality cuts
93 ClassDef(AliAnalysisTrackCuts, 2)