]>
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(); | |
7183fe85 | 35 | AliAnalysisTaskQCumulants(const char *name, 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 | ||
e04e4ec5 | 43 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; |
44 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
45 | void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;}; | |
46 | Bool_t GetUsePtWeights() const {return this->fUsePtWeights;}; | |
47 | void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;}; | |
48 | Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;}; | |
bc92c0cb | 49 | |
50 | private: | |
51 | AliAnalysisTaskQCumulants(const AliAnalysisTaskQCumulants& aatqc); | |
52 | AliAnalysisTaskQCumulants& operator=(const AliAnalysisTaskQCumulants& aatqc); | |
e04e4ec5 | 53 | |
7183fe85 | 54 | AliFlowEventSimple *fEvent; // the input event |
55 | AliFlowAnalysisWithQCumulants *fQCA; // Q-cumulant Analysis (QCA) object | |
56 | TList *fListHistos; // collection of output | |
57 | ||
58 | Bool_t fUseWeights; // use any weights | |
59 | Bool_t fUsePhiWeights; // use phi weights | |
60 | Bool_t fUsePtWeights; // use pt weights | |
61 | Bool_t fUseEtaWeights; // use eta weights | |
62 | TList *fListWeights; // list with weights | |
bc92c0cb | 63 | |
64 | ClassDef(AliAnalysisTaskQCumulants, 1); | |
65 | }; | |
66 | ||
67 | //================================================================================================================ | |
68 | ||
69 | #endif | |
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 |