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