]>
Commit | Line | Data |
---|---|---|
2e04885f | 1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // // | |
3 | // AliFemtoPairCutResonances - a pair cut which checks // | |
4 | // for some pair qualities that attempt to identify slit/doubly // | |
5 | // reconstructed tracks and also selects pairs based on their separation // | |
6 | // at the entrance to the TPC // | |
7 | // // | |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | ||
11 | #ifndef ALIFEMTOPAIRCUTRESONANCES_H | |
12 | #define ALIFEMTOPAIRCUTRESONANCES_H | |
13 | ||
14 | #include "AliFemtoPairCut.h" | |
15 | #include "AliFemtoShareQualityPairCut.h" | |
16 | ||
17 | class AliFemtoPairCutResonances : public AliFemtoShareQualityPairCut{ | |
18 | public: | |
19 | AliFemtoPairCutResonances(); | |
20 | AliFemtoPairCutResonances(const AliFemtoPairCutResonances& c); | |
21 | virtual ~AliFemtoPairCutResonances(); | |
22 | AliFemtoPairCutResonances& operator=(const AliFemtoPairCutResonances& c); | |
23 | ||
24 | virtual bool Pass(const AliFemtoPair* pair); | |
25 | virtual AliFemtoString Report(); | |
26 | virtual TList *ListSettings(); | |
27 | virtual AliFemtoPairCut* Clone(); | |
28 | void SetMaxEEMinv(Double_t maxeeminv); | |
29 | void SetMaxThetaDiff(Double_t maxdtheta); | |
30 | void SetDataType(AliFemtoDataType type); | |
31 | void SetChooseResonances(bool onlyResonances); | |
32 | ||
33 | protected: | |
34 | Double_t fMaxEEMinv; // Maximum allowed ee Minv | |
35 | Double_t fMaxDTheta; // Maximum polar angle difference | |
36 | AliFemtoDataType fDataType; //Use ESD / AOD / Kinematics. | |
37 | bool fSwitchPassFail; // cut resonances (false), choose resonances (true) | |
38 | ||
39 | #ifdef __ROOT__ | |
40 | ClassDef(AliFemtoPairCutResonances, 0) | |
41 | #endif | |
42 | }; | |
43 | ||
44 | inline AliFemtoPairCut* AliFemtoPairCutResonances::Clone() { AliFemtoPairCutResonances* c = new AliFemtoPairCutResonances(*this); return c;} | |
45 | ||
46 | #endif |