]>
Commit | Line | Data |
---|---|---|
e178f9f2 | 1 | #ifndef ALIRECINFOCUTS_H |
2 | #define ALIRECINFOCUTS_H | |
3 | ||
4 | //------------------------------------------------------------------------------ | |
5 | // Class to keep selection cuts for reconstructed tracks. | |
6 | // | |
7 | // Author: J.Otwinowski 04/02/2008 | |
8 | //------------------------------------------------------------------------------ | |
9 | ||
26e10df5 | 10 | #include "AliESDtrackCuts.h" |
e178f9f2 | 11 | |
12 | class AliRecInfoCuts : public AliESDtrackCuts | |
13 | { | |
14 | public: | |
15 | AliRecInfoCuts(const Char_t* name ="AliRecInfoCuts", const Char_t *title =""); | |
16 | virtual ~AliRecInfoCuts() {;} | |
17 | ||
18 | // setters | |
19 | void SetMinTPCsignalN(const Int_t min=0) {fMinTPCsignalN = min;} | |
dfcb3110 | 20 | void SetMaxAbsTanTheta(const Float_t max=1e99) {fMaxAbsTanTheta = max;} |
21 | void SetMinNClustersTRD(const Int_t min=0) {fMinNClustersTRD = min;} | |
22 | void SetMinNTrackletsTRD(const Int_t min=0) {fMinNTrackletsTRD = min;} | |
23 | void SetTPCITSMatchingRadius(const Float_t radius=70.) {fTPCITSMatchingRadius = radius;} | |
24 | void SetTPCTRDMatchingRadius(const Float_t radius=260.) {fTPCTRDMatchingRadius = radius;} | |
e178f9f2 | 25 | |
26 | // getters | |
27 | Int_t GetMinTPCsignalN() const {return fMinTPCsignalN;} | |
28 | Float_t GetMaxAbsTanTheta() const {return fMaxAbsTanTheta;} | |
29 | ||
30 | // getters for selected AliESDtrackCuts data members | |
31 | Float_t GetPtMin() const {return fPtMin;} | |
32 | Float_t GetPtMax() const {return fPtMax;} | |
33 | Int_t GetMinNClustersTPC() const {return fCutMinNClusterTPC;} | |
dfcb3110 | 34 | Int_t GetMinNClustersITS() const {return fCutMinNClusterITS;} |
35 | Int_t GetMinNClustersTRD() const {return fMinNClustersTRD;} | |
36 | Int_t GetMinNTrackletsTRD() const {return fMinNTrackletsTRD;} | |
37 | Float_t GetTPCITSMatchingRadius() const {return fTPCITSMatchingRadius;} | |
38 | Float_t GetTPCTRDMatchingRadius() const {return fTPCTRDMatchingRadius;} | |
e178f9f2 | 39 | |
40 | // cuts init function | |
41 | void Init(); | |
42 | ||
43 | private: | |
44 | Int_t fMinTPCsignalN; // min. number of TPC hits | |
45 | Float_t fMaxAbsTanTheta; // max. absolute value of tan(theta) | |
dfcb3110 | 46 | Int_t fMinNClustersTRD; // min number of TRD clusters |
47 | Float_t fTPCITSMatchingRadius; // TPC-ITS matching radius | |
48 | Float_t fTPCTRDMatchingRadius; // TPC-TRD matching radius | |
49 | Int_t fMinNTrackletsTRD; // min number of TRD tracklets | |
e178f9f2 | 50 | |
51 | AliRecInfoCuts(const AliRecInfoCuts&); // not implemented | |
52 | AliRecInfoCuts& operator=(const AliRecInfoCuts&); // not implemented | |
53 | ||
54 | ClassDef(AliRecInfoCuts, 1) | |
55 | }; | |
56 | ||
57 | #endif //ALIRECINFOCUTS_H |