1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 #ifndef AliAnalysisTaskLYZEventPlane_H
6 #define AliAnalysisTaskLYZEventPlane_H
8 // AliAnalysisTaskLYZEventPlane:
10 // Lee Yang Zeros Event Plane
12 // Naomi van der Kolk (kolk@nikhef.nl)
17 class AliFlowLYZEventPlane;
18 class AliFlowAnalysisWithLYZEventPlane;
19 class AliFlowEventSimpleMaker;
24 #include "AliAnalysisTask.h"
26 class AliAnalysisTaskLYZEventPlane : public AliAnalysisTask {
28 AliAnalysisTaskLYZEventPlane();
29 AliAnalysisTaskLYZEventPlane(const char *name, Bool_t QAon = kFALSE);
30 virtual ~AliAnalysisTaskLYZEventPlane();
32 virtual void ConnectInputData(Option_t *);
33 virtual void CreateOutputObjects();
34 virtual void Exec(Option_t *option);
35 virtual void Terminate(Option_t *);
37 void SetAnalysisType(TString type) {this->fAnalysisType = type ; }
38 TString GetAnalysisType() const {return this->fAnalysisType; }
40 void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; }
41 AliCFManager* GetCFManager1() const {return this->fCFManager1; }
42 void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; }
43 AliCFManager* GetCFManager2() const {return this->fCFManager2; }
44 void SetQAList1(TList* list) {this->fQAInt = list; }
45 TList* GetQAList1() {return this->fQAInt; }
46 void SetQAList2(TList* list) {this->fQADiff = list; }
47 TList* GetQAList2() {return this->fQADiff; }
48 void SetQAOn(Bool_t kt) {this->fQA = kt; }
49 Bool_t GetQAOn() {return this->fQA; }
53 AliAnalysisTaskLYZEventPlane(const AliAnalysisTaskLYZEventPlane& aAnalysis);
54 AliAnalysisTaskLYZEventPlane& operator=(const AliAnalysisTaskLYZEventPlane& aAnalysis);
56 AliESDEvent* fESD; //ESD object
57 AliAODEvent* fAOD; //AOD object
58 TString fAnalysisType; //string to set the kind of input for the analysis: ESD, AOD or MC
59 AliFlowLYZEventPlane* fLyzEp; //LYZ EP object
60 AliFlowAnalysisWithLYZEventPlane* fLyz; //LYZ EP analysis object
61 AliFlowEventSimpleMaker* fEventMaker; //FlowEventSimple maker object
62 AliCFManager* fCFManager1; //Correction framework manager
63 AliCFManager* fCFManager2; //Correction framework manager
64 TList* fListHistos; //collection of output hists
65 TFile* fSecondRunFile; //output from the second LYZ loop
66 TList* fQAInt; // QA histogram list
67 TList* fQADiff; // QA histogram list
69 Bool_t fQA; // flag to set the filling of the QA hostograms
71 ClassDef(AliAnalysisTaskLYZEventPlane, 1); // example of analysis