]>
Commit | Line | Data |
---|---|---|
b0d3d6b9 | 1 | // |
2 | // Class AliRsnAnalysisPhiKK | |
3 | // | |
4 | // Virtual Class derivated from AliRsnVAnalysisTaskSE which will be base class | |
5 | // for all RSN SE tasks | |
6 | // | |
7 | // authors: Martin Vala (martin.vala@cern.ch) | |
8 | // Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it) | |
9 | // | |
f073c807 | 10 | #ifndef ALIRSNANALYSISPHIKK_H |
11 | #define ALIRSNANALYSISPHIKK_H | |
b0d3d6b9 | 12 | |
13 | #include "TClonesArray.h" | |
14 | ||
15 | #include "AliRsnVAnalysisTaskSE.h" | |
16 | ||
17 | #include "AliRsnDaughter.h" | |
18 | #include "AliRsnMother.h" | |
19 | #include "AliRsnPairDef.h" | |
20 | #include "AliRsnEvent.h" | |
21 | #include "AliRsnCutSet.h" | |
22 | ||
23 | class AliRsnPIDDefESD; | |
24 | ||
25 | class AliRsnAnalysisPhiKK : public AliRsnVAnalysisTaskSE | |
26 | { | |
27 | public: | |
28 | ||
29 | AliRsnAnalysisPhiKK(const char *name = "RSNphi", Bool_t useKine = kFALSE); | |
30 | AliRsnAnalysisPhiKK(const AliRsnAnalysisPhiKK& copy); | |
31 | AliRsnAnalysisPhiKK& operator=(const AliRsnAnalysisPhiKK& copy); | |
32 | virtual ~AliRsnAnalysisPhiKK() {} | |
33 | ||
34 | virtual void RsnUserCreateOutputObjects(); | |
35 | virtual void RsnUserExec(Option_t*); | |
36 | virtual void RsnTerminate(Option_t*); | |
37 | virtual Bool_t EventProcess(); | |
38 | ||
39 | AliRsnCutSet* GetEventCuts() {return &fCutEvent;} | |
40 | AliRsnCutSet* GetCommonDaughterCuts() {return &fCutTrackCommon;} | |
41 | AliRsnCutSet* GetPosDaughterCuts() {return &fCutTrackPos;} | |
42 | AliRsnCutSet* GetNegDaughterCuts() {return &fCutTrackNeg;} | |
43 | AliRsnCutSet* GetMotherCuts() {return &fCutPair;} | |
f073c807 | 44 | AliRsnPairDef* GetPairDef() {return &fPairDef;} |
b0d3d6b9 | 45 | |
f073c807 | 46 | static Bool_t IsTruePair(AliRsnDaughter *d1, AliRsnDaughter *d2); |
b0d3d6b9 | 47 | void AddFunction(AliRsnFunction* const fcn); |
48 | TList* GenerateHistograms(); | |
49 | ||
50 | private: | |
51 | ||
b0d3d6b9 | 52 | AliRsnPairDef fPairDef; // resonance decay tree (fixed) |
53 | ||
54 | AliRsnCutSet fCutEvent; // cut set for events | |
55 | AliRsnCutSet fCutTrackCommon; // cut set for tracks (common) | |
56 | AliRsnCutSet fCutTrackPos; // cut set for tracks (only pos) | |
57 | AliRsnCutSet fCutTrackNeg; // cut set for tracks (only neg) | |
58 | AliRsnCutSet fCutPair; // cut set for pairs | |
59 | ||
60 | TClonesArray fFuncPM; // collection of functions for unlike-sign | |
61 | TClonesArray fFuncPP; // collection of functions for like-sign ++ | |
62 | TClonesArray fFuncMM; // collection of functions for like-sign -- | |
63 | TClonesArray fFuncTrue; // collection of functions for unlike-sign true pairs | |
64 | ||
65 | TList *fOutList; // list of output events | |
66 | ||
67 | ClassDef(AliRsnAnalysisPhiKK, 1) | |
68 | }; | |
69 | ||
70 | #endif |