2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved.
3 * See cxx source for full Copyright notice
7 /********************************
8 * integrated flow estimate by *
9 * fitting q-distribution *
11 * author: Ante Bilandzic *
13 *******************************/
15 #ifndef AliFittingQDistribution_H
16 #define AliFittingQDistribution_H
18 #include "AliFlowCommonConstants.h"
27 class AliFlowEventSimple;
28 class AliFlowTrackSimple;
29 class AliFlowCommonHist;
30 class AliFlowCommonHistResults;
33 //================================================================================================================
35 class AliFittingQDistribution{
37 AliFittingQDistribution();
38 virtual ~AliFittingQDistribution();
40 virtual void CreateOutputObjects();
41 virtual void Make(AliFlowEventSimple* anEvent);
42 virtual void Finish();
43 virtual void WriteHistograms(TString* outputFileName);
44 virtual void WriteHistograms(TString outputFileName);
46 //----------------------------------------------------------------------------------------------------------------
47 // setters and getters
48 //----------------------------------------------------------------------------------------------------------------
49 TList* GetHistList() const {return this->fHistList;} //output histogram list
51 void SetIntFlowResults(TH1D* ifr) {this->fIntFlowResultsFQD = ifr;};
52 TH1D* GetIntFlowResults() const {return this->fIntFlowResultsFQD;};
54 void SetCommonHistsResults(AliFlowCommonHistResults* chr) {this->fCommonHistsResults = chr;};
55 AliFlowCommonHistResults* GetCommonHistsResults() const {return this->fCommonHistsResults;};
57 void SetAverageMultiplicity(TProfile* am) {this->fAvMultIntFlowFQD = am;};
58 TProfile* GetAverageMultiplicity() const {return this->fAvMultIntFlowFQD;};
60 void SetQDistribution(TH1D* qd) {this->fQDistributionFQD = qd;};
61 TH1D* GetQDistribution() const {return this->fQDistributionFQD;};
63 void SetSigma2(TH1D* s2) {this->fSigma2 = s2;};
64 TH1D* GetSigma2() const {return this->fSigma2;};
65 //----------------------------------------------------------------------------------------------------------------
68 AliFittingQDistribution(const AliFittingQDistribution& afqd);
69 AliFittingQDistribution& operator=(const AliFittingQDistribution& afqd);
71 AliFlowTrackSimple* fTrack; //track
73 TList* fHistList; //list to hold all output histograms
74 TProfile* fAvMultIntFlowFQD; //avarage selected multiplicity
75 TH1D* fIntFlowResultsFQD; //integrated flow final results
76 TH1D* fSigma2; //sigma^2
77 AliFlowCommonHist* fCommonHists; //common control histograms
78 AliFlowCommonHistResults* fCommonHistsResults; //final results for integrated flow stored in the common histograms
79 TH1D* fQDistributionFQD; //q-distribution
81 ClassDef(AliFittingQDistribution, 0);
84 //================================================================================================================