AliPhysics  32e057f (32e057f)
AliAnalysisTaskLeeYangZeros.h
Go to the documentation of this file.
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;
17 class TFile;
18 class TList;
19 
20 #include "TString.h"
21 #include "AliAnalysisTaskSE.h"
22 
24  public:
26  AliAnalysisTaskLeeYangZeros(const char *name, Bool_t firstrun);
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 
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 
AliAnalysisTaskLeeYangZeros & operator=(const AliAnalysisTaskLeeYangZeros &aAnalysis)
virtual void UserExec(Option_t *option)
AliFlowAnalysisWithLeeYangZeros * fLyz
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53