]>
Commit | Line | Data |
---|---|---|
f1d945a1 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | /* $Id$ */ | |
4 | ||
5 | ||
22063257 | 6 | #ifndef ALIANALYSISTASKLEEYANGZEROS_H |
7 | #define ALIANALYSISTASKLEEYANGZEROS_H | |
f1d945a1 | 8 | |
9 | // AliAnalysisTaskLeeYangZeros: | |
af795c87 | 10 | // analysis task for |
11 | // Lee Yang Zeroes method | |
12 | // Author: | |
9d062fe3 | 13 | // Naomi van der Kolk (kolk@nikhef.nl) |
f1d945a1 | 14 | |
9808604e | 15 | class AliFlowEventSimple; |
f1d945a1 | 16 | class AliFlowAnalysisWithLeeYangZeros; |
f1d945a1 | 17 | class TFile; |
88e00a8a | 18 | class TList; |
f1d945a1 | 19 | |
88e00a8a | 20 | #include "TString.h" |
22063257 | 21 | #include "AliAnalysisTaskSE.h" |
f1d945a1 | 22 | |
22063257 | 23 | class AliAnalysisTaskLeeYangZeros : public AliAnalysisTaskSE { |
f1d945a1 | 24 | public: |
9d062fe3 | 25 | AliAnalysisTaskLeeYangZeros(); |
9808604e | 26 | AliAnalysisTaskLeeYangZeros(const char *name, Bool_t firstrun); |
88e00a8a | 27 | virtual ~AliAnalysisTaskLeeYangZeros(); |
f1d945a1 | 28 | |
22063257 | 29 | virtual void UserCreateOutputObjects(); |
30 | virtual void UserExec(Option_t *option); | |
f1d945a1 | 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 ; } | |
9808604e | 38 | |
f1d945a1 | 39 | private: |
af795c87 | 40 | |
41 | AliAnalysisTaskLeeYangZeros(const AliAnalysisTaskLeeYangZeros& aAnalysis); | |
42 | AliAnalysisTaskLeeYangZeros& operator=(const AliAnalysisTaskLeeYangZeros& aAnalysis); | |
43 | ||
9808604e | 44 | AliFlowEventSimple* fEvent; // input event |
9d062fe3 | 45 | AliFlowAnalysisWithLeeYangZeros* fLyz; // LYZ analysis object |
9808604e | 46 | |
88e00a8a | 47 | TFile* fFirstRunFile; // file from the first loop over events |
48 | TList* fListHistos; // collection of output | |
9808604e | 49 | |
f1d945a1 | 50 | //flags |
9d062fe3 | 51 | Bool_t fFirstRunLYZ ; // flag for lyz analysis |
52 | Bool_t fUseSumLYZ ; // flag for lyz analysis | |
9808604e | 53 | |
9d062fe3 | 54 | ClassDef(AliAnalysisTaskLeeYangZeros, 1); //AliAnalysisTaskLeeYangZeros class object |
f1d945a1 | 55 | }; |
56 | ||
57 | #endif | |
af795c87 | 58 |