]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FLOW/AliAnalysisTaskQCumulants.h
new methods and possiility to run all methods in same run
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliAnalysisTaskQCumulants.h
CommitLineData
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
18#ifndef AliAnalysisTaskQCumulants_H
19#define AliAnalysisTaskQCumulants_H
20
21#include "AliAnalysisTask.h"
22
23class AliESDEvent;
24class AliAODEvent;
25class AliCFManager;
26class AliFlowAnalysisWithQCumulants;
27class AliFlowEventSimpleMaker;
28class TFile;
29
30//================================================================================================================
31
32class AliAnalysisTaskQCumulants : public AliAnalysisTask{
33 public:
34 AliAnalysisTaskQCumulants();
35 AliAnalysisTaskQCumulants(const char *name, Bool_t QAon = kFALSE);
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; }
56
57 private:
58 AliAnalysisTaskQCumulants(const AliAnalysisTaskQCumulants& aatqc);
59 AliAnalysisTaskQCumulants& operator=(const AliAnalysisTaskQCumulants& aatqc);
60
61 AliESDEvent *fESD; //ESD object
62 AliAODEvent* fAOD; //AOD object
63 AliFlowAnalysisWithQCumulants* fQCA; //Q-cumulant Analysis (QCA) object
64 AliFlowEventSimpleMaker* fEventMaker; //FlowEventSimple maker object
65 TString fAnalysisType; //string to select which kind of input to analyse (ESD, AOD or MC)
66 AliCFManager* fCFManager1; //correction framework manager
67 AliCFManager* fCFManager2; //correction framework manager
68 TList *fListHistos; //collection of output
69
70 TList* fQAInt; // QA histogram list
71 TList* fQADiff; // QA histogram list
72
73 Bool_t fQA; // flag to set the filling of the QA hostograms
74
75 ClassDef(AliAnalysisTaskQCumulants, 1);
76};
77
78//================================================================================================================
79
80#endif
81
82
83
84
85
86
87
88
89
90
91