]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FLOW/AliAnalysisTaskLYZEventPlane.h
bug in StepManager fixed, thanks to Andreas
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliAnalysisTaskLYZEventPlane.h
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id$ */
4
5 #ifndef AliAnalysisTaskLYZEventPlane_H
6 #define AliAnalysisTaskLYZEventPlane_H
7
8 // AliAnalysisTaskLYZEventPlane:
9 // analysis task for 
10 // Lee Yang Zeros Event Plane
11 // Author: 
12 //        Naomi van der Kolk (kolk@nikhef.nl)
13
14 class AliESDEvent;
15 class AliAODEvent;
16 class AliCFManager;
17 class AliFlowLYZEventPlane;
18 class AliFlowAnalysisWithLYZEventPlane;
19 class AliFlowEventSimpleMaker;
20 class TFile;
21 class TList;
22
23 #include "TString.h"
24 #include "AliAnalysisTask.h"
25
26 class AliAnalysisTaskLYZEventPlane : public AliAnalysisTask {
27  public:
28   AliAnalysisTaskLYZEventPlane();
29   AliAnalysisTaskLYZEventPlane(const char *name, Bool_t QAon = kFALSE);
30   virtual ~AliAnalysisTaskLYZEventPlane();
31   
32   virtual void   ConnectInputData(Option_t *);
33   virtual void   CreateOutputObjects();
34   virtual void   Exec(Option_t *option);
35   virtual void   Terminate(Option_t *);
36   
37   void           SetAnalysisType(TString type) {this->fAnalysisType = type ; }
38   TString        GetAnalysisType() const       {return this->fAnalysisType; }
39
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; }
50
51  private:
52  
53   AliAnalysisTaskLYZEventPlane(const AliAnalysisTaskLYZEventPlane& aAnalysis);
54   AliAnalysisTaskLYZEventPlane& operator=(const AliAnalysisTaskLYZEventPlane& aAnalysis);
55
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
68
69   Bool_t        fQA;                      // flag to set the filling of the QA hostograms
70     
71   ClassDef(AliAnalysisTaskLYZEventPlane, 1); // example of analysis
72 };
73
74 #endif
75