]>
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 | // | |
10 | #ifndef AliRsnAnalysisPhiKK_H | |
11 | #define AliRsnAnalysisPhiKK_H | |
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;} | |
44 | ||
45 | void AddFunction(AliRsnFunction* const fcn); | |
46 | TList* GenerateHistograms(); | |
47 | ||
48 | private: | |
49 | ||
50 | TArrayI fGood; // indexes of good tracks | |
51 | AliRsnDaughter fDaughter[2]; // daughter data-member (to save memory) | |
52 | AliRsnMother fMother; // mother data-member (to save memory) | |
53 | AliRsnPairDef fPairDef; // resonance decay tree (fixed) | |
54 | ||
55 | AliRsnCutSet fCutEvent; // cut set for events | |
56 | AliRsnCutSet fCutTrackCommon; // cut set for tracks (common) | |
57 | AliRsnCutSet fCutTrackPos; // cut set for tracks (only pos) | |
58 | AliRsnCutSet fCutTrackNeg; // cut set for tracks (only neg) | |
59 | AliRsnCutSet fCutPair; // cut set for pairs | |
60 | ||
61 | TClonesArray fFuncPM; // collection of functions for unlike-sign | |
62 | TClonesArray fFuncPP; // collection of functions for like-sign ++ | |
63 | TClonesArray fFuncMM; // collection of functions for like-sign -- | |
64 | TClonesArray fFuncTrue; // collection of functions for unlike-sign true pairs | |
65 | ||
66 | TList *fOutList; // list of output events | |
67 | ||
68 | ClassDef(AliRsnAnalysisPhiKK, 1) | |
69 | }; | |
70 | ||
71 | #endif |