]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliAnalysisTaskCumulants.h
gain set to 1 for all ch
[u/mrichter/AliRoot.git] / PWG2 / FLOW / 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
18#ifndef AliAnalysisTaskCumulants_H
19#define AliAnalysisTaskCumulants_H
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();
35 AliAnalysisTaskCumulants(const char *name);
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
924fafb7 43 void SetAnalysisType(TString type) {this->fAnalysisType = type;}
2188af53 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;}
924fafb7 50
51 private:
2188af53 52 AliAnalysisTaskCumulants(const AliAnalysisTaskCumulants& aatc);
53 AliAnalysisTaskCumulants& operator=(const AliAnalysisTaskCumulants& aatc);
54
55 AliESDEvent *fESD; //ESD object
56 AliAODEvent* fAOD; //AOD object
57 AliFlowAnalysisWithCumulants* fCA; //Cumulant Analysis (CA) object
58 AliFlowEventSimpleMaker* fEventMaker; //FlowEventSimple maker object
59 TString fAnalysisType; //string to select which kind of input to analyse (ESD, AOD or MC)
60 AliCFManager* fCFManager1; //correction framework manager
61 AliCFManager* fCFManager2; //correction framework manager
62 TList *fListHistos; //collection of output
63
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