]>
Commit | Line | Data |
---|---|---|
9bed2723 | 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 fitting * | |
9 | * q-distribution * | |
10 | * * | |
11 | * authors: Naomi van der Kolk * | |
12 | * (kolk@nikhef.nl) * | |
13 | * Raimond Snellings * | |
14 | * (snelling@nikhef.nl) * | |
15 | * Ante Bilandzic * | |
16 | * (anteb@nikhef.nl) * | |
17 | * ***********************************/ | |
18 | ||
6f5d8033 | 19 | #ifndef ALIANALYSISTASKFITTINGQDISTRIBUTION_H |
20 | #define ALIANALYSISTASKFITTINGQDISTRIBUTION_H | |
9bed2723 | 21 | |
2ed70edf | 22 | #include "AliAnalysisTaskSE.h" |
9bed2723 | 23 | |
2701c4bc | 24 | class TString; |
2ed70edf | 25 | class TList; |
26 | class AliFlowEventSimple; | |
ce4a88f5 | 27 | class AliFlowAnalysisWithFittingQDistribution; |
9bed2723 | 28 | |
29 | //================================================================================================================ | |
30 | ||
2ed70edf | 31 | class AliAnalysisTaskFittingQDistribution : public AliAnalysisTaskSE{ |
9bed2723 | 32 | public: |
33 | AliAnalysisTaskFittingQDistribution(); | |
d53e4563 | 34 | AliAnalysisTaskFittingQDistribution(const char *name, Bool_t useWeights=kFALSE); |
9bed2723 | 35 | virtual ~AliAnalysisTaskFittingQDistribution(){}; |
2ed70edf | 36 | |
37 | virtual void UserCreateOutputObjects(); | |
38 | virtual void UserExec(Option_t *option); | |
9bed2723 | 39 | virtual void Terminate(Option_t *); |
40 | ||
14db9c04 | 41 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; |
42 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
fcd108a1 | 43 | void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;}; |
44 | Int_t GetHarmonic() const {return this->fHarmonic;}; | |
f0e0fbcd | 45 | // q-distribution: |
46 | void SetqMin(Double_t const qmin) {this->fqMin = qmin;}; | |
47 | Double_t GetqMin() const {return this->fqMin;}; | |
48 | void SetqMax(Double_t const qmax) {this->fqMax = qmax;}; | |
49 | Double_t GetqMax() const {return this->fqMax;}; | |
50 | void SetqNbins(Int_t const qNbins) {this->fqNbins = qNbins;}; | |
51 | Int_t GetqNbins() const {return this->fqNbins;}; | |
9bed2723 | 52 | |
53 | private: | |
54 | AliAnalysisTaskFittingQDistribution(const AliAnalysisTaskFittingQDistribution& aatfqd); | |
55 | AliAnalysisTaskFittingQDistribution& operator=(const AliAnalysisTaskFittingQDistribution& aatfqd); | |
56 | ||
2ed70edf | 57 | AliFlowEventSimple* fEvent; // the input event |
58 | AliFlowAnalysisWithFittingQDistribution* fFQD; // Fitting q-distribution (FQD) object | |
59 | TList *fListHistos; // collection of output | |
9bed2723 | 60 | |
f0e0fbcd | 61 | Bool_t fUseWeights; // use any weights |
62 | Bool_t fUsePhiWeights; // phi weights | |
63 | TList* fListWeights; // list with weights | |
fcd108a1 | 64 | Int_t fHarmonic; // harmonic |
f0e0fbcd | 65 | Double_t fqMin; // lower boundary of TH1D *fqDistribution |
66 | Double_t fqMax; // upper boundary of TH1D *fqDistribution | |
67 | Int_t fqNbins; // number of bins of TH1D *fqDistribution | |
9bed2723 | 68 | |
f0e0fbcd | 69 | ClassDef(AliAnalysisTaskFittingQDistribution, 1); |
9bed2723 | 70 | }; |
71 | ||
72 | //================================================================================================================ | |
73 | ||
74 | #endif | |
75 | ||
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 |