]>
Commit | Line | Data |
---|---|---|
67a6b178 | 1 | /* |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. | |
3 | * See cxx source for full Copyright notice | |
4 | * $Id$ | |
5 | */ | |
6 | ||
7 | /************************************** | |
8 | * analysis task for mixed harmomics * | |
9 | * * | |
10 | * authors: Naomi van der Kolk * | |
11 | * (kolk@nikhef.nl) * | |
12 | * Raimond Snellings * | |
13 | * (snelling@nikhef.nl) * | |
14 | * Ante Bilandzic * | |
15 | * (anteb@nikhef.nl) * | |
16 | * ***********************************/ | |
17 | ||
18 | #ifndef ALIANALYSISTASKMIXEDHARMONICS_H | |
19 | #define ALIANALYSISTASKMIXEDHARMONICS_H | |
20 | ||
21 | #include "TString.h" | |
22 | #include "AliAnalysisTaskSE.h" | |
23 | ||
24 | class TList; | |
25 | class AliFlowEventSimple; | |
26 | class AliFlowAnalysisWithMixedHarmonics; | |
27 | ||
28 | //================================================================================================================ | |
29 | ||
30 | class AliAnalysisTaskMixedHarmonics : public AliAnalysisTaskSE{ | |
31 | public: | |
32 | AliAnalysisTaskMixedHarmonics(); | |
33 | AliAnalysisTaskMixedHarmonics(const char *name, Bool_t useParticleWeights=kFALSE); | |
34 | virtual ~AliAnalysisTaskMixedHarmonics(){}; | |
35 | ||
36 | virtual void UserCreateOutputObjects(); | |
37 | virtual void UserExec(Option_t *option); | |
38 | virtual void Terminate(Option_t *); | |
39 | ||
40 | // common: | |
41 | void SetCorrelatorInteger(Int_t const ci) {this->fCorrelatorInteger = ci;}; | |
42 | Int_t GetCorrelatorInteger() const {return this->fCorrelatorInteger;}; | |
43 | void SetNoOfMultipicityBins(Int_t const nomb) {this->fNoOfMultipicityBins = nomb;}; | |
44 | Int_t GetNoOfMultipicityBins() const {return this->fNoOfMultipicityBins;}; | |
45 | void SetMultipicityBinWidth(Double_t const mbw) {this->fMultipicityBinWidth = mbw;}; | |
46 | Double_t GetMultipicityBinWidth() const {return this->fMultipicityBinWidth;}; | |
47 | void SetMinMultiplicity(Double_t const mm) {this->fMinMultiplicity = mm;}; | |
48 | Double_t GetMinMultiplicity() const {return this->fMinMultiplicity;}; | |
49 | void SetCorrectForDetectorEffects(Bool_t const cfde) {this->fCorrectForDetectorEffects = cfde;}; | |
50 | Bool_t GetCorrectForDetectorEffects() const {return this->fCorrectForDetectorEffects;}; | |
51 | // particle weights: | |
52 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; | |
53 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
54 | void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;}; | |
55 | Bool_t GetUsePtWeights() const {return this->fUsePtWeights;}; | |
56 | void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;}; | |
57 | Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;}; | |
58 | ||
59 | private: | |
60 | AliAnalysisTaskMixedHarmonics(const AliAnalysisTaskMixedHarmonics& aatmh); | |
61 | AliAnalysisTaskMixedHarmonics& operator=(const AliAnalysisTaskMixedHarmonics& aatmh); | |
62 | ||
63 | AliFlowEventSimple *fEvent; // the input event | |
64 | AliFlowAnalysisWithMixedHarmonics *fMH; // mixed harmonics object | |
65 | TList *fListHistos; // collection of output | |
66 | // common: | |
67 | Int_t fCorrelatorInteger; // integer n in cos[n(2phi1-phi2-phi3)] | |
68 | Int_t fNoOfMultipicityBins; // number of multiplicity bins | |
69 | Double_t fMultipicityBinWidth; // width of multiplicity bin | |
70 | Double_t fMinMultiplicity; // minimal multiplicity | |
71 | Bool_t fCorrectForDetectorEffects; // correct 3-p correlator for detector effects | |
72 | // particle weights: | |
73 | Bool_t fUseParticleWeights; // use any particle weights | |
74 | Bool_t fUsePhiWeights; // use phi weights | |
75 | Bool_t fUsePtWeights; // use pt weights | |
76 | Bool_t fUseEtaWeights; // use eta weights | |
77 | TList *fWeightsList; // list with weights | |
78 | ||
79 | ClassDef(AliAnalysisTaskMixedHarmonics, 0); | |
80 | }; | |
81 | ||
82 | //================================================================================================================ | |
83 | ||
84 | #endif | |
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 |