]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/FLOW/Base/AliFlowAnalysisWithQCumulants.h
ante updates
[u/mrichter/AliRoot.git] / PWG / FLOW / Base / AliFlowAnalysisWithQCumulants.h
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  * flow analysis with Q-cumulants * 
9  *                                * 
10  * author: Ante Bilandzic         * 
11  *        (abilandzic@gmail.com)  *
12  *********************************/ 
13
14 #ifndef ALIFLOWANALYSISWITHQCUMULANTS_H
15 #define ALIFLOWANALYSISWITHQCUMULANTS_H
16
17 #include "TMatrixD.h"
18 #include "TH2D.h"
19 #include "TBits.h"
20
21 class TObjArray;
22 class TList;
23 class TFile;
24 class TGraph;
25
26 class TH1;
27 class TProfile;
28 class TProfile2D;
29 class TDirectoryFile;
30
31 class AliFlowEventSimple;
32 class AliFlowVector;
33
34 class AliFlowCommonConstants;
35 class AliFlowCommonHist;
36 class AliFlowCommonHistResults;
37
38 //================================================================================================================
39
40 class AliFlowAnalysisWithQCumulants{
41  public:
42   AliFlowAnalysisWithQCumulants();
43   virtual ~AliFlowAnalysisWithQCumulants(); 
44   // 0.) methods called in the constructor:
45   virtual void InitializeArraysForIntFlow();
46   virtual void InitializeArraysForDiffFlow();
47   virtual void InitializeArraysForDistributions();
48   virtual void InitializeArraysForVarious();
49   virtual void InitializeArraysForNestedLoops();
50   virtual void InitializeArraysForMixedHarmonics();
51   // 1.) method Init() and methods called within Init():
52   virtual void Init();
53     virtual void CrossCheckSettings();
54     virtual void CommonConstants(TString method);
55     virtual void BookAndNestAllLists();
56       virtual void BookAndNestListsForDifferentialFlow();
57     virtual void BookCommonHistograms();
58     virtual void BookAndFillWeightsHistograms();
59     virtual void BookEverythingForIntegratedFlow();
60     virtual void BookEverythingForDifferentialFlow();
61     virtual void BookEverythingFor2DDifferentialFlow();
62     virtual void BookEverythingForDistributions(); 
63     virtual void BookEverythingForVarious();
64     virtual void BookEverythingForNestedLoops();   
65     virtual void BookEverythingForMixedHarmonics();
66     virtual void StoreIntFlowFlags();
67     virtual void StoreDiffFlowFlags();
68     virtual void StoreFlagsForDistributions();   
69     virtual void StoreHarmonic();
70     virtual void StoreMixedHarmonicsFlags();
71   // 2.) method Make() and methods called within Make():
72   virtual void Make(AliFlowEventSimple *anEvent);
73     // 2a.) Common:
74     virtual void CheckPointersUsedInMake();     
75     virtual void FillAverageMultiplicities(Int_t nRP);
76     virtual void FillCommonControlHistograms(AliFlowEventSimple *anEvent);
77     virtual void ResetEventByEventQuantities();
78     // 2b.) Reference flow:
79     virtual void CalculateIntFlowCorrelations(); 
80     virtual void CalculateIntFlowCorrelationsUsingParticleWeights();
81     virtual void CalculateIntFlowProductOfCorrelations();
82     virtual void CalculateIntFlowSumOfEventWeights();
83     virtual void CalculateIntFlowSumOfProductOfEventWeights();
84     virtual void CalculateIntFlowCorrectionsForNUACosTerms();
85     virtual void CalculateIntFlowCorrectionsForNUACosTermsUsingParticleWeights();
86     virtual void CalculateIntFlowCorrectionsForNUASinTerms();  
87     virtual void CalculateIntFlowCorrectionsForNUASinTermsUsingParticleWeights();    
88     virtual void CalculateIntFlowProductOfCorrectionTermsForNUA();
89     virtual void CalculateIntFlowSumOfEventWeightsNUA();
90     virtual void CalculateIntFlowSumOfProductOfEventWeightsNUA();
91     virtual void CalculateMixedHarmonics();
92     // 2c.) Cross-checking reference flow correlations with nested loops: 
93     virtual void EvaluateIntFlowNestedLoops(AliFlowEventSimple* const anEvent);
94     virtual void EvaluateIntFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent); 
95     virtual void EvaluateIntFlowCorrelationsWithNestedLoopsUsingParticleWeights(AliFlowEventSimple* const anEvent); 
96     virtual void EvaluateIntFlowCorrectionsForNUAWithNestedLoops(AliFlowEventSimple* const anEvent); 
97     virtual void EvaluateIntFlowCorrectionsForNUAWithNestedLoopsUsingParticleWeights(AliFlowEventSimple* const anEvent);
98     virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple* const anEvent); 
99     // 2d.) Differential flow:
100     virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta); // type = RP or POI
101     virtual void CalculateDiffFlowCorrelationsUsingParticleWeights(TString type, TString ptOrEta); // type = RP or POI 
102     virtual void CalculateDiffFlowProductOfCorrelations(TString type, TString ptOrEta); // type = RP or POI
103     virtual void CalculateDiffFlowSumOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
104     virtual void CalculateDiffFlowSumOfProductOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
105     virtual void CalculateDiffFlowCorrectionsForNUACosTerms(TString type, TString ptOrEta);
106     virtual void CalculateDiffFlowCorrectionsForNUACosTermsUsingParticleWeights(TString type, TString ptOrEta);
107     virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta);  
108     virtual void CalculateDiffFlowCorrectionsForNUASinTermsUsingParticleWeights(TString type, TString ptOrEta);  
109     // 2e.) 2D differential flow:
110     virtual void Calculate2DDiffFlowCorrelations(TString type); // type = RP or POI
111     // 2f.) Other differential correlators (i.e. Teaney-Yan correlator):    
112     virtual void CalculateOtherDiffCorrelators(TString type, TString ptOrEta); // type = RP or POI    
113     // 2g.) Distributions of reference flow correlations:
114     virtual void StoreDistributionsOfCorrelations();
115     // 2h.) Store phi distibution for one event to vizualize flow:
116     virtual void StorePhiDistributionForOneEvent(AliFlowEventSimple* const anEvent);    
117     // 2i.) Cross-checking differential flow correlations with nested loops:
118     virtual void EvaluateDiffFlowNestedLoops(AliFlowEventSimple* const anEvent);
119     virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
120     virtual void EvaluateDiffFlowCorrelationsWithNestedLoopsUsingParticleWeights(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta); 
121     virtual void EvaluateDiffFlowCorrectionTermsForNUAWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
122     virtual void EvaluateDiffFlowCorrectionTermsForNUAWithNestedLoopsUsingParticleWeights(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
123     virtual void EvaluateOtherDiffCorrelatorsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
124   // 3.) method Finish() and methods called within Finish():
125   virtual void Finish();
126     virtual void CheckPointersUsedInFinish();     
127     // 3a.) integrated flow:
128     virtual void FinalizeCorrelationsIntFlow();
129     virtual void FinalizeCorrectionTermsForNUAIntFlow(); 
130     virtual void CalculateCovariancesIntFlow();  
131     virtual void CalculateCovariancesNUAIntFlow();  
132     virtual void CalculateCumulantsIntFlow(); 
133         virtual void CalculateReferenceFlow(); 
134     virtual void FillCommonHistResultsIntFlow();
135     //  nua:   
136     virtual void CalculateQcumulantsCorrectedForNUAIntFlow(); 
137     virtual void PrintFinalResultsForIntegratedFlow(TString type);
138     virtual void CrossCheckIntFlowCorrelations();
139     virtual void CrossCheckIntFlowExtraCorrelations(); // extra correlations which appear only when particle weights are used
140     virtual void CrossCheckIntFlowCorrectionTermsForNUA(); 
141     // 3b.) differential flow:
142     virtual void FinalizeReducedCorrelations(TString type, TString ptOrEta);
143     virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta); 
144     virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta); 
145     virtual void CalculateDiffFlow(TString type, TString ptOrEta); 
146     virtual void FinalizeCorrectionTermsForNUADiffFlow(TString type, TString ptOrEta); 
147     virtual void CalculateDiffFlowCumulantsCorrectedForNUA(TString type, TString ptOrEta);   
148     virtual void CalculateDiffFlowCorrectedForNUA(TString type, TString ptOrEta); 
149     virtual void CalculateFinalResultsForRPandPOIIntegratedFlow(TString type); // to be improved (add also possibility to integrate over eta yield)
150     virtual void FillCommonHistResultsDiffFlow(TString type);   
151     virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta);
152     virtual void PrintNumberOfParticlesInSelectedBin();     
153     virtual void CrossCheckDiffFlowCorrectionTermsForNUA(TString type, TString ptOrEta); 
154     // 3c.) 2D:
155     virtual void Calculate2DDiffFlowCumulants(TString type);    
156     virtual void Calculate2DDiffFlow(TString type);    
157     // 3d.) Other differential correlators:
158     virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta);
159     // 3e.) Mixed harmonics:
160     virtual void CalculateCumulantsMixedHarmonics(); 
161     
162   // 4.)  method GetOutputHistograms() and methods called within GetOutputHistograms(): 
163   virtual void GetOutputHistograms(TList *outputListHistos);
164     virtual void GetPointersForCommonHistograms(); 
165     virtual void GetPointersForParticleWeightsHistograms();
166     virtual void GetPointersForIntFlowHistograms(); 
167     virtual void GetPointersForDiffFlowHistograms(); 
168     virtual void GetPointersFor2DDiffFlowHistograms(); 
169     virtual void GetPointersForOtherDiffCorrelators(); 
170     virtual void GetPointersForNestedLoopsHistograms(); 
171     virtual void GetPointersForMixedHarmonicsHistograms(); 
172     
173   // 5.) other methods:   
174   TProfile* MakePtProjection(TProfile2D *profilePtEta) const;
175   TProfile* MakeEtaProjection(TProfile2D *profilePtEta) const;
176   virtual void WriteHistograms(TString outputFileName);
177   virtual void WriteHistograms(TDirectoryFile *outputFileName);
178   
179   // **** SETTERS and GETTERS ****
180   
181   // 0.) base:
182   void SetHistList(TList* const hlist) {this->fHistList = hlist;} 
183   TList* GetHistList() const {return this->fHistList;} 
184   
185   // 1.) common:
186   void SetBookOnlyBasicCCH(Bool_t const bobcch) {this->fBookOnlyBasicCCH = bobcch;};
187   Bool_t GetBookOnlyBasicCCH() const {return this->fBookOnlyBasicCCH;};  
188   void SetCommonHists(AliFlowCommonHist* const ch) {this->fCommonHists = ch;};
189   AliFlowCommonHist* GetCommonHists() const {return this->fCommonHists;};
190   void SetCommonHists2nd(AliFlowCommonHist* const ch2nd) {this->fCommonHists2nd = ch2nd;};
191   AliFlowCommonHist* GetCommonHists2nd() const {return this->fCommonHists2nd;};
192   void SetCommonHists4th(AliFlowCommonHist* const ch4th) {this->fCommonHists4th = ch4th;};
193   AliFlowCommonHist* GetCommonHists4th() const {return this->fCommonHists4th;};
194   void SetCommonHists6th(AliFlowCommonHist* const ch6th) {this->fCommonHists6th = ch6th;};
195   AliFlowCommonHist* GetCommonHists6th() const {return this->fCommonHists6th;};
196   void SetCommonHists8th(AliFlowCommonHist* const ch8th) {this->fCommonHists8th = ch8th;};
197   AliFlowCommonHist* GetCommonHists8th() const {return this->fCommonHists8th;};
198   void SetCommonHistsResults2nd(AliFlowCommonHistResults* const chr2nd) {this->fCommonHistsResults2nd = chr2nd;};
199   AliFlowCommonHistResults* GetCommonHistsResults2nd() const {return this->fCommonHistsResults2nd;};
200   void SetCommonHistsResults4th(AliFlowCommonHistResults* const chr4th) {this->fCommonHistsResults4th = chr4th;};
201   AliFlowCommonHistResults* GetCommonHistsResults4th() const {return this->fCommonHistsResults4th;};
202   void SetCommonHistsResults6th(AliFlowCommonHistResults* const chr6th) {this->fCommonHistsResults6th = chr6th;};
203   AliFlowCommonHistResults* GetCommonHistsResults6th() const {return this->fCommonHistsResults6th;};
204   void SetCommonHistsResults8th(AliFlowCommonHistResults* const chr8th) {this->fCommonHistsResults8th = chr8th;};
205   AliFlowCommonHistResults* GetCommonHistsResults8th() const {return this->fCommonHistsResults8th;};
206   void SetCommonConstants(TProfile* const cc) {this->fCommonConstants = cc;};
207   TProfile* GetCommonConstants() const {return this->fCommonConstants;};  
208   void SetFillMultipleControlHistograms(Bool_t const fmch) {this->fFillMultipleControlHistograms = fmch;};
209   Bool_t GetFillMultipleControlHistograms() const {return this->fFillMultipleControlHistograms;};  
210   void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
211   Int_t GetHarmonic() const {return this->fHarmonic;};
212   void SetAnalysisLabel(const char *aLabel) {this->fAnalysisLabel->Append(*aLabel);}; // to be improved (Append(*aLabel) changed into Append(aLabel)) 
213   TString *GetAnalysisLabel() const {return this->fAnalysisLabel;};
214   void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i) {this->fPrintFinalResults[i] = printOrNot;};
215   Bool_t GetPrintFinalResults(Int_t i) const {return this->fPrintFinalResults[i];};  
216    
217   // 2a.) particle weights:
218   void SetWeightsList(TList* const wlist) {this->fWeightsList = (TList*)wlist->Clone();}
219   TList* GetWeightsList() const {return this->fWeightsList;}  
220   void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;};
221   Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;};
222   void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;};
223   Bool_t GetUsePtWeights() const {return this->fUsePtWeights;};
224   void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;};
225   Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;};
226   void SetUseTrackWeights(Bool_t const uTrackW) {this->fUseTrackWeights = uTrackW;};
227   Bool_t GetUseTrackWeights() const {return this->fUseTrackWeights;};
228   void SetUseParticleWeights(TProfile* const uPW) {this->fUseParticleWeights = uPW;};
229   TProfile* GetUseParticleWeights() const {return this->fUseParticleWeights;};
230   void SetPhiWeights(TH1F* const histPhiWeights) {this->fPhiWeights = histPhiWeights;};
231   TH1F* GetPhiWeights() const {return this->fPhiWeights;};
232   void SetPtWeights(TH1D* const histPtWeights) {this->fPtWeights = histPtWeights;};
233   TH1D* GetPtWeights() const {return this->fPtWeights;};
234   void SetEtaWeights(TH1D* const histEtaWeights) {this->fEtaWeights = histEtaWeights;};
235   TH1D* GetEtaWeights() const {return this->fEtaWeights;};
236   
237   // 2b.) event weights:
238   void SetMultiplicityWeight(const char *multiplicityWeight) {*this->fMultiplicityWeight = multiplicityWeight;};
239   
240   // 3.) Reference flow:
241   // Flags:
242   void SetIntFlowFlags(TProfile* const intFlowFlags) {this->fIntFlowFlags = intFlowFlags;};
243   TProfile* GetIntFlowFlags() const {return this->fIntFlowFlags;};
244   void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
245   Bool_t GetApplyCorrectionForNUA() const {return this->fApplyCorrectionForNUA;};
246   void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;};
247   Bool_t GetApplyCorrectionForNUAVsM() const {return this->fApplyCorrectionForNUAVsM;};  
248   void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
249   Int_t GetnBinsMult() const {return this->fnBinsMult;};  
250   void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
251   Double_t GetMinMult() const {return this->fMinMult;};
252   void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
253   Double_t GetMaxMult() const {return this->fMaxMult;};
254   void SetPropagateErrorAlsoFromNIT(Bool_t const peafNIT) {this->fPropagateErrorAlsoFromNIT = peafNIT;};
255   Bool_t GetPropagateErrorAlsoFromNIT() const {return this->fPropagateErrorAlsoFromNIT;};  
256   void SetCalculateCumulantsVsM(Bool_t const ccvm) {this->fCalculateCumulantsVsM = ccvm;};
257   Bool_t GetCalculateCumulantsVsM() const {return this->fCalculateCumulantsVsM;};   
258   void SetCalculateAllCorrelationsVsM(Bool_t const cacvm) {this->fCalculateAllCorrelationsVsM = cacvm;};
259   Bool_t GetCalculateAllCorrelationsVsM() const {return this->fCalculateAllCorrelationsVsM;};   
260   void SetMinimumBiasReferenceFlow(Bool_t const mmrf) {this->fMinimumBiasReferenceFlow = mmrf;};
261   Bool_t GetMinimumBiasReferenceFlow() const {return this->fMinimumBiasReferenceFlow;};  
262   void SetForgetAboutCovariances(Bool_t const fac) {this->fForgetAboutCovariances = fac;};
263   Bool_t GetForgetAboutCovariances() const {return this->fForgetAboutCovariances;};
264   void SetStorePhiDistributionForOneEvent(Bool_t const spdfoe) {this->fStorePhiDistributionForOneEvent = spdfoe;};
265   Bool_t GetStorePhiDistributionForOneEvent() const {return this->fStorePhiDistributionForOneEvent;};
266   void SetPhiDistributionForOneEventSettings(Double_t const pdfoes, Int_t const i) {this->fPhiDistributionForOneEventSettings[i] = pdfoes;};
267   Double_t GetPhiDistributionForOneEventSettings(Int_t const i) const {return this->fPhiDistributionForOneEventSettings[i];};
268
269   // Reference flow profiles:
270   void SetAvMultiplicity(TProfile* const avMultiplicity) {this->fAvMultiplicity = avMultiplicity;};
271   TProfile* GetAvMultiplicity() const {return this->fAvMultiplicity;};
272   void SetIntFlowCorrelationsPro(TProfile* const intFlowCorrelationsPro) {this->fIntFlowCorrelationsPro = intFlowCorrelationsPro;};
273   TProfile* GetIntFlowCorrelationsPro() const {return this->fIntFlowCorrelationsPro;};
274   void SetIntFlowSquaredCorrelationsPro(TProfile* const ifscp) {this->fIntFlowSquaredCorrelationsPro = ifscp;};
275   TProfile* GetIntFlowSquaredCorrelationsPro() const {return this->fIntFlowSquaredCorrelationsPro;};
276   void SetIntFlowCorrelationsVsMPro(TProfile* const ifcvp, Int_t const ci) {this->fIntFlowCorrelationsVsMPro[ci] = ifcvp;};
277   TProfile* GetIntFlowCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowCorrelationsVsMPro[ci];};    
278   void SetIntFlowSquaredCorrelationsVsMPro(TProfile* const ifscvp, Int_t const ci) {this->fIntFlowSquaredCorrelationsVsMPro[ci] = ifscvp;};
279   TProfile* GetIntFlowSquaredCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowSquaredCorrelationsVsMPro[ci];};   
280   void SetIntFlowCorrelationsAllPro(TProfile* const intFlowCorrelationsAllPro) {this->fIntFlowCorrelationsAllPro = intFlowCorrelationsAllPro;};
281   TProfile* GetIntFlowCorrelationsAllPro() const {return this->fIntFlowCorrelationsAllPro;};  
282   void SetIntFlowExtraCorrelationsPro(TProfile* const intFlowExtraCorrelationsPro) {this->fIntFlowExtraCorrelationsPro = intFlowExtraCorrelationsPro;};
283   TProfile* GetIntFlowExtraCorrelationsPro() const {return this->fIntFlowExtraCorrelationsPro;};  
284   void SetIntFlowProductOfCorrelationsPro(TProfile* const intFlowProductOfCorrelationsPro) {this->fIntFlowProductOfCorrelationsPro = intFlowProductOfCorrelationsPro;};
285   TProfile* GetIntFlowProductOfCorrelationsPro() const {return this->fIntFlowProductOfCorrelationsPro;};      
286   void SetIntFlowProductOfCorrelationsVsMPro(TProfile* const ifpocvm, Int_t const pi) {this->fIntFlowProductOfCorrelationsVsMPro[pi] = ifpocvm;};
287   TProfile* GetIntFlowProductOfCorrelationsVsMPro(Int_t const pi) const {return this->fIntFlowProductOfCorrelationsVsMPro[pi];};    
288   void SetIntFlowProductOfCorrectionTermsForNUAPro(TProfile* const ifpoctfNUA) {this->fIntFlowProductOfCorrectionTermsForNUAPro = ifpoctfNUA;};
289   TProfile* GetIntFlowProductOfCorrectionTermsForNUAPro() const {return this->fIntFlowProductOfCorrectionTermsForNUAPro;};  
290   void SetIntFlowCorrectionTermsForNUAPro(TProfile* const ifctfnp, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAPro[sc] = ifctfnp;};
291   TProfile* GetIntFlowCorrectionTermsForNUAPro(Int_t sc) const {return this->fIntFlowCorrectionTermsForNUAPro[sc];};    
292   void SetIntFlowCorrectionTermsForNUAVsMPro(TProfile* const ifctfnpvm, Int_t const sc, Int_t const ci) {this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci] = ifctfnpvm;};
293   TProfile* GetIntFlowCorrectionTermsForNUAVsMPro(Int_t sc, Int_t ci) const {return this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci];};    
294   // integrated flow histograms holding all results:
295   void SetIntFlowCorrelationsHist(TH1D* const intFlowCorrelationsHist) {this->fIntFlowCorrelationsHist = intFlowCorrelationsHist;};
296   TH1D* GetIntFlowCorrelationsHist() const {return this->fIntFlowCorrelationsHist;};
297   void SetIntFlowCorrelationsVsMHist(TH1D* const ifcvmh, Int_t const ci) {this->fIntFlowCorrelationsVsMHist[ci] = ifcvmh;};
298   TH1D* GetIntFlowCorrelationsVsMHist(Int_t const ci) const {return this->fIntFlowCorrelationsVsMHist[ci];};    
299   void SetIntFlowCorrelationsAllHist(TH1D* const intFlowCorrelationsAllHist) {this->fIntFlowCorrelationsAllHist = intFlowCorrelationsAllHist;};
300   TH1D* GetIntFlowCorrelationsAllHist() const {return this->fIntFlowCorrelationsAllHist;};  
301   void SetIntFlowCorrectionTermsForNUAHist(TH1D* const ifctfnh, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAHist[sc] = ifctfnh;};
302   TH1D* GetIntFlowCorrectionTermsForNUAHist(Int_t sc) const {return this->fIntFlowCorrectionTermsForNUAHist[sc];};  
303   void SetIntFlowCovariances(TH1D* const intFlowCovariances) {this->fIntFlowCovariances = intFlowCovariances;};
304   TH1D* GetIntFlowCovariances() const {return this->fIntFlowCovariances;};
305   void SetIntFlowSumOfEventWeights(TH1D* const intFlowSumOfEventWeights, Int_t const power) {this->fIntFlowSumOfEventWeights[power] = intFlowSumOfEventWeights;};
306   TH1D* GetIntFlowSumOfEventWeights(Int_t power) const {return this->fIntFlowSumOfEventWeights[power];};
307   void SetIntFlowSumOfProductOfEventWeights(TH1D* const intFlowSumOfProductOfEventWeights) {this->fIntFlowSumOfProductOfEventWeights = intFlowSumOfProductOfEventWeights;};
308   TH1D* GetIntFlowSumOfProductOfEventWeights() const {return this->fIntFlowSumOfProductOfEventWeights;}; 
309   void SetIntFlowCovariancesVsM(TH1D* const ifcvm, Int_t ci) {this->fIntFlowCovariancesVsM[ci] = ifcvm;};
310   TH1D* GetIntFlowCovariancesVsM(Int_t ci) const {return this->fIntFlowCovariancesVsM[ci];};    
311   void SetIntFlowSumOfEventWeightsVsM(TH1D* const ifsoewvm, Int_t si, Int_t lc) {this->fIntFlowSumOfEventWeightsVsM[si][lc] = ifsoewvm;};
312   TH1D* GetIntFlowSumOfEventWeightsVsM(Int_t si, Int_t lc) const {return this->fIntFlowSumOfEventWeightsVsM[si][lc];};    
313   void SetIntFlowSumOfProductOfEventWeightsVsM(TH1D* const ifsopoevm, Int_t si) {this->fIntFlowSumOfProductOfEventWeightsVsM[si] = ifsopoevm;};
314   TH1D* GetIntFlowSumOfProductOfEventWeightsVsM(Int_t si) const {return this->fIntFlowSumOfProductOfEventWeightsVsM[si];};      
315   void SetIntFlowCovariancesNUA(TH1D* const intFlowCovariancesNUA) {this->fIntFlowCovariancesNUA = intFlowCovariancesNUA;};
316   TH1D* GetIntFlowCovariancesNUA() const {return this->fIntFlowCovariancesNUA;};
317   void SetIntFlowSumOfEventWeightsNUA(TH1D* const ifsoewNUA, Int_t const sc, Int_t const power) {this->fIntFlowSumOfEventWeightsNUA[sc][power] = ifsoewNUA;};
318   TH1D* GetIntFlowSumOfEventWeightsNUA(Int_t sc, Int_t power) const {return this->fIntFlowSumOfEventWeightsNUA[sc][power];};
319   void SetIntFlowSumOfProductOfEventWeightsNUA(TH1D* const ifsopoewNUA) {this->fIntFlowSumOfProductOfEventWeightsNUA = ifsopoewNUA;};
320   TH1D* GetIntFlowSumOfProductOfEventWeightsNUA() const {return this->fIntFlowSumOfProductOfEventWeightsNUA;}; 
321   void SetIntFlowQcumulants(TH1D* const intFlowQcumulants) {this->fIntFlowQcumulants = intFlowQcumulants;};
322   TH1D* GetIntFlowQcumulants() const {return this->fIntFlowQcumulants;}; 
323   void SetIntFlowQcumulantsVsM(TH1D* const intFlowQcumulantsVsM, Int_t co) {this->fIntFlowQcumulantsVsM[co] = intFlowQcumulantsVsM;};
324   TH1D* GetIntFlowQcumulantsVsM(Int_t co) const {return this->fIntFlowQcumulantsVsM[co];};  
325   void SetIntFlowQcumulantsRebinnedInM(TH1D* const ifqcrim) {this->fIntFlowQcumulantsRebinnedInM = ifqcrim;};
326   TH1D* GetIntFlowQcumulantsRebinnedInM() const {return this->fIntFlowQcumulantsRebinnedInM;};    
327   void SetIntFlowQcumulantsErrorSquaredRatio(TH1D* const ifqcesr) {this->fIntFlowQcumulantsErrorSquaredRatio = ifqcesr;};
328   TH1D* GetIntFlowQcumulantsErrorSquaredRatio() const {return this->fIntFlowQcumulantsErrorSquaredRatio;}; 
329   void SetIntFlow(TH1D* const intFlow) {this->fIntFlow = intFlow;};
330   TH1D* GetIntFlow() const {return this->fIntFlow;};
331   void SetIntFlowVsM(TH1D* const intFlowVsM, Int_t co) {this->fIntFlowVsM[co] = intFlowVsM;};
332   TH1D* GetIntFlowVsM(Int_t co) const {return this->fIntFlowVsM[co];};     
333   void SetIntFlowRebinnedInM(TH1D* const ifrim) {this->fIntFlowRebinnedInM = ifrim;};
334   TH1D* GetIntFlowRebinnedInM() const {return this->fIntFlowRebinnedInM;};
335   void SetIntFlowDetectorBias(TH1D* const ifdb) {this->fIntFlowDetectorBias = ifdb;};
336   TH1D* GetIntFlowDetectorBias() const {return this->fIntFlowDetectorBias;};  
337   void SetIntFlowDetectorBiasVsM(TH1D* const ifdbvm, Int_t ci) {this->fIntFlowDetectorBiasVsM[ci] = ifdbvm;};
338   TH1D* GetIntFlowDetectorBiasVsM(Int_t ci) const {return this->fIntFlowDetectorBiasVsM[ci];};  
339   // 4.) Differential flow:
340   //  Flags:
341   void SetDiffFlowFlags(TProfile* const diffFlowFlags) {this->fDiffFlowFlags = diffFlowFlags;};
342   TProfile* GetDiffFlowFlags() const {return this->fDiffFlowFlags;};
343   void SetCalculateDiffFlow(Bool_t const cdf) {this->fCalculateDiffFlow = cdf;};
344   Bool_t GetCalculateDiffFlow() const {return this->fCalculateDiffFlow;};
345   void SetCalculate2DDiffFlow(Bool_t const c2ddf) {this->fCalculate2DDiffFlow = c2ddf;};
346   Bool_t GetCalculate2DDiffFlow() const {return this->fCalculate2DDiffFlow;};
347   void SetCalculateDiffFlowVsEta(Bool_t const cdfve) {this->fCalculateDiffFlowVsEta = cdfve;};
348   Bool_t GetCalculateDiffFlowVsEta() const {return this->fCalculateDiffFlowVsEta;};
349   //  Profiles:
350   //   1D:
351   void SetDiffFlowCorrelationsPro(TProfile* const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsPro[i][j][k] = diffFlowCorrelationsPro;};
352   TProfile* GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsPro[i][j][k];};
353   void SetDiffFlowSquaredCorrelationsPro(TProfile* const diffFlowSquaredCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowSquaredCorrelationsPro[i][j][k] = diffFlowSquaredCorrelationsPro;};
354   TProfile* GetDiffFlowSquaredCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowSquaredCorrelationsPro[i][j][k];}; 
355   void SetDiffFlowProductOfCorrelationsPro(TProfile* const dfpocp, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowProductOfCorrelationsPro[i][j][k][l] = dfpocp;};
356   TProfile* GetDiffFlowProductOfCorrelationsPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowProductOfCorrelationsPro[i][j][k][l];};
357   void SetDiffFlowCorrectionTermsForNUAPro(TProfile* const dfctfnp, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l] = dfctfnp;};
358   TProfile* GetDiffFlowCorrectionTermsForNUAPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l];};  
359   //   2D:
360   void Set2DDiffFlowCorrelationsPro(TProfile2D* const p2ddfcp, Int_t const i, Int_t const k) {this->f2DDiffFlowCorrelationsPro[i][k] = p2ddfcp;};
361   TProfile2D* Get2DDiffFlowCorrelationsPro(Int_t i, Int_t k) const {return this->f2DDiffFlowCorrelationsPro[i][k];};
362   //   Other differential correlators:
363   void SetOtherDiffCorrelators(TProfile* const odc,Int_t const i,Int_t const j,Int_t const k,Int_t const l) {this->fOtherDiffCorrelators[i][j][k][l] = odc;};
364   TProfile* GetOtherDiffCorrelators(Int_t i,Int_t j,Int_t k,Int_t l) const {return this->fOtherDiffCorrelators[i][j][k][l];};   
365   // histograms:
366   void SetDiffFlowCorrelationsHist(TH1D* const diffFlowCorrelationsHist, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsHist[i][j][k] = diffFlowCorrelationsHist;};
367   TH1D* GetDiffFlowCorrelationsHist(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsHist[i][j][k];};
368   void SetDiffFlowCovariances(TH1D* const diffFlowCovariances, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCovariances[i][j][k] = diffFlowCovariances;};
369   TH1D* GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCovariances[i][j][k];};  
370   void SetDiffFlowCumulants(TH1D* const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCumulants[i][j][k] = diffFlowCumulants;};
371   TH1D* GetDiffFlowCumulants(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCumulants[i][j][k];};
372   void SetDiffFlowDetectorBias(TH1D* const dfdb, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowDetectorBias[i][j][k] = dfdb;};
373   TH1D* GetDiffFlowDetectorBias(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDetectorBias[i][j][k];};
374   void SetDiffFlow(TH1D* const diffFlow, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlow[i][j][k] = diffFlow;};
375   TH1D* GetDiffFlow(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlow[i][j][k];};
376   void SetDiffFlowSumOfEventWeights(TH1D* const dfsoew, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowSumOfEventWeights[i][j][k][l] = dfsoew;};
377   TH1D* GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfEventWeights[i][j][k][l];};
378   void SetDiffFlowSumOfProductOfEventWeights(TH1D* const dfsopoew, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowSumOfProductOfEventWeights[i][j][k][l] = dfsopoew;};
379   TH1D* GetDiffFlowSumOfProductOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfProductOfEventWeights[i][j][k][l];};
380   void SetDiffFlowCorrectionTermsForNUAHist(TH1D* const dfctfnh, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowCorrectionTermsForNUAHist[i][j][k][l] = dfctfnh;};
381   TH1D* GetDiffFlowCorrectionTermsForNUAHist(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAHist[i][j][k][l];};  
382   //  2D:
383   void Set2DDiffFlowCumulants(TH2D* const h2ddfc, Int_t const i, Int_t const j) {this->f2DDiffFlowCumulants[i][j] = h2ddfc;};
384   TH2D* Get2DDiffFlowCumulants(Int_t i, Int_t j) const {return this->f2DDiffFlowCumulants[i][j];};  
385   void Set2DDiffFlow(TH2D* const h2ddf, Int_t const i, Int_t const j) {this->f2DDiffFlow[i][j] = h2ddf;};
386   TH2D* Get2DDiffFlow(Int_t i, Int_t j) const {return this->f2DDiffFlow[i][j];};  
387   // 5.) distributions of correlations:
388   // flags:
389   void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;};
390   Bool_t GetStoreDistributions() const {return this->fStoreDistributions;};
391   // profile:
392   void SetDistributionsFlags(TProfile* const distributionsFlags) {this->fDistributionsFlags = distributionsFlags;};
393   TProfile* GetDistributionsFlags() const {return this->fDistributionsFlags;};  
394   // histograms:
395   void SetDistributions(TH1D* const distributions, Int_t const i) {this->fDistributions[i] = distributions;};
396   TH1D* GetDistributions(Int_t i) const {return this->fDistributions[i];};  
397   // min and max values of correlations (ci is correlations index [0=<2>,1=<4>,2=<6>,3=<8>]):
398   void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue) {this->fMinValueOfCorrelation[ci] = minValue;};
399   Double_t GetMinValueOfCorrelation(Int_t ci) const {return this->fMinValueOfCorrelation[ci];};
400   void SetMaxValueOfCorrelation(Int_t const ci, Double_t const maxValue) {this->fMaxValueOfCorrelation[ci] = maxValue;};
401   Double_t GetMaxValueOfCorrelation(Int_t ci) const {return this->fMaxValueOfCorrelation[ci];};
402     
403   // x.) debugging and cross-checking:
404   void SetNestedLoopsList(TList* const nllist) {this->fNestedLoopsList = nllist;};
405   TList* GetNestedLoopsList() const {return this->fNestedLoopsList;}; 
406   void SetEvaluateIntFlowNestedLoops(Bool_t const eifnl) {this->fEvaluateIntFlowNestedLoops = eifnl;};
407   Bool_t GetEvaluateIntFlowNestedLoops() const {return this->fEvaluateIntFlowNestedLoops;};
408   void SetEvaluateDiffFlowNestedLoops(Bool_t const edfnl) {this->fEvaluateDiffFlowNestedLoops = edfnl;};
409   Bool_t GetEvaluateDiffFlowNestedLoops() const {return this->fEvaluateDiffFlowNestedLoops;};  
410   void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity) {this->fMaxAllowedMultiplicity = maxAllowedMultiplicity;};
411   Int_t GetMaxAllowedMultiplicity() const {return this->fMaxAllowedMultiplicity;};
412   void SetEvaluateNestedLoops(TProfile* const enl) {this->fEvaluateNestedLoops = enl;};
413   TProfile* GetEvaluateNestedLoops() const {return this->fEvaluateNestedLoops;}; 
414   void SetIntFlowDirectCorrelations(TProfile* const ifdc) {this->fIntFlowDirectCorrelations = ifdc;};
415   TProfile* GetIntFlowDirectCorrelations() const {return this->fIntFlowDirectCorrelations;};
416   void SetIntFlowExtraDirectCorrelations(TProfile* const ifedc) {this->fIntFlowExtraDirectCorrelations = ifedc;};
417   TProfile* GetIntFlowExtraDirectCorrelations() const {return this->fIntFlowExtraDirectCorrelations;};
418   void SetIntFlowDirectCorrectionTermsForNUA(TProfile* const ifdctfn, Int_t const sc) {this->fIntFlowDirectCorrectionTermsForNUA[sc] = ifdctfn;};
419   TProfile* GetIntFlowDirectCorrectionTermsForNUA(Int_t sc) const {return this->fIntFlowDirectCorrectionTermsForNUA[sc];};  
420   void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo) {this->fCrossCheckInPtBinNo = crossCheckInPtBinNo;};
421   Int_t GetCrossCheckInPtBinNo() const {return this->fCrossCheckInPtBinNo;};
422   void SetCrossCheckInEtaBinNo(Int_t const crossCheckInEtaBinNo) {this->fCrossCheckInEtaBinNo = crossCheckInEtaBinNo;};
423   Int_t GetCrossCheckInEtaBinNo() const {return this->fCrossCheckInEtaBinNo;};
424   void SetNoOfParticlesInBin(TH1D* const noOfParticlesInBin) {this->fNoOfParticlesInBin = noOfParticlesInBin;};
425   TH1D* GetNoOfParticlesInBin() const {return this->fNoOfParticlesInBin;};  
426   void SetDiffFlowDirectCorrelations(TProfile* const diffFlowDirectCorrelations,Int_t const i,Int_t const j,Int_t const k){this->fDiffFlowDirectCorrelations[i][j][k]=diffFlowDirectCorrelations;};
427   TProfile* GetDiffFlowDirectCorrelations(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDirectCorrelations[i][j][k];};
428   void SetDiffFlowDirectCorrectionTermsForNUA(TProfile* const dfdctfn, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fDiffFlowDirectCorrectionTermsForNUA[i][j][k][l] = dfdctfn;};
429   TProfile* GetDiffFlowDirectCorrectionTermsForNUA(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowDirectCorrectionTermsForNUA[i][j][k][l];};          
430   void SetOtherDirectDiffCorrelators(TProfile* const oddc, Int_t const i, Int_t const j, Int_t const k, Int_t const l) {this->fOtherDirectDiffCorrelators[i][j][k][l] = oddc;};
431   TProfile* GetOtherDirectDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fOtherDirectDiffCorrelators[i][j][k][l];};  
432   void SetMixedHarmonicsNestedLoops(TProfile* const mhnl) {this->fMixedHarmonicsNestedLoops = mhnl;};
433   TProfile* GetMixedHarmonicsNestedLoops() const {return this->fMixedHarmonicsNestedLoops;};
434
435   // 9.) Mixed harmonics:
436   void SetMixedHarmonicsList(TList* const mhlist) {this->fMixedHarmonicsList = mhlist;};
437   void SetMixedHarmonicsFlags(TProfile* const mhFlags) {this->fMixedHarmonicsFlags = mhFlags;};
438   TProfile* GetMixedHarmonicsFlags() const {return this->fMixedHarmonicsFlags;}; 
439   void SetCalculateMixedHarmonics(Bool_t const cmh) {this->fCalculateMixedHarmonics = cmh;};
440   Bool_t GetCalculateMixedHarmonics() const {return this->fCalculateMixedHarmonics;};
441   void SetCalculateMixedHarmonicsVsM(Bool_t const cmhvm) {this->fCalculateMixedHarmonicsVsM = cmhvm;};
442   Bool_t GetCalculateMixedHarmonicsVsM() const {return this->fCalculateMixedHarmonicsVsM;};
443   void Set2pCorrelations(TProfile* const p2pCorr) {this->f2pCorrelations = p2pCorr;};
444   TProfile* Get2pCorrelations() const {return this->f2pCorrelations;};
445   void Set3pCorrelations(TProfile* const p3pCorr) {this->f3pCorrelations = p3pCorr;};
446   TProfile* Get3pCorrelations() const {return this->f3pCorrelations;};
447   void Set4pCorrelations(TProfile* const p4pCorr) {this->f4pCorrelations = p4pCorr;};
448   TProfile* Get4pCorrelations() const {return this->f4pCorrelations;};
449   void Set5pCorrelations(TProfile* const p5pCorr) {this->f5pCorrelations = p5pCorr;};
450   TProfile* Get5pCorrelations() const {return this->f5pCorrelations;};
451   void Set6pCorrelations(TProfile* const p6pCorr) {this->f6pCorrelations = p6pCorr;};
452   TProfile* Get6pCorrelations() const {return this->f6pCorrelations;};
453   void Set7pCorrelations(TProfile* const p7pCorr) {this->f7pCorrelations = p7pCorr;};
454   TProfile* Get7pCorrelations() const {return this->f7pCorrelations;};
455   void Set8pCorrelations(TProfile* const p8pCorr) {this->f8pCorrelations = p8pCorr;};
456   TProfile* Get8pCorrelations() const {return this->f8pCorrelations;};
457   void Set2pCumulants(TH1D* const p2pC) {this->f2pCumulants = p2pC;};
458   TH1D* Get2pCumulants() const {return this->f2pCumulants;};
459   void Set3pCumulants(TH1D* const p3pC) {this->f3pCumulants = p3pC;};
460   TH1D* Get3pCumulants() const {return this->f3pCumulants;};
461   void Set4pCumulants(TH1D* const p4pC) {this->f4pCumulants = p4pC;};
462   TH1D* Get4pCumulants() const {return this->f4pCumulants;};
463   void Set5pCumulants(TH1D* const p5pC) {this->f5pCumulants = p5pC;};
464   TH1D* Get5pCumulants() const {return this->f5pCumulants;};
465   void Set6pCumulants(TH1D* const p6pC) {this->f6pCumulants = p6pC;};
466   TH1D* Get6pCumulants() const {return this->f6pCumulants;};
467   void Set7pCumulants(TH1D* const p7pC) {this->f7pCumulants = p7pC;};
468   TH1D* Get7pCumulants() const {return this->f7pCumulants;};
469   void Set8pCumulants(TH1D* const p8pC) {this->f8pCumulants = p8pC;};
470   TH1D* Get8pCumulants() const {return this->f8pCumulants;};
471   void SetMixedHarmonicEventWeights(TH1D* const mhew, Int_t const power) {this->fMixedHarmonicEventWeights[power] = mhew;};
472   TH1D* GetMixedHarmonicEventWeights(Int_t power) const {return this->fMixedHarmonicEventWeights[power];};
473   void SetMixedHarmonicProductOfEventWeights(TH2D* const mhpoew) {this->fMixedHarmonicProductOfEventWeights = mhpoew;};
474   TH2D* GetMixedHarmonicProductOfEventWeights() const {return this->fMixedHarmonicProductOfEventWeights;};
475   void SetMixedHarmonicProductOfCorrelations(TProfile2D* const mhpoc) {this->fMixedHarmonicProductOfCorrelations = mhpoc;};
476   TProfile2D* GetMixedHarmonicProductOfCorrelations() const {return this->fMixedHarmonicProductOfCorrelations;};
477
478  private:
479   
480   AliFlowAnalysisWithQCumulants(const AliFlowAnalysisWithQCumulants& afawQc);
481   AliFlowAnalysisWithQCumulants& operator=(const AliFlowAnalysisWithQCumulants& afawQc); 
482   
483   // 0.) base:
484   TList* fHistList; // base list to hold all output object
485   
486   // 1.) common:
487   Bool_t fBookOnlyBasicCCH; // book only basis common control histrograms (by default book them all)
488   AliFlowCommonHist *fCommonHists; // common control histograms (taking into account ALL events) 
489   AliFlowCommonHist *fCommonHists2nd; // common control histograms (taking into account only the events with 2 and more particles) 
490   AliFlowCommonHist *fCommonHists4th; // common control histograms (taking into account only the events with 4 and more particles) 
491   AliFlowCommonHist *fCommonHists6th; // common control histograms (taking into account only the events with 6 and more particles) 
492   AliFlowCommonHist *fCommonHists8th; // common control histograms (taking into account only the events with 8 and more particles) 
493   AliFlowCommonHistResults *fCommonHistsResults2nd; // final results for 2nd order int. and diff. flow for events with 2 and more particles
494   AliFlowCommonHistResults *fCommonHistsResults4th; // final results for 4th order int. and diff. flow for events with 4 and more particles 
495   AliFlowCommonHistResults *fCommonHistsResults6th; // final results for 6th order int. and diff. flow for events with 6 and more particles
496   AliFlowCommonHistResults *fCommonHistsResults8th; // final results for 8th order int. and diff. flow for events with 8 and more particles
497   Int_t fnBinsPhi; // number of phi bins
498   Double_t fPhiMin; // minimum phi   
499   Double_t fPhiMax; // maximum phi 
500   Double_t fPhiBinWidth; // bin width for phi histograms  
501   Int_t fnBinsPt; // number of pt bins
502   Double_t fPtMin; // minimum pt   
503   Double_t fPtMax; // maximum pt  
504   Double_t fPtBinWidth; // bin width for pt histograms  
505   Int_t fnBinsEta; // number of eta bins
506   Double_t fEtaMin; // minimum eta   
507   Double_t fEtaMax; // maximum eta
508   Double_t fEtaBinWidth; // bin width for eta histograms  
509   TProfile *fCommonConstants; // profile to hold common constants
510   Bool_t fFillMultipleControlHistograms; // fill separately control histos for events with >= 2, 4, 6 and 8 particles 
511   Int_t fHarmonic; // harmonic 
512   TString *fAnalysisLabel; // analysis label (all histograms and output file will have this label)
513   Bool_t fPrintFinalResults[4]; // print on the screen the final results (0=RF, 1=RP, 2=POI, 3=RF rebinned in M)
514   
515   // 2a.) particle weights:
516   TList *fWeightsList; // list to hold all histograms with particle weights: fUseParticleWeights, fPhiWeights, fPtWeights and fEtaWeights
517   Bool_t fUsePhiWeights; // use phi weights
518   Bool_t fUsePtWeights; // use pt weights
519   Bool_t fUseEtaWeights; // use eta weights
520   Bool_t fUseTrackWeights; // use track weights (e.g. VZERO sector weights)
521   TProfile *fUseParticleWeights; // profile with three bins to hold values of fUsePhiWeights, fUsePtWeights and fUseEtaWeights
522   TH1F *fPhiWeights; // histogram holding phi weights
523   TH1D *fPtWeights; // histogram holding phi weights
524   TH1D *fEtaWeights; // histogram holding phi weights 
525   
526   // 2b.) event weights:
527   TString *fMultiplicityWeight; // event-by-event weights for multiparticle correlations
528   
529   // 3.) integrated flow       
530   //  3a.) lists:
531   TList *fIntFlowList; // list to hold all histograms and profiles relevant for integrated flow 
532   TList *fIntFlowProfiles; // list to hold all profiles relevant for integrated flow
533   TList *fIntFlowResults; // list to hold all histograms with final results relevant for integrated flow  
534   TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
535   //  3b.) flags:
536   TProfile *fIntFlowFlags; // profile to hold all flags for integrated flow
537   Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance 
538   Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M  
539   Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity  
540   Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity  
541   Double_t fMaxMult; // maximal multiplicity for flow analysis versus multiplicity  
542   Bool_t fPropagateErrorAlsoFromNIT; // propagate error by taking into account also non-isotropic terms (not sure if resulting error then is correct - to be improved)
543   Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity  
544   Bool_t fCalculateAllCorrelationsVsM; // calculate all correlations versus multiplicity   
545   Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default)   
546   Bool_t fForgetAboutCovariances; // when propagating error forget about the covariances  
547   Bool_t fStorePhiDistributionForOneEvent; // store phi distribution for one event to illustrate flow
548   Double_t fPhiDistributionForOneEventSettings[4]; // [v_min,v_max,refMult_min,refMult_max]
549   //  3c.) event-by-event quantities:
550   TMatrixD *fReQ; // fReQ[m][k] = sum_{i=1}^{M} w_{i}^{k} cos(m*phi_{i})
551   TMatrixD *fImQ; // fImQ[m][k] = sum_{i=1}^{M} w_{i}^{k} sin(m*phi_{i})
552   TMatrixD *fSpk; // fSM[p][k] = (sum_{i=1}^{M} w_{i}^{k})^{p+1}
553   TH1D *fIntFlowCorrelationsEBE; // 1st bin: <2>, 2nd bin: <4>, 3rd bin: <6>, 4th bin: <8>
554   TH1D *fIntFlowEventWeightsForCorrelationsEBE; // 1st bin: eW_<2>, 2nd bin: eW_<4>, 3rd bin: eW_<6>, 4th bin: eW_<8>
555   TH1D *fIntFlowCorrelationsAllEBE; // to be improved (add comment)
556   TH1D *fIntFlowCorrectionTermsForNUAEBE[2]; // [0=sin terms,1=cos terms], NUA = non-uniform acceptance
557   TH1D *fIntFlowEventWeightForCorrectionTermsForNUAEBE[2]; // [0=sin terms,1=cos terms], NUA = non-uniform acceptance 
558   Double_t fReferenceMultiplicityEBE; // reference multiplicity 
559   //  3d.) profiles:
560   TProfile *fAvMultiplicity; // profile to hold average multiplicities and number of events for events with nRP>=0, nRP>=1, ... , and nRP>=8
561   TProfile *fIntFlowCorrelationsPro; // average correlations <<2>>, <<4>>, <<6>> and <<8>> (with wrong errors!) 
562   TProfile *fIntFlowSquaredCorrelationsPro; // average correlations squared <<2>^2>, <<4>^2>, <<6>^2> and <<8>^2>  
563   TProfile *fIntFlowCorrelationsVsMPro[4]; // average correlations <<2>>, <<4>>, <<6>> and <<8>> versus multiplicity (error is wrong here!)
564   TProfile *fIntFlowSquaredCorrelationsVsMPro[4]; // average correlations <<2>^2>, <<4>^2>, <<6>^2> and <<8>^2> versus multiplicity  
565   TProfile *fIntFlowCorrelationsAllPro; // average all correlations for integrated flow (with wrong errors!)
566   TProfile *fIntFlowCorrelationsAllVsMPro[64]; // average all correlations vs M (errors via Sumw2 - to me improved)
567   TProfile *fIntFlowExtraCorrelationsPro; // when particle weights are used some extra correlations appear 
568   TProfile *fIntFlowProductOfCorrelationsPro; // average product of correlations <2>, <4>, <6> and <8>  
569   TProfile *fIntFlowProductOfCorrelationsVsMPro[6]; // average product of correlations <2>, <4>, <6> and <8>  
570                                                     // [0=<<2><4>>,1=<<2><6>>,2=<<2><8>>,3=<<4><6>>,4=<<4><8>>,5=<<6><8>>]  
571   TProfile *fIntFlowProductOfCorrectionTermsForNUAPro; // average product of correction terms for NUA  
572   TProfile *fIntFlowCorrectionTermsForNUAPro[2]; // average correction terms for non-uniform acceptance (with wrong errors!) [0=sin terms,1=cos terms] 
573   TProfile *fIntFlowCorrectionTermsForNUAVsMPro[2][4]; // average correction terms for non-uniform acceptance (with wrong errors!) [0=sin terms,1=cos terms][correction term index] vs multiplicity   
574   //  3e.) histograms with final results:
575   TH1D *fIntFlowCorrelationsHist; // final results for average correlations <<2>>, <<4>>, <<6>> and <<8>> (with correct errors!) 
576   TH1D *fIntFlowCorrelationsVsMHist[4]; // average correlations <<2>>, <<4>>, <<6>> and <<8>> versus multiplicity (error is correct here!)
577   TH1D *fIntFlowCorrelationsAllHist; // final results for all average correlations (with correct errors!) 
578   TH1D *fIntFlowCorrectionTermsForNUAHist[2];// final results for correction terms for non-uniform acceptance (with correct errors!) [0=sin terms,1=cos terms]
579   TH1D *fIntFlowCovariances; // final result for covariances of correlations (multiplied with weight dependent prefactor)
580   TH1D *fIntFlowSumOfEventWeights[2]; // sum of linear and quadratic event weights for <2>, <4>, <6> and <8>: [0=linear 1,1=quadratic]
581   TH1D *fIntFlowSumOfProductOfEventWeights; // sum of products of event weights for correlations <2>, <4>, <6> and <8>  
582   TH1D *fIntFlowCovariancesVsM[6]; // final result for covariances of correlations (multiplied with weight dependent prefactor) versus M
583                                    // [0=Cov(2,4),1=Cov(2,6),2=Cov(2,8),3=Cov(4,6),4=Cov(4,8),5=Cov(6,8)]
584   TH1D *fIntFlowSumOfEventWeightsVsM[4][2]; // sum of linear and quadratic event weights for <2>, <4>, <6> and <8> versum multiplicity
585                                             // [0=sum{w_{<2>}},1=sum{w_{<4>}},2=sum{w_{<6>}},3=sum{w_{<8>}}][0=linear 1,1=quadratic]
586   TH1D *fIntFlowSumOfProductOfEventWeightsVsM[6]; // sum of products of event weights for correlations <2>, <4>, <6> and <8> vs M
587                                                   // [0=sum{w_{<2>}w_{<4>}},1=sum{w_{<2>}w_{<6>}},2=sum{w_{<2>}w_{<8>}},
588                                                   //  3=sum{w_{<4>}w_{<6>}},4=sum{w_{<4>}w_{<8>}},5=sum{w_{<6>}w_{<8>}}]  
589   TH1D *fIntFlowCovariancesNUA; // final result for covariances of all terms needed for NUA (multiplied with weight dependent prefactor)
590   TH1D *fIntFlowSumOfEventWeightsNUA[2][2]; // sum of linear and quadratic event weights for NUA terms: [0=sin,1=cos][0=linear 1,1=quadratic]
591   TH1D *fIntFlowSumOfProductOfEventWeightsNUA; // sum of products of event weights for NUA terms
592   TH1D *fIntFlowQcumulants; // final results for integrated Q-cumulants QC{2}, QC{4}, QC{6} and QC{8}
593   TH1D *fIntFlowQcumulantsVsM[4]; // final results for integrated Q-cumulants QC{2}, QC{4}, QC{6} and QC{8} versus multiplicity
594   TH1D *fIntFlowQcumulantsRebinnedInM; // final results for reference Q-cumulants QC{2}, QC{4}, QC{6} and QC{8} rebinned in M
595   TH1D *fIntFlowQcumulantsErrorSquaredRatio; // ratio between error squared: with/without non-isotropic terms
596   TH1D *fIntFlow; // final results for integrated flow estimates v_n{2,QC}, v_n{4,QC}, v_n{6,QC} and v_n{8,QC}
597   TH1D *fIntFlowVsM[4]; // final results for integrated flow estimates v_n{2,QC}, v_n{4,QC}, v_n{6,QC} and v_n{8,QC} versus multiplicity 
598   TH1D *fIntFlowRebinnedInM; // final results for ref. flow estimates v_n{2,QC}, v_n{4,QC}, v_n{6,QC} and v_n{8,QC} rebinned in M
599   TH1D *fIntFlowDetectorBias; // bias coming from detector inefficiencies to <<2>>, <<4>>, <<6>> and <<8>> (corrected/measured)  
600   TH1D *fIntFlowDetectorBiasVsM[4]; // bias coming from detector inefficiencies to <<2>>, <<4>>, <<6>> and <<8>> vs M (corrected/measured)  
601   // 4.) differential flow
602   //  4a.) lists:
603   TList *fDiffFlowList; // list to hold list with all histograms (fDiffFlowResults) and list with profiles (fDiffFlowProfiles) relevant for differential flow 
604   TList *fDiffFlowProfiles; // list to hold all profiles relevant for differential flow
605   TList *fDiffFlowResults; // list to hold all histograms with final results relevant for differential flow  
606   TList *fDiffFlow2D; // list to hold all objects relevant for 2D differential flow  
607   //    4aa.) nested list in list fDiffFlowProfiles: 
608   TList *fDiffFlowCorrelationsProList[2][2]; // list to hold profiles with all correlations for differential flow [0=RP,1=POI][0=pt,1=eta] 
609   TList *fDiffFlowProductOfCorrelationsProList[2][2]; // list to hold profiles with products of all correlations for differential flow [0=RP,1=POI][0=pt,1=eta] 
610   TList *fDiffFlowCorrectionsProList[2][2]; // list to hold profiles with correction term for NUA for differential flow [0=RP,1=POI][0=pt,1=eta] 
611   TList *f2DDiffFlowCorrelationsProList[2]; // list to hold profiles with all correlations for 2D differential flow [0=RP,1=POI]  
612   //    4ab.) nested list in list fDiffFlowResults: 
613   TList *fDiffFlowCorrelationsHistList[2][2]; // list to hold histograms with all correlations for differential flow [0=RP,1=POI][0=pt,1=eta] 
614   TList *fDiffFlowSumOfEventWeightsHistList[2][2][2]; // list to hold histograms with sum of linear/quadratic event weights [0=RP,1=POI][0=pt,1=eta][0=linear 1,1=quadratic]
615   TList *fDiffFlowSumOfProductOfEventWeightsHistList[2][2]; // list to hold histograms with sum of products of event weights [0=RP,1=POI][0=pt,1=eta]
616   TList *fDiffFlowCorrectionsHistList[2][2]; // list to hold histograms with correction term for NUA for differential flow [0=RP,1=POI][0=pt,1=eta] 
617   TList *fDiffFlowCovariancesHistList[2][2]; // list to hold histograms with all covariances for differential flow [0=RP,1=POI][0=pt,1=eta] 
618   TList *fDiffFlowCumulantsHistList[2][2]; // list to hold histograms with all cumulants for differential flow [0=RP,1=POI][0=pt,1=eta] 
619   TList *fDiffFlowDetectorBiasHistList[2][2]; // list to hold histograms which quantify detector bias to differential cumulants [0=RP,1=POI][0=pt,1=eta] 
620   TList *fDiffFlowHistList[2][2]; // list to hold histograms with final results for differential flow [0=RP,1=POI][0=pt,1=eta]
621   //  4b.) flags:  
622   TProfile *fDiffFlowFlags; // profile to hold all flags for differential flow
623   Bool_t fCalculateDiffFlow; // if you set kFALSE only reference flow will be calculated
624   Bool_t fCalculate2DDiffFlow; // calculate 2D differential flow vs (pt,eta) (Remark: this is expensive in terms of CPU time)
625   Bool_t fCalculateDiffFlowVsEta; // if you set kFALSE only differential flow vs pt is calculated
626   //  4c.) event-by-event quantities:
627   //   1D:
628   TProfile *fReRPQ1dEBE[3][2][4][9]; // real part [0=r,1=p,2=q][0=pt,1=eta][m][k]
629   TProfile *fImRPQ1dEBE[3][2][4][9]; // imaginary part [0=r,1=p,2=q][0=pt,1=eta][m][k]
630   TProfile *fs1dEBE[3][2][9]; // [0=r,1=p,2=q][0=pt,1=eta][k] // to be improved
631   TH1D *fDiffFlowCorrelationsEBE[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][reduced correlation index]
632   TH1D *fDiffFlowEventWeightsForCorrelationsEBE[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][event weights for reduced correlation index]
633   TH1D *fDiffFlowCorrectionTermsForNUAEBE[2][2][2][10]; // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
634   //   2D:
635   TProfile2D *fReRPQ2dEBE[3][4][9]; // real part of r_{m*n,k}(pt,eta), p_{m*n,k}(pt,eta) and q_{m*n,k}(pt,eta)
636   TProfile2D *fImRPQ2dEBE[3][4][9]; // imaginary part of r_{m*n,k}(pt,eta), p_{m*n,k}(pt,eta) and q_{m*n,k}(pt,eta)
637   TProfile2D *fs2dEBE[3][9]; // [t][k] // to be improved
638   //  4d.) profiles:
639   //   1D:
640   TProfile *fDiffFlowCorrelationsPro[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][correlation index]
641   TProfile *fDiffFlowSquaredCorrelationsPro[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][correlation index]
642   TProfile *fDiffFlowProductOfCorrelationsPro[2][2][8][8]; // [0=RP,1=POI][0=pt,1=eta] [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>] x 
643                                                            //                          [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
644   TProfile *fDiffFlowCorrectionTermsForNUAPro[2][2][2][10]; // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
645   //   2D:                                                            
646   TProfile2D *f2DDiffFlowCorrelationsPro[2][4]; // [0=RP,1=POI][correlation index]
647   //   Other differential correlators:
648   TList *fOtherDiffCorrelatorsList; // list to hold profiles with other differential correlators
649   TProfile *fOtherDiffCorrelators[2][2][2][1]; // // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correlator index] 
650   //  4e.) histograms holding final results:
651   //   1D:
652   TH1D *fDiffFlowCorrelationsHist[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][correlation index]
653   TH1D *fDiffFlowCovariances[2][2][5]; // [0=RP,1=POI][0=pW not used,1=pW used][0=exact eW,1=non-exact eW][0=pt,1=eta][index of covariances] 
654   TH1D *fDiffFlowCumulants[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][0=QC{2'},1=QC{4'},2=QC{6'},3=QC{8'}]
655   TH1D *fDiffFlowDetectorBias[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][0=gQC{2'}/QC{2'},1=gQC{4'}/QC{4'},2=gQC{6'}/QC{6'},3=gQC{8'}/QC{8'}]
656   TH1D *fDiffFlow[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][0=v'{2},1=v'{4},2=v'{6},3=v'{8}]
657   TH1D *fDiffFlowSumOfEventWeights[2][2][2][4]; // [0=RP,1=POI][0=pt,1=eta][0=linear 1,1=quadratic][0=<2'>,1=<4'>,2=<6'>,3=<8'>]
658   TH1D *fDiffFlowSumOfProductOfEventWeights[2][2][8][8]; // [0=RP,1=POI][0=pt,1=eta]  [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>] x 
659                                                          //                           [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
660   TH1D *fDiffFlowCorrectionTermsForNUAHist[2][2][2][10]; // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]        
661   //   2D:                                                            
662   TH2D *f2DDiffFlowCumulants[2][4]; // 2D differential cumulants [0=RP,1=POI][cumulant order]
663   TH2D *f2DDiffFlow[2][4]; // 2D differential flow [0=RP,1=POI][cumulants order]
664   // 6.) distributions:
665   TList *fDistributionsList; // list to hold all distributions of correlations
666   TProfile *fDistributionsFlags; // profile to hold all flags for distributions of correlations
667   Bool_t fStoreDistributions; // store or not distributions of correlations
668   TH1D *fDistributions[4]; // [0=distribution of <2>,1=distribution of <4>,2=distribution of <6>,3=distribution of <8>]
669   Double_t fMinValueOfCorrelation[4]; // min values of <2>, <4>, <6> and <8>
670   Double_t fMaxValueOfCorrelation[4]; // max values of <2>, <4>, <6> and <8>
671   
672   // 7.) various:
673   TList *fVariousList; // list to hold various unclassified objects
674   TH1D *fPhiDistributionForOneEvent; // store phi distribution for one event to illustrate flow
675     
676   // 8.) debugging and cross-checking:
677   TList *fNestedLoopsList; // list to hold all profiles filled with nested loops
678   Bool_t fEvaluateIntFlowNestedLoops; // evaluate nested loops relevant for integrated flow
679   Bool_t fEvaluateDiffFlowNestedLoops; // evaluate nested loops relevant for differential flow
680   Int_t fMaxAllowedMultiplicity; // nested loops will be evaluated only for events with multiplicity <= fMaxAllowedMultiplicity
681   TProfile *fEvaluateNestedLoops; // profile with four bins: fEvaluateIntFlowNestedLoops, fEvaluateDiffFlowNestedLoops, fCrossCheckInPtBinNo and fCrossCheckInEtaBinNo 
682   // integrated flow:
683   TProfile *fIntFlowDirectCorrelations; // multiparticle correlations relevant for int. flow calculated with nested loops  
684   TProfile *fIntFlowExtraDirectCorrelations; // when particle weights are used some extra correlations appear   
685   TProfile *fIntFlowDirectCorrectionTermsForNUA[2]; // average correction terms for non-uniform acceptance evaluated with nested loops [0=sin terms,1=cos terms] 
686   // differential flow:
687   Int_t fCrossCheckInPtBinNo; // cross-check results for reduced correlations and corrections in this pt bin
688   Int_t fCrossCheckInEtaBinNo; // cross-check results for reduced correlations and corrections in this eta bin
689   TH1D *fNoOfParticlesInBin; // bin: 1 = # of RPs in pt bin, 2 = # of RPs in eta bin, 3 = # of POIs in pt bin, 4 = # of POIs in eta bin 
690   TProfile *fDiffFlowDirectCorrelations[2][2][4]; // [0=RP,1=POI][0=pt,1=eta][correlation index]
691   TProfile *fDiffFlowDirectCorrectionTermsForNUA[2][2][2][10]; // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
692   // other differential correlators: 
693   TProfile *fOtherDirectDiffCorrelators[2][2][2][1]; // [0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correlator index]
694   // mixed harmonics:
695   TProfile *fMixedHarmonicsNestedLoops; // Cross-check mixed harmonics with nested loops.
696              
697   // 9.) mixed harmonics:       
698   //  9a.) lists:
699   TList *fMixedHarmonicsList; // list to hold all histograms and profiles for mixed harmonics 
700   TList *fMixedHarmonicsProfiles; // list to hold all profiles for mixed harmonics
701   TList *fMixedHarmonicsResults; // list to hold all histograms with final results for mixed harmonics  
702   TList *fMixedHarmonicsErrorPropagation; // list to hold all objects needed for statistical error propagation  
703   //TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
704   //  9b.) flags:
705   TProfile *fMixedHarmonicsFlags; // profile to hold all flags for mixed harmonics
706   Bool_t fCalculateMixedHarmonics; // calculate or not mixed harmonics
707   Bool_t fCalculateMixedHarmonicsVsM; // calculate or not mixed harmonics vs multiplicity
708   //  9c.) profiles:
709   TProfile *f2pCorrelations; // profile to hold all 2-particle correlations
710   TProfile *f3pCorrelations; // profile to hold all 3-particle correlations
711   TProfile *f4pCorrelations; // profile to hold all 4-particle correlations
712   TProfile *f5pCorrelations; // profile to hold all 5-particle correlations
713   TProfile *f6pCorrelations; // profile to hold all 6-particle correlations
714   TProfile *f7pCorrelations; // profile to hold all 7-particle correlations
715   TProfile *f8pCorrelations; // profile to hold all 8-particle correlations
716   //  9d.) results:
717   TH1D *f2pCumulants; // histogram to hold all 2-particle cumulants
718   TH1D *f3pCumulants; // histogram to hold all 3-particle cumulants
719   TH1D *f4pCumulants; // histogram to hold all 4-particle cumulants
720   TH1D *f5pCumulants; // histogram to hold all 5-particle cumulants
721   TH1D *f6pCumulants; // histogram to hold all 6-particle cumulants
722   TH1D *f7pCumulants; // histogram to hold all 7-particle cumulants
723   TH1D *f8pCumulants; // histogram to hold all 8-particle cumulants
724   //  9e.) statistical error propagation:
725   TH1D *fMixedHarmonicEventWeights[2]; // sum of linear and quadratic event weights for mixed harmonics => [0=linear 1,1=quadratic]    
726   TH2D *fMixedHarmonicProductOfEventWeights; // sum of products of event weights for mixed harmonics
727   TProfile2D *fMixedHarmonicProductOfCorrelations; // averages of products of mixed harmonics correlations
728    
729   ClassDef(AliFlowAnalysisWithQCumulants, 2);
730 };
731
732 //================================================================================================================
733
734 #endif
735
736
737
738
739