]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliFlowTasks/AliAnalysisTaskCumulants.h
explicit conversion and change of order arguments macro
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliAnalysisTaskCumulants.h
CommitLineData
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
2188af53 21#include "AliAnalysisTask.h"
924fafb7 22
23class AliESDEvent;
24class AliAODEvent;
aaebd73d 25class AliCFManager;
924fafb7 26class AliFlowAnalysisWithCumulants;
27class AliFlowEventSimpleMaker;
28class TFile;
29
2188af53 30//================================================================================================================
924fafb7 31
2188af53 32class AliAnalysisTaskCumulants : public AliAnalysisTask{
924fafb7 33 public:
aaebd73d 34 AliAnalysisTaskCumulants();
7183fe85 35 AliAnalysisTaskCumulants(const char *name, Bool_t useWeights=kFALSE);
2188af53 36 virtual ~AliAnalysisTaskCumulants(){};
924fafb7 37
38 virtual void ConnectInputData(Option_t *);
39 virtual void CreateOutputObjects();
40 virtual void Exec(Option_t *option);
41 virtual void Terminate(Option_t *);
2188af53 42
e5e75b58 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;};
924fafb7 49
50 private:
2188af53 51 AliAnalysisTaskCumulants(const AliAnalysisTaskCumulants& aatc);
52 AliAnalysisTaskCumulants& operator=(const AliAnalysisTaskCumulants& aatc);
53
7183fe85 54 AliFlowEventSimple *fEvent; // the input event
55 AliFlowAnalysisWithCumulants *fGFCA; // Generating Function Cumulant (GFC) analysis object
56 TList *fListHistos; // collection of output
6d4fa5d3 57
7183fe85 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
6d4fa5d3 63
2188af53 64 ClassDef(AliAnalysisTaskCumulants, 1);
924fafb7 65};
66
2188af53 67//================================================================================================================
68
924fafb7 69#endif
aaebd73d 70
71
72
73
74
75
76
77
78
79
80