1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 //////////////////////////////////////////////////////
6 // AliAnalysisTaskFlowEvent:
7 // analysis task to fill the flow event
8 // and make it available to the flow analysis methods.
9 //////////////////////////////////////////////////////
12 #ifndef AliAnalysisTaskFlowEvent_H
13 #define AliAnalysisTaskFlowEvent_H
18 class AliFlowEventSimpleMaker;
22 #include "AliAnalysisTask.h"
24 class AliAnalysisTaskFlowEvent : public AliAnalysisTask {
26 AliAnalysisTaskFlowEvent();
27 AliAnalysisTaskFlowEvent(const char *name,Bool_t QAon);
28 virtual ~AliAnalysisTaskFlowEvent();
30 virtual void ConnectInputData(Option_t *);
31 virtual void CreateOutputObjects();
32 virtual void Exec(Option_t *option);
33 virtual void Terminate(Option_t *);
35 void SetAnalysisType(TString type){ this->fAnalysisType = type; }
36 TString GetAnalysisType() const { return this->fAnalysisType; }
38 void SetMinMult(Int_t multmin) {this->fMinMult = multmin; }
39 Int_t GetMinMult() const {return this->fMinMult; }
40 void SetMaxMult(Int_t multmax) {this->fMaxMult = multmax; }
41 Int_t GetMaxMult() const {return this->fMaxMult; }
44 void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; }
45 AliCFManager* GetCFManager1() {return this->fCFManager1; }
46 void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; }
47 AliCFManager* GetCFManager2() {return this->fCFManager2; }
48 void SetQAList1(TList* list) {this->fQAInt = list; }
49 TList* GetQAList1() {return this->fQAInt; }
50 void SetQAList2(TList* list) {this->fQADiff = list; }
51 TList* GetQAList2() {return this->fQADiff; }
52 void SetQAOn(Bool_t kt) {this->fQA = kt; }
53 Bool_t GetQAOn() {return this->fQA; }
57 AliAnalysisTaskFlowEvent(const AliAnalysisTaskFlowEvent& aAnalysisTask);
58 AliAnalysisTaskFlowEvent& operator=(const AliAnalysisTaskFlowEvent& aAnalysisTask);
60 // TFile* fOutputFile; // temporary output file for testing
61 AliESDEvent* fESD; // ESD object
62 AliAODEvent* fAOD; // AOD object
63 AliFlowEventSimpleMaker* fEventMaker; // FlowEventSimple maker object
64 TString fAnalysisType; // can be MC, ESD or AOD
65 Int_t fMinMult; // Minimum multiplicity from tracks selected using CORRFW
66 Int_t fMaxMult; // Maximum multiplicity from tracks selected using CORRFW
67 AliCFManager* fCFManager1; // correction framework manager
68 AliCFManager* fCFManager2; // correction framework manager
69 TList* fQAInt; // QA histogram list
70 TList* fQADiff; // QA histogram list
71 Bool_t fQA; // flag to set the filling of the QA hostograms
73 ClassDef(AliAnalysisTaskFlowEvent, 1); // example of analysis