]>
Commit | Line | Data |
---|---|---|
bc92c0cb | 1 | /* |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. | |
3 | * See cxx source for full Copyright notice | |
4 | * $Id$ | |
5 | */ | |
6 | ||
7 | /************************************** | |
8 | * analysis task for Q-cumulants * | |
9 | * * | |
10 | * authors: Naomi van der Kolk * | |
11 | * (kolk@nikhef.nl) * | |
12 | * Raimond Snellings * | |
13 | * (snelling@nikhef.nl) * | |
14 | * Ante Bilandzic * | |
15 | * (anteb@nikhef.nl) * | |
16 | * ***********************************/ | |
17 | ||
52021ae2 | 18 | #ifndef ALIANALYSISTASKQCUMULANTS_H |
19 | #define ALIANALYSISTASKQCUMULANTS_H | |
bc92c0cb | 20 | |
21 | #include "AliAnalysisTask.h" | |
22 | ||
23 | class AliESDEvent; | |
24 | class AliAODEvent; | |
25 | class AliCFManager; | |
26 | class AliFlowAnalysisWithQCumulants; | |
27 | class AliFlowEventSimpleMaker; | |
28 | class TFile; | |
29 | ||
30 | //================================================================================================================ | |
31 | ||
32 | class AliAnalysisTaskQCumulants : public AliAnalysisTask{ | |
33 | public: | |
34 | AliAnalysisTaskQCumulants(); | |
e04e4ec5 | 35 | AliAnalysisTaskQCumulants(const char *name, Bool_t QAon = kFALSE, Bool_t useWeights=kFALSE); |
bc92c0cb | 36 | virtual ~AliAnalysisTaskQCumulants(){}; |
37 | ||
38 | virtual void ConnectInputData(Option_t *); | |
39 | virtual void CreateOutputObjects(); | |
40 | virtual void Exec(Option_t *option); | |
41 | virtual void Terminate(Option_t *); | |
42 | ||
43 | void SetAnalysisType(TString type) {this->fAnalysisType = type;} | |
44 | TString GetAnalysisType() const {return this->fAnalysisType;} | |
45 | ||
46 | void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr;} | |
47 | AliCFManager* GetCFManager1() {return this->fCFManager1;} | |
48 | void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr;} | |
49 | AliCFManager* GetCFManager2() {return this->fCFManager2;} | |
50 | void SetQAList1(TList* list) {this->fQAInt = list; } | |
51 | TList* GetQAList1() {return this->fQAInt; } | |
52 | void SetQAList2(TList* list) {this->fQADiff = list; } | |
53 | TList* GetQAList2() {return this->fQADiff; } | |
54 | void SetQAOn(Bool_t kt) {this->fQA = kt; } | |
55 | Bool_t GetQAOn() {return this->fQA; } | |
e04e4ec5 | 56 | |
57 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; | |
58 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
59 | void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;}; | |
60 | Bool_t GetUsePtWeights() const {return this->fUsePtWeights;}; | |
61 | void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;}; | |
62 | Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;}; | |
bc92c0cb | 63 | |
64 | private: | |
65 | AliAnalysisTaskQCumulants(const AliAnalysisTaskQCumulants& aatqc); | |
66 | AliAnalysisTaskQCumulants& operator=(const AliAnalysisTaskQCumulants& aatqc); | |
67 | ||
68 | AliESDEvent *fESD; //ESD object | |
69 | AliAODEvent* fAOD; //AOD object | |
70 | AliFlowAnalysisWithQCumulants* fQCA; //Q-cumulant Analysis (QCA) object | |
71 | AliFlowEventSimpleMaker* fEventMaker; //FlowEventSimple maker object | |
72 | TString fAnalysisType; //string to select which kind of input to analyse (ESD, AOD or MC) | |
73 | AliCFManager* fCFManager1; //correction framework manager | |
74 | AliCFManager* fCFManager2; //correction framework manager | |
75 | TList *fListHistos; //collection of output | |
76 | ||
e04e4ec5 | 77 | TList* fQAInt; // QA histogram list |
78 | TList* fQADiff; // QA histogram list | |
bc92c0cb | 79 | |
e04e4ec5 | 80 | Bool_t fQA; // flag to set the filling of the QA hostograms |
81 | ||
82 | Bool_t fUseWeights; // use any weights | |
83 | Bool_t fUsePhiWeights; // phi weights | |
84 | Bool_t fUsePtWeights; // v_2(pt) weights | |
85 | Bool_t fUseEtaWeights; // v_2(eta) weights | |
86 | TList* fListWeights; // list with weights | |
bc92c0cb | 87 | |
88 | ClassDef(AliAnalysisTaskQCumulants, 1); | |
89 | }; | |
90 | ||
91 | //================================================================================================================ | |
92 | ||
93 | #endif | |
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 |