4 /***************************************************************************
5 Class for single track/daughter phi cut.
6 Author: Francesca Bellini (fbellini@cern.ch)
9 - "OuterTPC" apply cut to phi estimated at the TPC outer radius
10 - "InTRD" select phi (at outer TPC radius) region corresponding to the TRD modules
11 (2010 config) where a 5° region is excluded to avoid border effects
12 - "OutTRD" select phi (at outer TPC radius) region without TRD modules
13 (2010 config) where a 5° region is excluded to avoid border effects
14 ****************************************************************************/
16 #include <TClonesArray.h>
18 #include "AliESDtrack.h"
19 #include "AliRsnCut.h"
20 //#include "AliRsnValueDaughter.h";
21 #include "AliVTrack.h"
23 class AliRsnCutPhi : public AliRsnCut {
27 AliRsnCutPhi(const char *name, TString opt);
28 AliRsnCutPhi(const AliRsnCutPhi ©);
29 AliRsnCutPhi &operator=(const AliRsnCutPhi ©);
30 virtual ~AliRsnCutPhi() { }
32 Bool_t IsSelected(TObject *object);
33 void SetPhiRange(Double_t a, Double_t b) {fPhiRange[0]=a; fPhiRange[1]=b; return;};
36 Bool_t IsInsideTRD(AliVTrack *vtrack);
37 Bool_t IsOutsideTRD(AliVTrack *vtrack);
38 Bool_t IsInsideTRD2TOF(AliVTrack *vtrack);
39 Bool_t IsOutsideTRD2TOF(AliVTrack *vtrack);
40 Double_t GetTrackPhi(AliVTrack * vtrack, Double_t radius);
44 Double_t fPhiRange[2];
45 //AliRsnValueDaughter *fPhi;
47 ClassDef(AliRsnCutPhi, 1)