]>
Commit | Line | Data |
---|---|---|
2188af53 | 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 cumulant method * | |
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 | * ***********************************/ | |
924fafb7 | 17 | |
7183fe85 | 18 | #ifndef ALIANALYSISTASKCUMULANTS_H |
19 | #define ALIANALYSISTASKCUMULANTS_H | |
924fafb7 | 20 | |
2ed70edf | 21 | #include "TString.h" |
22 | #include "AliAnalysisTaskSE.h" | |
924fafb7 | 23 | |
2ed70edf | 24 | class TList; |
25 | class AliFlowEventSimple; | |
924fafb7 | 26 | class AliFlowAnalysisWithCumulants; |
924fafb7 | 27 | |
2188af53 | 28 | //================================================================================================================ |
924fafb7 | 29 | |
2ed70edf | 30 | class AliAnalysisTaskCumulants : public AliAnalysisTaskSE{ |
924fafb7 | 31 | public: |
aaebd73d | 32 | AliAnalysisTaskCumulants(); |
7183fe85 | 33 | AliAnalysisTaskCumulants(const char *name, Bool_t useWeights=kFALSE); |
2188af53 | 34 | virtual ~AliAnalysisTaskCumulants(){}; |
924fafb7 | 35 | |
2ed70edf | 36 | virtual void UserCreateOutputObjects(); |
37 | virtual void UserExec(Option_t *option); | |
38 | virtual void Terminate(Option_t *); | |
2188af53 | 39 | |
e5e75b58 | 40 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; |
41 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
42 | void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;}; | |
43 | Bool_t GetUsePtWeights() const {return this->fUsePtWeights;}; | |
44 | void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;}; | |
45 | Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;}; | |
924fafb7 | 46 | |
47 | private: | |
2188af53 | 48 | AliAnalysisTaskCumulants(const AliAnalysisTaskCumulants& aatc); |
49 | AliAnalysisTaskCumulants& operator=(const AliAnalysisTaskCumulants& aatc); | |
50 | ||
2ed70edf | 51 | AliFlowEventSimple *fEvent; // the input event |
52 | AliFlowAnalysisWithCumulants *fGFC; // Generating Function Cumulant object | |
53 | TList *fListHistos; // collection of output | |
6d4fa5d3 | 54 | |
2ed70edf | 55 | Bool_t fUseWeights; // use any weights |
56 | Bool_t fUsePhiWeights; // use phi weights | |
57 | Bool_t fUsePtWeights; // use pt weights | |
58 | Bool_t fUseEtaWeights; // use eta weights | |
59 | TList *fListWeights; // list with weights | |
6d4fa5d3 | 60 | |
2188af53 | 61 | ClassDef(AliAnalysisTaskCumulants, 1); |
924fafb7 | 62 | }; |
63 | ||
2188af53 | 64 | //================================================================================================================ |
65 | ||
924fafb7 | 66 | #endif |
aaebd73d | 67 | |
68 | ||
69 | ||
70 | ||
71 | ||
72 | ||
73 | ||
74 | ||
75 | ||
76 | ||
77 |