]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/FLOW/Tasks/AliAnalysisTaskLeeYangZeros.h
fix typo in partial derivative which is used to calculate correlated errors
[u/mrichter/AliRoot.git] / PWG / FLOW / Tasks / AliAnalysisTaskLeeYangZeros.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
6 #ifndef ALIANALYSISTASKLEEYANGZEROS_H
7 #define ALIANALYSISTASKLEEYANGZEROS_H
8
9 // AliAnalysisTaskLeeYangZeros:
10 // analysis task for 
11 // Lee Yang Zeroes method
12 // Author: 
13 // Naomi van der Kolk (kolk@nikhef.nl)             
14
15 class AliFlowEventSimple;
16 class AliFlowAnalysisWithLeeYangZeros;
17 class TFile;
18 class TList;
19
20 #include "TString.h"
21 #include "AliAnalysisTaskSE.h"
22
23 class AliAnalysisTaskLeeYangZeros : public AliAnalysisTaskSE {
24  public:
25   AliAnalysisTaskLeeYangZeros();
26   AliAnalysisTaskLeeYangZeros(const char *name, Bool_t firstrun);
27   virtual ~AliAnalysisTaskLeeYangZeros();
28   
29   virtual void   UserCreateOutputObjects();
30   virtual void   UserExec(Option_t *option);
31   virtual void   Terminate(Option_t *);
32
33   //lyz flags
34   void           SetFirstRunLYZ(Bool_t kt)     { this->fFirstRunLYZ = kt ;  }
35   Bool_t         GetFirstRunLYZ() const        { return this->fFirstRunLYZ ; }
36   void           SetUseSumLYZ(Bool_t kt)       { this->fUseSumLYZ = kt ;  }
37   Bool_t         GetUseSumLYZ() const          { return this->fUseSumLYZ ; }
38  
39  private:
40  
41   AliAnalysisTaskLeeYangZeros(const AliAnalysisTaskLeeYangZeros& aAnalysis);
42   AliAnalysisTaskLeeYangZeros& operator=(const AliAnalysisTaskLeeYangZeros& aAnalysis);
43
44   AliFlowEventSimple* fEvent;             // input event
45   AliFlowAnalysisWithLeeYangZeros* fLyz;  // LYZ analysis object
46   
47   TFile*           fFirstRunFile;         // file from the first loop over events
48   TList*           fListHistos;           // collection of output
49   
50   //flags
51   Bool_t fFirstRunLYZ ;    // flag for lyz analysis 
52   Bool_t fUseSumLYZ ;      // flag for lyz analysis 
53         
54   ClassDef(AliAnalysisTaskLeeYangZeros, 1);  //AliAnalysisTaskLeeYangZeros class object
55 };
56
57 #endif
58