]>
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 | * integrated flow estimate by * | |
9 | * fitting q-distribution * | |
10 | * * | |
11 | * author: Ante Bilandzic * | |
12 | * (anteb@nikhef.nl) * | |
13 | *******************************/ | |
14 | ||
15 | #ifndef AliFittingQDistribution_H | |
16 | #define AliFittingQDistribution_H | |
17 | ||
18 | #include "AliFlowCommonConstants.h" | |
19 | ||
20 | class TObjArray; | |
21 | class TList; | |
22 | class TFile; | |
23 | ||
24 | class TH1; | |
25 | class TProfile; | |
26 | ||
27 | class AliFlowEventSimple; | |
28 | class AliFlowTrackSimple; | |
29 | class AliFlowCommonHist; | |
30 | class AliFlowCommonHistResults; | |
31 | class AliFlowVector; | |
32 | ||
33 | //================================================================================================================ | |
34 | ||
35 | class AliFittingQDistribution{ | |
36 | public: | |
37 | AliFittingQDistribution(); | |
38 | virtual ~AliFittingQDistribution(); | |
39 | ||
14db9c04 | 40 | virtual void Init(); |
9bed2723 | 41 | virtual void Make(AliFlowEventSimple* anEvent); |
42 | virtual void Finish(); | |
1315fe58 | 43 | virtual void WriteHistograms(TString* outputFileName); |
b0fda271 | 44 | virtual void WriteHistograms(TString outputFileName); |
4b2e3a73 | 45 | |
46 | //---------------------------------------------------------------------------------------------------------------- | |
47 | // setters and getters | |
48 | //---------------------------------------------------------------------------------------------------------------- | |
14db9c04 | 49 | TList* GetHistList() const {return this->fHistList;} |
50 | ||
51 | void SetWeightsList(TList* wlist) {this->fWeightsList = wlist;} | |
52 | TList* GetWeightsList() const {return this->fWeightsList;} | |
4b2e3a73 | 53 | |
54 | void SetIntFlowResults(TH1D* ifr) {this->fIntFlowResultsFQD = ifr;}; | |
55 | TH1D* GetIntFlowResults() const {return this->fIntFlowResultsFQD;}; | |
56 | ||
57 | void SetCommonHistsResults(AliFlowCommonHistResults* chr) {this->fCommonHistsResults = chr;}; | |
58 | AliFlowCommonHistResults* GetCommonHistsResults() const {return this->fCommonHistsResults;}; | |
59 | ||
1425a855 | 60 | void SetAverageMultiplicity(TProfile* am) {this->fAvMultIntFlowFQD = am;}; |
61 | TProfile* GetAverageMultiplicity() const {return this->fAvMultIntFlowFQD;}; | |
4b2e3a73 | 62 | |
63 | void SetQDistribution(TH1D* qd) {this->fQDistributionFQD = qd;}; | |
64 | TH1D* GetQDistribution() const {return this->fQDistributionFQD;}; | |
1425a855 | 65 | |
66 | void SetSigma2(TH1D* s2) {this->fSigma2 = s2;}; | |
67 | TH1D* GetSigma2() const {return this->fSigma2;}; | |
14db9c04 | 68 | |
69 | void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;}; | |
70 | Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;}; | |
71 | ||
4b2e3a73 | 72 | //---------------------------------------------------------------------------------------------------------------- |
9bed2723 | 73 | |
74 | private: | |
75 | AliFittingQDistribution(const AliFittingQDistribution& afqd); | |
76 | AliFittingQDistribution& operator=(const AliFittingQDistribution& afqd); | |
9bed2723 | 77 | |
4b2e3a73 | 78 | AliFlowTrackSimple* fTrack; //track |
6f5d8033 | 79 | |
4b2e3a73 | 80 | TList* fHistList; //list to hold all output histograms |
14db9c04 | 81 | TList* fWeightsList; //list to hold all histograms with weights |
82 | ||
4b2e3a73 | 83 | TProfile* fAvMultIntFlowFQD; //avarage selected multiplicity |
84 | TH1D* fIntFlowResultsFQD; //integrated flow final results | |
1425a855 | 85 | TH1D* fSigma2; //sigma^2 |
4b2e3a73 | 86 | AliFlowCommonHist* fCommonHists; //common control histograms |
87 | AliFlowCommonHistResults* fCommonHistsResults; //final results for integrated flow stored in the common histograms | |
1425a855 | 88 | TH1D* fQDistributionFQD; //q-distribution |
14db9c04 | 89 | |
90 | Bool_t fUsePhiWeights; //phi weights | |
1425a855 | 91 | |
9bed2723 | 92 | ClassDef(AliFittingQDistribution, 0); |
93 | }; | |
94 | ||
95 | //================================================================================================================ | |
96 | ||
97 | #endif | |
98 | ||
99 | ||
100 | ||
101 | ||
102 |