AliPhysics  2c6b7ad (2c6b7ad)
AliFlowAnalysisCRC.h
Go to the documentation of this file.
1 /*************************************************************************
2  * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 /*************************************************
17  * Charge-rapidity correlations with Q-cumulants *
18  * *
19  * author: Jacopo Margutti *
20  * (margutti@nikhef.nl) *
21  *************************************************/
22 
23 #ifndef AliFlowAnalysisCRC_H
24 #define AliFlowAnalysisCRC_H
25 
26 #include "TMatrixD.h"
27 #include "TH2D.h"
28 #include "TH3D.h"
29 #include "TRandom3.h"
30 #include "AliFlowCommonConstants.h"
31 #include "TNamed.h"
32 #include <complex>
33 #include <cmath>
34 
35 class TObjArray;
36 class TList;
37 class TFile;
38 class TGraph;
39 class TH1;
40 class TH3;
41 class TProfile;
42 class TProfile2D;
43 class TProfile3D;
44 class TDirectoryFile;
45 class TRandom3;
46 class TNtuple;
47 class THnSparse;
48 
49 class AliFlowEventSimple;
50 class AliFlowTrackSimple;
52 class AliFlowCommonHist;
54 class AliFlowVector;
55 
56 //==============================================================================================================
57 
58 class AliFlowAnalysisCRC : public TNamed {
59 public:
60  AliFlowAnalysisCRC(const char* name="AliFlowAnalysisCRC",
61  Int_t nCen=7,
62  Double_t CenWidth=10.);
63  virtual ~AliFlowAnalysisCRC();
64 
67  };
68 
69  enum DataSet { k2010,
75  };
76 
78  kHigh, // >0.9
79  kLow, // <0.6
80  kPos, // mag.field pol.+
81  kNeg, // mag.field pol.-
83  };
84 
85  enum SelectCharge {
89  };
90 
100  };
101 
102  // 0.) methods called in the constructor:
103  virtual void InitializeArraysForIntFlow();
104  virtual void InitializeArraysForDiffFlow();
105  virtual void InitializeArraysForDistributions();
106  virtual void InitializeArraysForVarious();
107  virtual void InitializeArraysForParticleWeights();
108  virtual void InitializeArraysForNestedLoops();
109  virtual void InitializeArraysForMixedHarmonics();
111  virtual void InitializeArraysForBootstrap();
112  virtual void InitializeCostantsForCRC();
113  virtual void InitializeArraysForCRC();
114  virtual void InitializeArraysForCRCVZ();
115  virtual void InitializeArraysForCRCZDC();
116  virtual void InitializeArraysForCRCPt();
117  virtual void InitializeArraysForCME();
118  virtual void InitializeArraysForCRC2();
119  virtual void InitializeArraysForFlowEbE();
120  virtual void InitializeArraysForFlowQC();
121  virtual void InitializeArraysForFlowGF();
122  virtual void InitializeArraysForFlowSPZDC();
123  virtual void InitializeArraysForFlowSPVZ();
124  virtual void InitializeArraysForEbEFlow();
125 
126  // 1.) method Init() and methods called within Init():
127  virtual void Init();
128  virtual void InitializeArraysForQVec();
129  virtual void CrossCheckSettings();
130  virtual void CommonConstants(TString method);
131  virtual void BookAndNestAllLists();
133  virtual void BookCommonHistograms();
134  virtual void BookAndFillWeightsHistograms();
135  virtual void BookEverythingForIntegratedFlow();
136  virtual void BookEverythingForDifferentialFlow();
138  virtual void BookEverythingForDistributions();
139  virtual void BookEverythingForVarious();
140  virtual void BookEverythingForNestedLoops();
141  virtual void BookEverythingForMixedHarmonics();
142  virtual void BookEverythingForControlHistograms();
143  virtual void BookEverythingForBootstrap();
144  virtual void SetRunList();
145  virtual void BookEverythingForCRC();
146  virtual void BookEverythingForCRCVZ();
147  virtual void BookEverythingForCRCZDC();
148  virtual void BookEverythingForCRCPt();
149  virtual void BookEverythingForQVec();
150  virtual void BookEverythingForCME();
151  virtual void BookEverythingForCRC2();
152  virtual void BookEverythingForFlowEbE();
153  virtual void BookEverythingForFlowQC();
154  virtual void BookEverythingForFlowGF();
155  virtual void BookEverythingForFlowSPZDC();
156  virtual void BookEverythingForFlowSPVZ();
157  virtual void BookEverythingForEbEFlow();
158  virtual void StoreIntFlowFlags();
159  virtual void StoreDiffFlowFlags();
160  virtual void StoreFlagsForDistributions();
161  virtual void StoreHarmonic();
162  virtual void StoreMixedHarmonicsFlags();
163  virtual void StoreControlHistogramsFlags();
164  virtual void StoreBootstrapFlags();
165  virtual void StoreCRCFlags();
166  virtual void SetCentralityWeights();
167 
168  // 2.) method Make() and methods called within Make():
169  virtual void Make(AliFlowEventSimple *anEvent);
170  // 2a.) Common:
171  virtual void CheckPointersUsedInMake();
172  virtual void FillAverageMultiplicities(Int_t nRP);
173  virtual void FillCommonControlHistograms(AliFlowEventSimple *anEvent);
174  virtual void FillControlHistograms(AliFlowEventSimple *anEvent);
175  virtual void ResetEventByEventQuantities();
176  // 2b.) Reference flow:
177  virtual void CalculateIntFlowCorrelations();
180  virtual void CalculateIntFlowSumOfEventWeights();
189  virtual void CalculateMixedHarmonics();
190  virtual std::complex<double> ucN(const Int_t n, const TArrayI& h, Int_t ptb);
191  virtual std::complex<double> ucN2(const Int_t n, TArrayI& h, TArrayI& cnt, Int_t ptb);
192  // 2c.) Cross-checking reference flow correlations with nested loops:
193  virtual void EvaluateIntFlowNestedLoops(AliFlowEventSimple* const anEvent);
198  virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple* const anEvent);
199  // 2d.) Differential flow:
200  virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta); // type = RP or POI
201  virtual void CalculateDiffFlowCorrelationsUsingParticleWeights(TString type, TString ptOrEta); // type = RP or POI
202  virtual void CalculateDiffFlowProductOfCorrelations(TString type, TString ptOrEta); // type = RP or POI
203  virtual void CalculateDiffFlowSumOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
204  virtual void CalculateDiffFlowSumOfProductOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
205  virtual void CalculateDiffFlowCorrectionsForNUACosTerms(TString type, TString ptOrEta);
207  virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta);
209  // 2e.) 2D differential flow:
210  virtual void Calculate2DDiffFlowCorrelations(TString type); // type = RP or POI
211  // 2f.) Other differential correlators (i.e. Teaney-Yan correlator):
212  virtual void CalculateOtherDiffCorrelators(TString type, TString ptOrEta); // type = RP or POI
213  // 2g.) Distributions of reference flow correlations:
214  virtual void StoreDistributionsOfCorrelations();
215  // 2h.) Cross-checking differential flow correlations with nested loops:
216  virtual void EvaluateDiffFlowNestedLoops(AliFlowEventSimple* const anEvent);
217  virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
221  virtual void EvaluateOtherDiffCorrelatorsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
222  // 2i.) Charge-Rapidity Correlations
223  virtual void RecenterCRCQVec();
224  virtual void RecenterCRCQVecZDC();
225  virtual void RecenterCRCQVecVZERO();
226  virtual void PassQAZDCCuts();
227  virtual Bool_t PassCutZDCQVecDis(Double_t ZCRe, Double_t ZCIm, Double_t ZARe, Double_t ZAIm);
228  virtual Bool_t MultCut2015o();
229  virtual void CalculateCRCCorr();
230  virtual void CalculateCRCVZERO();
231  virtual void CalculateCRCZDC();
232  virtual void CalculateCRCPtCorr();
233  virtual void CalculateCRCQVec();
234  virtual void CalculateVZvsZDC();
235  virtual void CalculateCMETPC();
236  virtual void CalculateCMEZDC();
237  virtual void CalculateCRC2Cor();
238  virtual void CalculateFlowQC();
239  virtual void CalculateFlowGF();
240  virtual void CalculateFlowSCZDC();
241  virtual void CalculateFlowSPZDC(Double_t ZCRe, Double_t ZCIm, Double_t ZARe, Double_t ZAIm, Double_t dPhi, Double_t dEta, Double_t dPt, Double_t wPhiEta, Double_t dCharge, Int_t dCnt);
242  virtual void CalculateFlowSPVZ();
243  virtual void FitEbEFlow();
244  // 2h.) Various
245  virtual void FillVarious();
246 
247  // 3.) method Finish() and methods called within Finish():
248  virtual void Finish();
249  virtual void CheckPointersUsedInFinish();
250  // 3a.) integrated flow:
251  virtual void FinalizeCorrelationsIntFlow();
253  virtual void CalculateCovariancesIntFlow();
254  virtual void CalculateCovariancesNUAIntFlow();
255  virtual void CalculateCumulantsIntFlow();
256  virtual void CalculateReferenceFlow();
257  virtual void FillCommonHistResultsIntFlow();
258  // nua:
260  virtual void PrintFinalResultsForIntegratedFlow(TString type);
261  virtual void CrossCheckIntFlowCorrelations();
262  virtual void CrossCheckIntFlowExtraCorrelations(); // extra correlations which appear only when particle weights are used
264  // 3b.) differential flow:
265  virtual void FinalizeReducedCorrelations(TString type, TString ptOrEta);
266  virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta);
267  virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta);
268  virtual void CalculateDiffFlow(TString type, TString ptOrEta);
269  virtual void FinalizeCorrectionTermsForNUADiffFlow(TString type, TString ptOrEta);
270  virtual void CalculateDiffFlowCumulantsCorrectedForNUA(TString type, TString ptOrEta);
271  virtual void CalculateDiffFlowCorrectedForNUA(TString type, TString ptOrEta);
272  virtual void CalculateFinalResultsForRPandPOIIntegratedFlow(TString type); // to be improved (add also possibility to integrate over eta yield)
273  virtual void FillCommonHistResultsDiffFlow(TString type);
274  virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta);
276  virtual void CrossCheckDiffFlowCorrectionTermsForNUA(TString type, TString ptOrEta);
277  // 3c.) 2D:
278  virtual void Calculate2DDiffFlowCumulants(TString type);
279  virtual void Calculate2DDiffFlow(TString type);
280  // 3d.) Other differential correlators:
281  virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta);
282  // 3e.) Mixed harmonics:
283  virtual void CalculateCumulantsMixedHarmonics();
284  // 3f.) Bootstrap:
285  virtual void CalculateCumulantsForBootstrap();
286  // 3g.) CRC:
287  virtual void FinalizeCRCCorr();
288  virtual void FinalizeCRCVZERO();
289  virtual void FinalizeCRCZDC();
290  virtual void FinalizeCRCPtCorr();
291  virtual void FinalizeCMETPC();
292  virtual void FinalizeCMEZDC();
293  virtual void FinalizeCRC2Cor();
294  virtual void FinalizeFlowQC();
295  virtual void FinalizeFlowGF();
296  virtual void FinalizeFlowSPZDC();
297  virtual void FinalizeFlowSPVZ();
298  // 3h.) Various:
299  virtual void FinalizeVarious();
300  virtual Double_t GetDPhiStar(Float_t phi1, Float_t pt1, Float_t charge1, Float_t phi2, Float_t pt2, Float_t charge2, Float_t radius, Float_t bSign);
302 
303  // 4.) method GetOutputHistograms() and methods called within GetOutputHistograms():
304  virtual void GetOutputHistograms(TList *outputListHistos);
305  virtual void GetPointersForCommonHistograms();
307  virtual void GetPointersForIntFlowHistograms();
308  virtual void GetPointersForDiffFlowHistograms();
309  virtual void GetPointersFor2DDiffFlowHistograms();
310  virtual void GetPointersForOtherDiffCorrelators();
313  virtual void GetPointersForControlHistograms();
314  virtual void GetPointersForBootstrap();
315  virtual void GetPointersForCRC();
316  virtual void GetPointersForCRCVZ();
317  virtual void GetPointersForCRCZDC();
318  virtual void GetPointersForCRC2();
319  virtual void GetPointersForCRCPt();
320  virtual void GetPointersForQVec();
321  virtual void GetPointersForCME();
322  virtual void GetPointersForFlowQC();
323  virtual void GetPointersForFlowGF();
324  virtual void GetPointersForFlowSPZDC();
325  virtual void GetPointersForFlowSPVZ();
326  virtual void GetPointersForEbEFlow();
327  virtual void GetPointersForVarious();
328 
329  // 5.) other methods:
330  TProfile* MakePtProjection(TProfile2D *profilePtEta) const;
331  TProfile* MakeEtaProjection(TProfile2D *profilePtEta) const;
332  virtual void WriteHistograms(TString outputFileName);
333  virtual void WriteHistograms(TDirectoryFile *outputFileName);
334  virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2);
335  virtual Int_t GetCRCVZBin(Int_t c, Int_t c2);
336  virtual Int_t GetCRCQVecBin(Int_t c, Int_t y);
337  virtual Int_t GetCRCRunBin(Int_t RunNum);
340  virtual Double_t GetSumPro(TProfile *pro, Int_t bin);
341 
342  virtual Double_t GetSPZDChar(Int_t har, Double_t QRe,Double_t QIm,Double_t ZARe,Double_t ZAIm,Double_t ZCRe,Double_t ZCIm);
343 
344  // **** SETTERS and GETTERS ****
345 
346  // 0.) base:
347  void SetHistList(TList* const hlist) {this->fHistList = hlist;}
348  TList* GetHistList() const {return this->fHistList;}
349 
350  // 1.) common:
351  void SetBookOnlyBasicCCH(Bool_t const bobcch) {this->fBookOnlyBasicCCH = bobcch;};
353  void SetCommonHists(AliFlowCommonHist* const ch) {this->fCommonHists = ch;};
355  void SetCommonHists2nd(AliFlowCommonHist* const ch2nd) {this->fCommonHists2nd = ch2nd;};
357  void SetCommonHists4th(AliFlowCommonHist* const ch4th) {this->fCommonHists4th = ch4th;};
359  void SetCommonHists6th(AliFlowCommonHist* const ch6th) {this->fCommonHists6th = ch6th;};
361  void SetCommonHists8th(AliFlowCommonHist* const ch8th) {this->fCommonHists8th = ch8th;};
371  void SetCommonConstants(TProfile* const cc) {this->fCommonConstants = cc;};
372  TProfile* GetCommonConstants() const {return this->fCommonConstants;};
375  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
376  Int_t GetHarmonic() const {return this->fHarmonic;};
377  void SetAnalysisLabel(const char *aLabel) {this->fAnalysisLabel->Append(*aLabel);}; // to be improved (Append(*aLabel) changed into Append(aLabel))
378  TString *GetAnalysisLabel() const {return this->fAnalysisLabel;};
379  void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i) {this->fPrintFinalResults[i] = printOrNot;};
381 
382  // 2a.) particle weights:
383  void SetWeightsList(TList* const wlist) {this->fWeightsList = wlist;}
384  TList* GetWeightsList() const {return this->fWeightsList;}
385  void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;};
386  Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;};
387  void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;};
388  Bool_t GetUsePtWeights() const {return this->fUsePtWeights;};
389  void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;};
390  Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;};
391  void SetUseTrackWeights(Bool_t const uTrackW) {this->fUseTrackWeights = uTrackW;};
392  Bool_t GetUseTrackWeights() const {return this->fUseTrackWeights;};
393  void SetUsePhiEtaWeights(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeights = uPhiEtaW;};
395  void SetUsePhiEtaWeightsChDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsChDep = uPhiEtaW;};
397  void SetUsePhiEtaWeightsVtxDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsVtxDep = uPhiEtaW;};
399  void SetUsePhiEtaWeightsChPtDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsChPtDep = uPhiEtaW;};
401  void SetUsePhiEtaCuts(Bool_t const uPhiEtaW) {this->fUsePhiEtaCuts = uPhiEtaW;};
402  Bool_t GetUsePhiEtaCuts() const {return this->fUsePhiEtaCuts;};
403  void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW) {this->fUseZDCESEMulWeights = uPhiEtaW;};
405  void SetUseZDCESESpecWeights(Bool_t const uPhiEtaW) {this->fUseZDCESESpecWeights = uPhiEtaW;};
407  void SetCutMultiplicityOutliers(Bool_t const uPhiEtaW) {this->fCutMultiplicityOutliers = uPhiEtaW;};
409  void SetUseParticleWeights(TProfile* const uPW) {this->fUseParticleWeights = uPW;};
410  TProfile* GetUseParticleWeights() const {return this->fUseParticleWeights;};
411  void SetPhiWeights(TH1F* const histPhiWeights) {this->fPhiWeightsRPs = histPhiWeights;};
412  TH1F* GetPhiWeights() const {return this->fPhiWeightsRPs;};
413 
414  // 2b.) event weights:
415  void SetMultiplicityWeight(const char *multiplicityWeight) {*this->fMultiplicityWeight = multiplicityWeight;};
417 
418  // 3.) Reference flow:
419  // Flags:
420  void SetIntFlowFlags(TProfile* const intFlowFlags) {this->fIntFlowFlags = intFlowFlags;};
421  TProfile* GetIntFlowFlags() const {return this->fIntFlowFlags;};
422  void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
424  void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;};
426  void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
427  Int_t GetnBinsMult() const {return this->fnBinsMult;};
428  void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
429  Double_t GetMinMult() const {return this->fMinMult;};
430  void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
431  Double_t GetMaxMult() const {return this->fMaxMult;};
432  void SetPropagateErrorAlsoFromNIT(Bool_t const peafNIT) {this->fPropagateErrorAlsoFromNIT = peafNIT;};
434  void SetCalculateCumulantsVsM(Bool_t const ccvm) {this->fCalculateCumulantsVsM = ccvm;};
442  void SetStoreVarious(Bool_t const spdfoe) {this->fStoreVarious = spdfoe;};
443  Bool_t GetStoreVarious() const {return this->fStoreVarious;};
444  void SetExactNoRPs(Int_t const enr) {this->fExactNoRPs = enr;};
445  Int_t GetExactNoRPs() const {return this->fExactNoRPs;};
446  void SetUse2DHistograms(Bool_t const u2dh){this->fUse2DHistograms = u2dh;if(u2dh){this->fStoreControlHistograms = kTRUE;}};
447  Bool_t GetUse2DHistograms() const {return this->fUse2DHistograms;};
450  void SetUseQvectorTerms(Bool_t const uqvt){this->fUseQvectorTerms = uqvt;if(uqvt){this->fStoreControlHistograms = kTRUE;}};
451  Bool_t GetUseQvectorTerms() const {return this->fUseQvectorTerms;};
452 
453  // Reference flow profiles:
454  void SetAvMultiplicity(TProfile* const avMultiplicity) {this->fAvMultiplicity = avMultiplicity;};
455  TProfile* GetAvMultiplicity() const {return this->fAvMultiplicity;};
456  void SetIntFlowCorrelationsPro(TProfile* const intFlowCorrelationsPro) {this->fIntFlowCorrelationsPro = intFlowCorrelationsPro;};
457  TProfile* GetIntFlowCorrelationsPro() const {return this->fIntFlowCorrelationsPro;};
458  void SetIntFlowSquaredCorrelationsPro(TProfile* const ifscp) {this->fIntFlowSquaredCorrelationsPro = ifscp;};
460  void SetIntFlowCorrelationsVsMPro(TProfile* const ifcvp, Int_t const ci) {this->fIntFlowCorrelationsVsMPro[ci] = ifcvp;};
461  TProfile* GetIntFlowCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowCorrelationsVsMPro[ci];};
462  void SetIntFlowSquaredCorrelationsVsMPro(TProfile* const ifscvp, Int_t const ci) {this->fIntFlowSquaredCorrelationsVsMPro[ci] = ifscvp;};
463  TProfile* GetIntFlowSquaredCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowSquaredCorrelationsVsMPro[ci];};
464  void SetIntFlowCorrelationsAllPro(TProfile* const intFlowCorrelationsAllPro) {this->fIntFlowCorrelationsAllPro = intFlowCorrelationsAllPro;};
465  TProfile* GetIntFlowCorrelationsAllPro() const {return this->fIntFlowCorrelationsAllPro;};
466  void SetIntFlowExtraCorrelationsPro(TProfile* const intFlowExtraCorrelationsPro) {this->fIntFlowExtraCorrelationsPro = intFlowExtraCorrelationsPro;};
468  void SetIntFlowProductOfCorrelationsPro(TProfile* const intFlowProductOfCorrelationsPro) {this->fIntFlowProductOfCorrelationsPro = intFlowProductOfCorrelationsPro;};
470  void SetIntFlowProductOfCorrelationsVsMPro(TProfile* const ifpocvm, Int_t const pi) {this->fIntFlowProductOfCorrelationsVsMPro[pi] = ifpocvm;};
472  void SetIntFlowProductOfCorrectionTermsForNUAPro(TProfile* const ifpoctfNUA) {this->fIntFlowProductOfCorrectionTermsForNUAPro = ifpoctfNUA;};
474  void SetIntFlowCorrectionTermsForNUAPro(TProfile* const ifctfnp, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAPro[sc] = ifctfnp;};
476  void SetIntFlowCorrectionTermsForNUAVsMPro(TProfile* const ifctfnpvm, Int_t const sc, Int_t const ci) {this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci] = ifctfnpvm;};
478  // integrated flow histograms holding all results:
479  void SetIntFlowCorrelationsHist(TH1D* const intFlowCorrelationsHist) {this->fIntFlowCorrelationsHist = intFlowCorrelationsHist;};
481  void SetIntFlowCorrelationsVsMHist(TH1D* const ifcvmh, Int_t const ci) {this->fIntFlowCorrelationsVsMHist[ci] = ifcvmh;};
483  void SetIntFlowCorrelationsAllHist(TH1D* const intFlowCorrelationsAllHist) {this->fIntFlowCorrelationsAllHist = intFlowCorrelationsAllHist;};
485  void SetIntFlowCorrectionTermsForNUAHist(TH1D* const ifctfnh, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAHist[sc] = ifctfnh;};
487  void SetIntFlowCovariances(TH1D* const intFlowCovariances) {this->fIntFlowCovariances = intFlowCovariances;};
489  void SetIntFlowSumOfEventWeights(TH1D* const intFlowSumOfEventWeights, Int_t const power) {this->fIntFlowSumOfEventWeights[power] = intFlowSumOfEventWeights;};
490  TH1D* GetIntFlowSumOfEventWeights(Int_t power) const {return this->fIntFlowSumOfEventWeights[power];};
491  void SetIntFlowSumOfProductOfEventWeights(TH1D* const intFlowSumOfProductOfEventWeights) {this->fIntFlowSumOfProductOfEventWeights = intFlowSumOfProductOfEventWeights;};
493  void SetIntFlowCovariancesVsM(TH1D* const ifcvm, Int_t ci) {this->fIntFlowCovariancesVsM[ci] = ifcvm;};
495  void SetIntFlowSumOfEventWeightsVsM(TH1D* const ifsoewvm, Int_t si, Int_t lc) {this->fIntFlowSumOfEventWeightsVsM[si][lc] = ifsoewvm;};
499  void SetIntFlowCovariancesNUA(TH1D* const intFlowCovariancesNUA) {this->fIntFlowCovariancesNUA = intFlowCovariancesNUA;};
501  void SetIntFlowSumOfEventWeightsNUA(TH1D* const ifsoewNUA, Int_t const sc, Int_t const power) {this->fIntFlowSumOfEventWeightsNUA[sc][power] = ifsoewNUA;};
502  TH1D* GetIntFlowSumOfEventWeightsNUA(Int_t sc, Int_t power) const {return this->fIntFlowSumOfEventWeightsNUA[sc][power];};
505  void SetIntFlowQcumulants(TH1D* const intFlowQcumulants) {this->fIntFlowQcumulants = intFlowQcumulants;};
506  TH1D* GetIntFlowQcumulants() const {return this->fIntFlowQcumulants;};
507  void SetIntFlowQcumulantsVsM(TH1D* const intFlowQcumulantsVsM, Int_t co) {this->fIntFlowQcumulantsVsM[co] = intFlowQcumulantsVsM;};
508  TH1D* GetIntFlowQcumulantsVsM(Int_t co) const {return this->fIntFlowQcumulantsVsM[co];};
509  void SetIntFlowQcumulantsRebinnedInM(TH1D* const ifqcrim) {this->fIntFlowQcumulantsRebinnedInM = ifqcrim;};
513  void SetIntFlow(TH1D* const intFlow) {this->fIntFlow = intFlow;};
514  TH1D* GetIntFlow() const {return this->fIntFlow;};
515  void SetIntFlowVsM(TH1D* const intFlowVsM, Int_t co) {this->fIntFlowVsM[co] = intFlowVsM;};
516  TH1D* GetIntFlowVsM(Int_t co) const {return this->fIntFlowVsM[co];};
517  void SetIntFlowRebinnedInM(TH1D* const ifrim) {this->fIntFlowRebinnedInM = ifrim;};
519  void SetIntFlowDetectorBias(TH1D* const ifdb) {this->fIntFlowDetectorBias = ifdb;};
521  void SetIntFlowDetectorBiasVsM(TH1D* const ifdbvm, Int_t ci) {this->fIntFlowDetectorBiasVsM[ci] = ifdbvm;};
523 
524  // 4.) Differential flow:
525  // Flags:
526  void SetDiffFlowFlags(TProfile* const diffFlowFlags) {this->fDiffFlowFlags = diffFlowFlags;};
527  TProfile* GetDiffFlowFlags() const {return this->fDiffFlowFlags;};
528  void SetCalculateDiffFlow(Bool_t const cdf) {this->fCalculateDiffFlow = cdf;};
530  void SetCalculate2DDiffFlow(Bool_t const c2ddf) {this->fCalculate2DDiffFlow = c2ddf;};
532  void SetCalculateDiffFlowVsEta(Bool_t const cdfve) {this->fCalculateDiffFlowVsEta = cdfve;};
534  // Profiles:
535  // 1D:
536  void SetDiffFlowCorrelationsPro(TProfile* const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsPro[i][j][k] = diffFlowCorrelationsPro;};
537  TProfile* GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsPro[i][j][k];};
538  void SetDiffFlowSquaredCorrelationsPro(TProfile* const diffFlowSquaredCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowSquaredCorrelationsPro[i][j][k] = diffFlowSquaredCorrelationsPro;};
539  TProfile* GetDiffFlowSquaredCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowSquaredCorrelationsPro[i][j][k];};
540  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;};
541  TProfile* GetDiffFlowProductOfCorrelationsPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowProductOfCorrelationsPro[i][j][k][l];};
542  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;};
543  TProfile* GetDiffFlowCorrectionTermsForNUAPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l];};
544  // 2D:
545  void Set2DDiffFlowCorrelationsPro(TProfile2D* const p2ddfcp, Int_t const i, Int_t const k) {this->f2DDiffFlowCorrelationsPro[i][k] = p2ddfcp;};
546  TProfile2D* Get2DDiffFlowCorrelationsPro(Int_t i, Int_t k) const {return this->f2DDiffFlowCorrelationsPro[i][k];};
547  // Other differential correlators:
548  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;};
549  TProfile* GetOtherDiffCorrelators(Int_t i,Int_t j,Int_t k,Int_t l) const {return this->fOtherDiffCorrelators[i][j][k][l];};
550  // histograms:
551  void SetDiffFlowCorrelationsHist(TH1D* const diffFlowCorrelationsHist, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsHist[i][j][k] = diffFlowCorrelationsHist;};
552  TH1D* GetDiffFlowCorrelationsHist(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsHist[i][j][k];};
553  void SetDiffFlowCovariances(TH1D* const diffFlowCovariances, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCovariances[i][j][k] = diffFlowCovariances;};
554  TH1D* GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCovariances[i][j][k];};
555  void SetDiffFlowCumulants(TH1D* const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCumulants[i][j][k] = diffFlowCumulants;};
556  TH1D* GetDiffFlowCumulants(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCumulants[i][j][k];};
557  void SetDiffFlowDetectorBias(TH1D* const dfdb, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowDetectorBias[i][j][k] = dfdb;};
558  TH1D* GetDiffFlowDetectorBias(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDetectorBias[i][j][k];};
559  void SetDiffFlow(TH1D* const diffFlow, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlow[i][j][k] = diffFlow;};
560  TH1D* GetDiffFlow(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlow[i][j][k];};
561  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;};
562  TH1D* GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfEventWeights[i][j][k][l];};
563  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;};
565  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;};
567  // 2D:
568  void Set2DDiffFlowCumulants(TH2D* const h2ddfc, Int_t const i, Int_t const j) {this->f2DDiffFlowCumulants[i][j] = h2ddfc;};
569  TH2D* Get2DDiffFlowCumulants(Int_t i, Int_t j) const {return this->f2DDiffFlowCumulants[i][j];};
570  void Set2DDiffFlow(TH2D* const h2ddf, Int_t const i, Int_t const j) {this->f2DDiffFlow[i][j] = h2ddf;};
571  TH2D* Get2DDiffFlow(Int_t i, Int_t j) const {return this->f2DDiffFlow[i][j];};
572 
573  // 5.) distributions of correlations:
574  // profile:
575  void SetDistributionsFlags(TProfile* const distributionsFlags) {this->fDistributionsFlags = distributionsFlags;};
576  TProfile* GetDistributionsFlags() const {return this->fDistributionsFlags;};
577  // flags:
578  void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;};
580  // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]:
583  // histograms:
584  void SetDistributions(TH1D* const distributions, Int_t const i) {this->fDistributions[i] = distributions;};
585  TH1D* GetDistributions(Int_t i) const {return this->fDistributions[i];};
586  // min and max values of correlations (ci is correlations index [0=<2>,1=<4>,2=<6>,3=<8>]):
587  void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue) {this->fMinValueOfCorrelation[ci] = minValue;};
589  void SetMaxValueOfCorrelation(Int_t const ci, Double_t const maxValue) {this->fMaxValueOfCorrelation[ci] = maxValue;};
591  // min and max values of correlation products:
592  void SetMinValueOfCorrelationProduct(Int_t const cpi, Double_t const minValue) {this->fMinValueOfCorrelationProduct[cpi] = minValue;};
594  void SetMaxValueOfCorrelationProduct(Int_t const cpi, Double_t const maxValue) {this->fMaxValueOfCorrelationProduct[cpi] = maxValue;};
596  // min and max values of QvectorTerms:
597  void SetMinValueOfQvectorTerms(Int_t const qvti, Double_t const minValue) {this->fMinValueOfQvectorTerms[qvti] = minValue;};
599  void SetMaxValueOfQvectorTerms(Int_t const qvti, Double_t const maxValue) {this->fMaxValueOfQvectorTerms[qvti] = maxValue;};
601 
602  // x.) debugging and cross-checking:
603  void SetNestedLoopsList(TList* const nllist) {this->fNestedLoopsList = nllist;};
604  TList* GetNestedLoopsList() const {return this->fNestedLoopsList;};
609  void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity) {this->fMaxAllowedMultiplicity = maxAllowedMultiplicity;};
611  void SetEvaluateNestedLoops(TProfile* const enl) {this->fEvaluateNestedLoops = enl;};
612  TProfile* GetEvaluateNestedLoops() const {return this->fEvaluateNestedLoops;};
613  void SetIntFlowDirectCorrelations(TProfile* const ifdc) {this->fIntFlowDirectCorrelations = ifdc;};
614  TProfile* GetIntFlowDirectCorrelations() const {return this->fIntFlowDirectCorrelations;};
615  void SetIntFlowExtraDirectCorrelations(TProfile* const ifedc) {this->fIntFlowExtraDirectCorrelations = ifedc;};
617  void SetIntFlowDirectCorrectionTermsForNUA(TProfile* const ifdctfn, Int_t const sc) {this->fIntFlowDirectCorrectionTermsForNUA[sc] = ifdctfn;};
619  void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo) {this->fCrossCheckInPtBinNo = crossCheckInPtBinNo;};
621  void SetCrossCheckInEtaBinNo(Int_t const crossCheckInEtaBinNo) {this->fCrossCheckInEtaBinNo = crossCheckInEtaBinNo;};
623  void SetNoOfParticlesInBin(TH1D* const noOfParticlesInBin) {this->fNoOfParticlesInBin = noOfParticlesInBin;};
625  void SetDiffFlowDirectCorrelations(TProfile* const diffFlowDirectCorrelations,Int_t const i,Int_t const j,Int_t const k){this->fDiffFlowDirectCorrelations[i][j][k]=diffFlowDirectCorrelations;};
626  TProfile* GetDiffFlowDirectCorrelations(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDirectCorrelations[i][j][k];};
627  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;};
629  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;};
630  TProfile* GetOtherDirectDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fOtherDirectDiffCorrelators[i][j][k][l];};
631  void SetMixedHarmonicsNestedLoops(TProfile* const mhnl) {this->fMixedHarmonicsNestedLoops = mhnl;};
632  TProfile* GetMixedHarmonicsNestedLoops() const {return this->fMixedHarmonicsNestedLoops;};
633 
634  // 9.) Mixed harmonics:
635  void SetMixedHarmonicsList(TList* const mhlist) {this->fMixedHarmonicsList = mhlist;};
636  void SetMixedHarmonicsFlags(TProfile* const mhFlags) {this->fMixedHarmonicsFlags = mhFlags;};
637  TProfile* GetMixedHarmonicsFlags() const {return this->fMixedHarmonicsFlags;};
642  void Set2pCorrelations(TProfile* const p2pCorr) {this->f2pCorrelations = p2pCorr;};
643  TProfile* Get2pCorrelations() const {return this->f2pCorrelations;};
644  void Set3pCorrelations(TProfile* const p3pCorr) {this->f3pCorrelations = p3pCorr;};
645  TProfile* Get3pCorrelations() const {return this->f3pCorrelations;};
646  void Set4pCorrelations(TProfile* const p4pCorr) {this->f4pCorrelations = p4pCorr;};
647  TProfile* Get4pCorrelations() const {return this->f4pCorrelations;};
648  void Set5pCorrelations(TProfile* const p5pCorr) {this->f5pCorrelations = p5pCorr;};
649  TProfile* Get5pCorrelations() const {return this->f5pCorrelations;};
650  void Set6pCorrelations(TProfile* const p6pCorr) {this->f6pCorrelations = p6pCorr;};
651  TProfile* Get6pCorrelations() const {return this->f6pCorrelations;};
652  void Set7pCorrelations(TProfile* const p7pCorr) {this->f7pCorrelations = p7pCorr;};
653  TProfile* Get7pCorrelations() const {return this->f7pCorrelations;};
654  void Set8pCorrelations(TProfile* const p8pCorr) {this->f8pCorrelations = p8pCorr;};
655  TProfile* Get8pCorrelations() const {return this->f8pCorrelations;};
656  void Set2pCumulants(TH1D* const p2pC) {this->f2pCumulants = p2pC;};
657  TH1D* Get2pCumulants() const {return this->f2pCumulants;};
658  void Set3pCumulants(TH1D* const p3pC) {this->f3pCumulants = p3pC;};
659  TH1D* Get3pCumulants() const {return this->f3pCumulants;};
660  void Set4pCumulants(TH1D* const p4pC) {this->f4pCumulants = p4pC;};
661  TH1D* Get4pCumulants() const {return this->f4pCumulants;};
662  void Set5pCumulants(TH1D* const p5pC) {this->f5pCumulants = p5pC;};
663  TH1D* Get5pCumulants() const {return this->f5pCumulants;};
664  void Set6pCumulants(TH1D* const p6pC) {this->f6pCumulants = p6pC;};
665  TH1D* Get6pCumulants() const {return this->f6pCumulants;};
666  void Set7pCumulants(TH1D* const p7pC) {this->f7pCumulants = p7pC;};
667  TH1D* Get7pCumulants() const {return this->f7pCumulants;};
668  void Set8pCumulants(TH1D* const p8pC) {this->f8pCumulants = p8pC;};
669  TH1D* Get8pCumulants() const {return this->f8pCumulants;};
670  void SetMixedHarmonicEventWeights(TH1D* const mhew, Int_t const power) {this->fMixedHarmonicEventWeights[power] = mhew;};
674  void SetMixedHarmonicProductOfCorrelations(TProfile2D* const mhpoc) {this->fMixedHarmonicProductOfCorrelations = mhpoc;};
676 
677  // 10.) Control histograms:
678  void SetControlHistogramsList(TList* const chl) {this->fControlHistogramsList = chl;};
679  void SetControlHistogramsFlags(TProfile* const chf) {this->fControlHistogramsFlags = chf;};
680  TProfile* GetControlHistogramsFlags() const {return this->fControlHistogramsFlags;};
683  void SetCorrelationNoRPsVsRefMult(TH2D* const cnrvrm) {this->fCorrelationNoRPsVsRefMult = cnrvrm;};
685  void SetCorrelationNoPOIsVsRefMult(TH2D* const cnpvrm) {this->fCorrelationNoPOIsVsRefMult = cnpvrm;};
687  void SetCorrelationNoRPsVsNoPOIs(TH2D* const cnrvnp) {this->fCorrelationNoRPsVsNoPOIs = cnrvnp;};
689  void SetCorrelation2468VsMult(TH2D* const c2468vm, Int_t const ci) {this->fCorrelation2468VsMult[ci] = c2468vm;};
691  void SetCorrelationProduct2468VsMult(TH2D* const cp2468vm, Int_t const ci) {this->fCorrelationProduct2468VsMult[ci] = cp2468vm;};
693  void SetQvectorTermsVsMult(TH2D* const qvtvm, Int_t const qvti) {this->fQvectorTermsVsMult[qvti] = qvtvm;};
694  TH2D* GetQvectorTermsVsMult(Int_t qvti) const {return this->fQvectorTermsVsMult[qvti];};
695 
696  // 11.) Bootstrap:
697  void SetBootstrapList(TList* const bl) {this->fBootstrapList = bl;};
698  void SetBootstrapProfilesList(TList* const bpl) {this->fBootstrapProfilesList = bpl;};
699  void SetBootstrapResultsList(TList* const brl) {this->fBootstrapResultsList = brl;};
700  void SetBootstrapFlags(TProfile* const bf) {this->fBootstrapFlags = bf;};
701  TProfile* GetBootstrapFlags() const {return this->fBootstrapFlags;};
702  void SetUseBootstrap(Bool_t const ub) {this->fUseBootstrap = ub;};
703  Bool_t GetUseBootstrap() const {return this->fUseBootstrap;};
704  void SetUseBootstrapVsM(Bool_t const ubVsM) {this->fUseBootstrapVsM = ubVsM;};
705  Bool_t GetUseBootstrapVsM() const {return this->fUseBootstrapVsM;};
706  void SetnSubsamples(Int_t const ns) {this->fnSubsamples = ns;};
707  Int_t GetnSubsamples() const {return this->fnSubsamples;};
708  void SetBootstrapCorrelations(TProfile2D* const bcp) {this->fBootstrapCorrelations = bcp;};
709  TProfile2D* GetBootstrapCorrelations() const {return this->fBootstrapCorrelations;};
710  void SetBootstrapCorrelationsVsM(TProfile2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCorrelationsVsM[qvti] = bcpVsM;};
711  TProfile2D* GetBootstrapCorrelationsVsM(Int_t qvti) const {return this->fBootstrapCorrelationsVsM[qvti];};
712  void SetBootstrapCumulants(TH2D* const bc) {this->fBootstrapCumulants = bc;};
714  void SetBootstrapCumulantsVsM(TH2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCumulantsVsM[qvti] = bcpVsM;};
715  TH2D* GetBootstrapCumulantsVsM(Int_t qvti) const {return this->fBootstrapCumulantsVsM[qvti];};
716 
717  // 12.) CRC
718  void SetCRCList(TList* const CRCL) {this->fCRCList = CRCL;};
719  void SetCRCIntList(TList* const CRCL) {this->fCRCIntList = CRCL;};
720  void SetCRCIntRbRList(TList* const CRCL) {this->fCRCIntRbRList = CRCL;};
721  void SetCRCIntRunsList(TList* const CRCL, Int_t r) {this->fCRCIntRunsList[r] = CRCL;};
722  void SetCRCVZList(TList* const CRCL) {this->fCRCVZList = CRCL;};
723  void SetCRCZDCList(TList* const CRCL) {this->fCRCZDCList = CRCL;};
724  void SetCRCZDCRbRList(TList* const CRCL) {this->fCRCZDCRbRList = CRCL;};
725  void SetCRCZDCRunsList(TList* const CRCL, Int_t r) {this->fCRCZDCRunsList[r] = CRCL;};
726  void SetCRCPtList(TList* const CRCL) {this->fCRCPtList = CRCL;};
727  void SetCRC2List(TList* const CRCL) {this->fCRC2List = CRCL;};
728  void SetCRCQVecList(TList* const CRCL) {this->fCRCQVecList = CRCL;};
729  void SetCRCQVecListRun(TList* const CRCL, Int_t r) {this->fCRCQVecListRun[r] = CRCL;};
730  void SetCRCFlags(TProfile* const CRCF) {this->fCRCFlags = CRCF;};
731  TProfile* GetCRCFlags() const {return this->fCRCFlags;};
732  void SetCalculateCRC(Bool_t const cCRC) {this->fCalculateCRC = cCRC;};
733  Bool_t GetCalculateCRC() const {return this->fCalculateCRC;};
734  void SetCalculateCRCPt(Bool_t const cCRC) {this->fCalculateCRCPt = cCRC;};
735  Bool_t GetCalculateCRCPt() const {return this->fCalculateCRCPt;};
736  void SetCalculateCME(Bool_t const cCRC) {this->fCalculateCME = cCRC;};
737  Bool_t GetCalculateCME() const {return this->fCalculateCME;};
738  void SetCalculateFlowQC(Bool_t const cCRC) {this->fCalculateFlowQC = cCRC;};
739  Bool_t GetCalculateFlowQC() const {return this->fCalculateFlowQC;};
740  void SetCalculateFlowZDC(Bool_t const cCRC) {this->fCalculateFlowZDC = cCRC;};
742  void SetCalculateFlowVZ(Bool_t const cCRC) {this->fCalculateFlowVZ = cCRC;};
743  Bool_t GetCalculateFlowVZ() const {return this->fCalculateFlowVZ;};
744  void SetCalculateCRCInt(Bool_t const cCRC) {this->fCalculateCRCInt = cCRC;};
745  Bool_t GetCalculateCRCInt() const {return this->fCalculateCRCInt;};
746  void SetCalculateCRC2(Bool_t const cCRC) {this->fCalculateCRC2 = cCRC;};
747  Bool_t GetCalculateCRC2() const {return this->fCalculateCRC2;};
748  void SetCalculateCRCVZ(Bool_t const cCRC) {this->fCalculateCRCVZ = cCRC;};
749  Bool_t GetCalculateCRCVZ() const {return this->fCalculateCRCVZ;};
750  void SetCalculateCRCZDC(Bool_t const cCRC) {this->fCalculateCRCZDC = cCRC;};
751  Bool_t GetCalculateCRCZDC() const {return this->fCalculateCRCZDC;};
752  void SetCalculateEbEFlow(Bool_t const cCRC) {this->fCalculateEbEFlow = cCRC;};
754  void SetStoreZDCQVecVtxPos(Bool_t const cCRC) {this->fStoreZDCQVecVtxPos = cCRC;};
756  void SetUseVZERO(Bool_t const cCRC) {this->fUseVZERO = cCRC;};
757  Bool_t GetUseVZERO() const {return this->fUseVZERO;};
758  void SetUseZDC(Bool_t const cCRC) {this->fUseZDC = cCRC;};
759  Bool_t GetUseZDC() const {return this->fUseZDC;};
760  void SetRemoveSplitMergedTracks(Bool_t const uPhiEtaW) {this->fRemoveSplitMergedTracks = uPhiEtaW;};
762  void SetRecenterZDC(Bool_t const cCRC) {this->fRecenterZDC = cCRC;};
763  Bool_t GetRecenterZDC() const {return this->fRecenterZDC;};
764  void SetDivSigma(Bool_t const cCRC) {this->fDivSigma = cCRC;};
765  Bool_t GetDivSigma() const {return this->fDivSigma;};
766  void SetInvertZDC(Bool_t const cCRC) {this->fInvertZDC = cCRC;};
767  Bool_t GetInvertZDC() const {return this->fInvertZDC;};
768  void SetQAZDCCuts(Bool_t const cCRC) {this->fQAZDCCuts = cCRC;};
769  Bool_t GetQAZDCCuts() const {return this->fQAZDCCuts;};
770  void SetUseTracklets(Bool_t const cCRC) {this->fUseTracklets = cCRC;};
771  void SetTestSin(Bool_t const cCRC) {this->fCRCTestSin = cCRC;};
772  Bool_t GetTestSin() const {return this->fCRCTestSin;};
773  void SetRecenterZDCVtxRbR(Bool_t const cCRC) {this->fVtxRbR = cCRC;};
774  Bool_t GetRecenterZDCVtxRbR() const {return this->fVtxRbR;};
775  void SetNUAforCRC(Bool_t const cCRC) {this->fNUAforCRC = cCRC;};
776  Bool_t GetNUAforCRC() const {return this->fNUAforCRC;};
777  void SetUseCRCRecenter(Bool_t const cCRC) {this->fUseCRCRecenter = cCRC;};
778  Bool_t GetUseCRCRecenter() const {return this->fUseCRCRecenter;};
780  void SetCRCQVecWeightsList(TList* const wlist) {this->fCRCQVecWeightsList = wlist;}
782  void SetCRCZDCCalibList(TList* const wlist) {this->fCRCZDCCalibList = wlist;}
783  TList* GetCRCZDCCalibList() const {return this->fCRCZDCCalibList;}
784  void SetCRCZDC2DCutList(TList* const wlist) {this->fCRCZDC2DCutList = wlist;}
785  void SetCRCVZEROCalibList(TList* const wlist) {this->fCRCVZEROCalibList = wlist;}
787  void SetCRCZDCResList(TList* const wlist) {this->fCRCZDCResList = wlist;}
788  TList* GetCRCZDCResList() const {return this->fCRCZDCResList;}
789  void SetZDCESEList(TList* const kList) {this->fZDCESEList = kList;};
790  TList* GetZDCESEList() const {return this->fZDCESEList;};
791  // 12.a) EbE Corr:
792  void SetCRCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProdTempHist[c][eg][h] = TH;};
793  TH1D* GetCRCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProdTempHist[c][eg][h];};
794  // 12.b) Final histo:
795  void SetCRCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrHist[c][eg][h] = TH;};
796  TH1D* GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrHist[c][eg][h];};
797  void SetCRCCumHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCumHist[c][eg][h] = TH;};
798  TH1D* GetCRCCumHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCumHist[c][eg][h];};
799  void SetCRCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCCFunHist[eg][h] = TH;};
800  TH1D* GetCRCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCCFunHist[eg][h];};
801  // 12.c) Covariances:
802  void SetCRCCorrProd2p2pPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProd2p2pPro[c][eg][h] = TP;};
803  TProfile* GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProd2p2pPro[c][eg][h];};
804  void SetCRCCovHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCovHist[c][eg][h] = TH;};
805  TH1D* GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCovHist[c][eg][h];};
806  // 12.d) NUA corrections:
807  void SetCRCNUATermsHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCNUATermsHist[c][eg][h] = TH;};
808  TH1D* GetCRCNUATermsHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCNUATermsHist[c][eg][h];};
809 
810  void SetCRCCorrPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrPro[r][c][eg][h] = TP;};
811  TProfile* GetCRCCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrPro[r][c][eg][h];};
812  void SetCRCSumWeigHist(TH1D* const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCSumWeigHist[r][c][eg][h] = TH;};
813  TH1D* GetCRCSumWeigHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCSumWeigHist[r][c][eg][h];};
814  void SetCRCNUATermsPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCNUATermsPro[r][c][eg][h] = TP;};
815  TProfile* GetCRCNUATermsPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCNUATermsPro[r][c][eg][h];};
816 
817  // 12.e) Q Vectors:
818  void SetCRCQnReHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnRe[r][h] = TH;};
819  TProfile* GetCRCQnReHist(Int_t const r, Int_t const h) const {return this->fCRCQnRe[r][h];};
820  void SetCRCQnImHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnIm[r][h] = TH;};
821  TProfile* GetCRCQnImHist(Int_t const r, Int_t const h) const {return this->fCRCQnIm[r][h];};
822  void SetCRCQnReCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnReCorr[r][h] = TH;};
823  TProfile* GetCRCQnReCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnReCorr[r][h];};
824  void SetCRCQnImCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnImCorr[r][h] = TH;};
825  TProfile* GetCRCQnImCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnImCorr[r][h];};
826 
827  void SetCRCVZQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecA[r][c] = TH;};
828  TProfile* GetCRCVZQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecA[r][c];};
829  void SetCRCVZQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecC[r][c] = TH;};
830  TProfile* GetCRCVZQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecC[r][c];};
831 
832  void SetCRCZDCQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecA[r][c] = TH;};
833  TProfile* GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecA[r][c];};
834  void SetCRCZDCQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecC[r][c] = TH;};
835  TProfile* GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecC[r][c];};
836  void SetCRCZDCQVecACorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecACorr[r][c] = TH;};
837  TProfile* GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecACorr[r][c];};
838  void SetCRCZDCQVecCCorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecCCorr[r][c] = TH;};
839  TProfile* GetCRCZDCQVecCCorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecCCorr[r][c];};
840 // void SetCRCZDCQVecEP(TH2D* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecEP[r][c] = TH;};
841 // TH2D* GetCRCZDCQVecEP(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecEP[r][c];};
842  void SetCRCZDCQVecRes(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecRes[r][c] = TH;};
843  TProfile* GetCRCZDCQVecRes(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecRes[r][c];};
844  void SetCRCZDCQVecCov(TProfile2D* const TH, Int_t const r, Int_t const i) {this->fCRCZDCQVecCov[r][i] = TH;};
845  TProfile2D* GetCRCZDCQVecCov(Int_t const r, Int_t const i) const {return this->fCRCZDCQVecCov[r][i];};
846 
847  // void SetCRCVZvsZDCCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCVZvsZDCCov[r][i] = TH;};
848  // TProfile* GetCRCVZvsZDCCov(Int_t const r, Int_t const i) const {return this->fCRCVZvsZDCCov[r][i];};
849 
851 
852  // CRC VZERO:
853  void SetCRCVZEROetaPro(TProfile* const TP, Int_t const c, Int_t const r) {this->fCRCVZEROetaPro[c][r] = TP;};
854  TProfile* GetCRCVZEROetaPro(Int_t const c, Int_t const r) const {return this->fCRCVZEROetaPro[c][r];};
855  void SetCRCVZEROetaHist(TH1D* const TP, Int_t const c, Int_t const r) {this->fCRCVZEROetaHist[c][r] = TP;};
856  TH1D* GetCRCVZEROetaHist(Int_t const c, Int_t const r) const {return this->fCRCVZEROetaHist[c][r];};
857 
858  // CRC ZDC:
859  // 12.a) EbE Corr:
860  void SetCRCZDCCorrPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrPro[r][c][eg][h] = TP;};
861  TProfile* GetCRCZDCCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrPro[r][c][eg][h];};
862  void SetCRCZDCCorrProd2p2pHist(TProfile* const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrProd2p2pHist[r][c][eg][h] = TH;};
863  TProfile* GetCRCZDCCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrProd2p2pHist[r][c][eg][h];};
864  void SetCRCZDCNUAPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCNUAPro[r][c][eg][h] = TP;};
865  TProfile* GetCRCZDCNUAPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCNUAPro[r][c][eg][h];};
866  // 12.b) Final histo:
867  void SetCRCZDCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrHist[c][eg][h] = TH;};
868  TH1D* GetCRCZDCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrHist[c][eg][h];};
869  void SetCRCZDCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCCFunHist[eg][h] = TH;};
870  TH1D* GetCRCZDCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCZDCCFunHist[eg][h];};
871  void SetCRCZDCSpectra(TProfile* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCSpectra[eg][h] = TH;};
872  TProfile* GetCRCZDCSpectra(Int_t const eg, Int_t const h) const {return this->fCRCZDCSpectra[eg][h];};
873 
874  // 12.c) Covariances:
875  void SetCRCZDCCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCovHist[c][eg][h] = TH;};
876  TH2D* GetCRCZDCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCovHist[c][eg][h];};
877  void SetCRCZDCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrProdTempHist[c][eg][h] = TH;};
878  TH1D* GetCRCZDCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrProdTempHist[c][eg][h];};
879 
880  // CRC2:
881  void SetCRC2nEtaBins(Int_t NB) {this->fCRC2nEtaBins = NB;};
883  void SetCRC2CorPro(TProfile* const TP, Int_t const h, Int_t const c) {this->fCRC2CorPro[h][c] = TP;};
884  TProfile* GetCRC2CorPro(Int_t const h, Int_t const c) const {return this->fCRC2CorPro[h][c];};
885  void SetCRC2NUAPro(TProfile* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAPro[h][c][e] = TP;};
886  TProfile* GetCRC2NUAPro(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAPro[h][c][e];};
887  void SetCRC2CorHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2CorHist[h][c][e] = TP;};
888  TH1D* GetCRC2CorHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2CorHist[h][c][e];};
889  void SetCRC2NUAHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAHist[h][c][e] = TP;};
890  TH1D* GetCRC2NUAHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAHist[h][c][e];};
891  void SetCRC2CovPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovPro[r][h][c] = TP;};
892  TProfile* GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovPro[r][h][c];};
893  void SetCRC2CovHist(TH1D* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovHist[r][h][c] = TP;};
894  TH1D* GetCRC2CovHist(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovHist[r][h][c];};
895 
896  void SetCenWeightsHist(TH1D* const n) {this->fCenWeightsHist = n;};
897  TH1D* GetCenWeightsHist() const {return this->fCenWeightsHist;};
898  void SetRefMultRbRPro(TProfile2D* const n) {this->fRefMultRbRPro = n;};
899  void SetAvEZDCRbRPro(TProfile2D* const A, TProfile2D* const B) {this->fAvEZDCCRbRPro = A; this->fAvEZDCARbRPro = B;};
900  void SetPhiExclZoneHist(TH2D* const n) {this->fPhiExclZoneHist = n;};
901  TH2D* GetPhiExclZoneHist() const {return this->fPhiExclZoneHist;};
902  void SetPtWeightsHist(TH1D* const n, Int_t c) {this->fPtWeightsHist[c] = n;};
903  TH1D* GetPtWeightsHist(Int_t c) const {return this->fPtWeightsHist[c];};
904  void SetEtaWeightsHist(TH1D* const n, Int_t h, Int_t b, Int_t c) {this->fEtaWeightsHist[h][b][c] = n;};
905  TH1D* GetEtaWeightsHist(Int_t h, Int_t b, Int_t c) const {return this->fEtaWeightsHist[h][b][c];};
906  void SetNvsCenCut(TH1D* const n, Int_t c, Int_t h) {this->fNvsCenCut[c][h] = n;};
907  TH1D* GetNvsCenCut(Int_t c, Int_t h) const {return this->fNvsCenCut[c][h];};
908  void SetZNCvsZNA(TH2F* const n, Int_t const h) {this->fhZNCvsZNA[h] = n;};
909  TH2F* GetZNCvsZNA(Int_t const h) const {return this->fhZNCvsZNA[h];};
910  void SetZNvsCen(TH2F* const n, Int_t const h) {this->fhZNvsCen[h] = n;};
911  TH2F* GetZNvsCen(Int_t const h) const {return this->fhZNvsCen[h];};
912  void SetZDCESEMultWeightsHist(TH2F* const n, Int_t h) {this->fZDCESEMultWeightsHist[h] = n;};
914  void SetZDCESESpecWeightsHist(TH2F* const n, Int_t h) {this->fZDCESESpecWeightsHist[h] = n;};
916  void SetZNvsTCen(TH2F* const n, Int_t const h) {this->fhZNvsTCen[h] = n;};
917  TH2F* GetZNvsTCen(Int_t const h) const {return this->fhZNvsTCen[h];};
918  void SetCenvsMul(TH2F* const n, Int_t const h) {this->fhCenvsMul[h] = n;};
919  TH2F* GetCenvsMul(Int_t const h) const {return this->fhCenvsMul[h];};
920  void SetCenvsSpec(TH2F* const n, Int_t const h) {this->fhCenvsSpec[h] = n;};
921  TH2F* GetCenvsSpec(Int_t const h) const {return this->fhCenvsSpec[h];};
922  void SetZNvsMul(TH2F* const n) {this->fhZNvsMul = n;};
923  TH2F* GetZNvsMul() const {return this->fhZNvsMul;};
924 
925  void SetZNCenvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCenvsMul[eg][h] = n;};
926  TH2F* GetZNCenvsMul(Int_t const eg, Int_t const h) const {return this->fhZNCenvsMul[eg][h];};
927  void SetZNResvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsMul[eg][h] = n;};
928  TH2F* GetZNResvsMul(Int_t const eg, Int_t const h) const {return this->fhZNResvsMul[eg][h];};
929  void SetZNResvsCen(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsCen[eg][h] = n;};
930  TH2F* GetZNResvsCen(Int_t const eg, Int_t const h) const {return this->fhZNResvsCen[eg][h];};
931 
933 
934  // Flow QC
935  void SetFlowQCList(TList* const TL) {this->fFlowQCList = TL;};
936  void SetFlowQCCorrZDCList(TList* const TL) {this->fFlowQCCorrZDCList = TL;};
937  void SetFlowQCVtxList(TList* const TL, Int_t r) {this->fFlowQCVtxList[r] = TL;};
938  void SetFlowQCCenBin(Int_t const TL) {this->fFlowQCCenBin = TL;};
939  Int_t GetFlowQCCenBin() const {return this->fFlowQCCenBin;};
940  void SetFlowQCDeltaEta(Double_t const TL) {this->fFlowQCDeltaEta = TL;};
941  Double_t GetFlowQCDeltaEta() const {return this->fFlowQCDeltaEta;};
942  void SetFlowQCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorPro[c][eg][h] = TP;};
943  TProfile* GetFlowQCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorPro[c][eg][h];};
944  void SetFlowQCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorHist[c][eg][h] = TH;};
945  TH1D* GetFlowQCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorHist[c][eg][h];};
946  void SetFlowQCCorNUAHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAHist[c][eg][h] = TH;};
947  TH1D* GetFlowQCCorNUAHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAHist[c][eg][h];};
948  void SetFlowQCCorNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAPro[c][eg][h] = TP;};
949  TProfile* GetFlowQCCorNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAPro[c][eg][h];};
950  void SetFlowQCCorCovPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorCovPro[c][eg][h] = TP;};
951  TProfile* GetFlowQCCorCovPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorCovPro[c][eg][h];};
952  void SetFlowQCCorCovHist(TH1D* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorCovHist[c][eg][h] = TP;};
953  TH1D* GetFlowQCCorCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorCovHist[c][eg][h];};
954  void SetFlowQCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCFinalPtDifHist[c][eg][h] = TH;};
955  TH1D* GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCFinalPtDifHist[c][eg][h];};
956  void SetFlowQCCorProPhi(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorProPhi[c][eg][h] = TP;};
957  TProfile* GetFlowQCCorProPhi(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorProPhi[c][eg][h];};
958 
959  TProfile* GetFlowQCIntCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorPro[eg][h];};
960  void SetFlowQCIntCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorPro[eg][k] = TP;};
961  TProfile* GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAPro[eg][h];};
962  void SetFlowQCIntCorNUAPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAPro[eg][k] = TP;};
963  TH1D* GetFlowQCIntCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorHist[eg][h];};
964  void SetFlowQCIntCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorHist[eg][k] = TP;};
965  TH1D* GetFlowQCIntCumHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCumHist[eg][h];};
966  void SetFlowQCIntCumHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCumHist[eg][k] = TP;};
967  TH1D* GetFlowQCIntCorNUAHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAHist[eg][h];};
968  void SetFlowQCIntCorNUAHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAHist[eg][k] = TP;};
969  TProfile* GetFlowQCIntCorProEG(Int_t const eg) const {return this->fFlowQCIntCorProEG[eg];};
970  void SetFlowQCIntCorProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCIntCorProEG[eg] = TP;};
971  TProfile* GetFlowQCIntCorNUAProEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAProEG[eg][h];};
972  void SetFlowQCIntCorNUAProEG(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAProEG[eg][k] = TP;};
973  TH1D* GetFlowQCIntCorNUAHistEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAHistEG[eg][h];};
974  void SetFlowQCIntCorNUAHistEG(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAHistEG[eg][k] = TP;};
975  TH1D* GetFlowQCIntCorHistEG(Int_t const eg) const {return this->fFlowQCIntCorHistEG[eg];};
976  void SetFlowQCIntCorHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCIntCorHistEG[eg] = TP;};
977 
978  void SetFlowQCIntPtRanCorPro(TProfile* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorPro[pt][eg][k] = TP;};
979  void SetFlowQCIntPtRanCorNUAPro(TProfile* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorNUAPro[pt][eg][k] = TP;};
980  void SetFlowQCIntPtRanCorHist(TH1D* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorHist[pt][eg][k] = TP;};
981  void SetFlowQCIntPtRanCumHist(TH1D* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCumHist[pt][eg][k] = TP;};
982  void SetFlowQCIntPtRanCorNUAHist(TH1D* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorNUAHist[pt][eg][k] = TP;};
983  void SetFlowQCIntPtRanCorProEG(TProfile* const TP, Int_t const pt, Int_t const eg) {this->fFlowQCIntPtRanCorProEG[pt][eg] = TP;};
984  void SetFlowQCIntPtRanCorNUAProEG(TProfile* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorNUAProEG[pt][eg][k] = TP;};
985  void SetFlowQCIntPtRanCorNUAHistEG(TH1D* const TP, Int_t const pt, Int_t const eg, Int_t const k) {this->fFlowQCIntPtRanCorNUAHistEG[pt][eg][k] = TP;};
986  void SetFlowQCIntPtRanCorHistEG(TH1D* const TP, Int_t const pt, Int_t const eg) {this->fFlowQCIntPtRanCorHistEG[pt][eg] = TP;};
987 
988  void SetFlowQCSpectra(TH2D* const TH) {this->fFlowQCSpectra = TH;};
989  TH2D* GetFlowQCSpectra() const {return this->fFlowQCSpectra;};
990  void SetFlowQCIntCorProTest(TProfile2D* const TP, Int_t const eg, Int_t const j, Int_t const k) {this->fFlowQCIntCorProTest[eg][j][k] = TP;};
991  TProfile2D* GetFlowQCIntCorProTest(Int_t const eg, Int_t const j, Int_t const h) const {return this->fFlowQCIntCorProTest[eg][j][h];};
992  void SetFlowQCIntCorHistTest(TH2D* const TP, Int_t const eg, Int_t const j, Int_t const k) {this->fFlowQCIntCorHistTest[eg][j][k] = TP;};
993  TH2D* GetFlowQCIntCorHistTest(Int_t const eg, Int_t const j, Int_t const h) const {return this->fFlowQCIntCorHistTest[eg][j][h];};
994  void SetFlowQCIntCumHistTest(TH2D* const TP, Int_t const eg, Int_t const j, Int_t const k) {this->fFlowQCIntCumHistTest[eg][j][k] = TP;};
995  TH2D* GetFlowQCIntCumHistTest(Int_t const eg, Int_t const j, Int_t const h) const {return this->fFlowQCIntCumHistTest[eg][j][h];};
996  void SetFlowQCIntFinHistTest(TH2D* const TP, Int_t const eg, Int_t const j, Int_t const k) {this->fFlowQCIntFinHistTest[eg][j][k] = TP;};
997  TH2D* GetFlowQCIntFinHistTest(Int_t const eg, Int_t const j, Int_t const h) const {return this->fFlowQCIntFinHistTest[eg][j][h];};
998  void SetFlowQCIntCorNUAProTest(TProfile2D* const TP, Int_t const eg, Int_t const j) {this->fFlowQCIntCorNUAProTest[eg][j] = TP;};
999  TProfile2D* GetFlowQCIntCorNUAProTest(Int_t const eg, Int_t const j) const {return this->fFlowQCIntCorNUAProTest[eg][j];};
1000 
1001  TProfile* GetFlowQCRefCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorPro[eg][h];};
1002  void SetFlowQCRefCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorPro[eg][k] = TP;};
1003  TH1D* GetFlowQCRefCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorHist[eg][h];};
1004  void SetFlowQCRefCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorHist[eg][k] = TP;};
1005  TH1D* GetFlowQCRefCorFinal(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorFinal[eg][h];};
1006  void SetFlowQCRefCorFinal(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorFinal[eg][k] = TP;};
1007 
1008  void SetFlowSCProdPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSCProdPro[c][eg] = TP;};
1009  TProfile* GetFlowSCProdPro(Int_t const c, Int_t const eg) const {return this->fFlowSCProdPro[c][eg];};
1010  void SetFlowSCProdHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCProdHist[c][eg] = TP;};
1011  TH1D* GetFlowSCProdHist(Int_t const c, Int_t const eg) const {return this->fFlowSCProdHist[c][eg];};
1012  void SetFlowSCFinalHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCFinalHist[c][eg] = TP;};
1013  TH1D* GetFlowSCFinalHist(Int_t const c, Int_t const eg) const {return this->fFlowSCFinalHist[c][eg];};
1014  void SetFlowSCCovHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCCovHist[c][eg] = TP;};
1015  TH1D* GetFlowSCCovHist(Int_t const c, Int_t const eg) const {return this->fFlowSCCovHist[c][eg];};
1016  void SetFlowSCCrossProdPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowSCCrossProdPro[c][eg][k] = TP;};
1017  TProfile* GetFlowSCCrossProdPro(Int_t const c, Int_t const eg, Int_t const k) const {return this->fFlowSCCrossProdPro[c][eg][k];};
1018  void SetFlowSCCrossProdProMult(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowSCCrossProdProMult[c][eg][k] = TP;};
1019  TProfile* GetFlowSCCrossProdProMult(Int_t const c, Int_t const eg, Int_t const k) const {return this->fFlowSCCrossProdProMult[c][eg][k];};
1020 
1021  // Flow Generic Framework
1022  void SetFlowGFList(TList* const TL) {this->fFlowGFList = TL;};
1023  void SetFlowGFIntCorPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowGFIntCorPro[c][eg] = TP;};
1024  TProfile* GetFlowGFIntCorPro(Int_t const c, Int_t const eg) const {return this->fFlowGFIntCorPro[c][eg];};
1025  void SetFlowGFIntCorHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFIntCorHist[c][eg] = TP;};
1026  TH1D* GetFlowGFIntCorHist(Int_t const c, Int_t const eg) const {return this->fFlowGFIntCorHist[c][eg];};
1027  void SetFlowGFIntCumHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFIntCumHist[c][eg] = TP;};
1028  TH1D* GetFlowGFIntCumHist(Int_t const c, Int_t const eg) const {return this->fFlowGFIntCumHist[c][eg];};
1029  void SetFlowGFIntFinalHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFIntFinalHist[c][eg] = TP;};
1030  TH1D* GetFlowGFIntFinalHist(Int_t const c, Int_t const eg) const {return this->fFlowGFIntFinalHist[c][eg];};
1031  void SetFlowGFIntExtraHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFIntExtraHist[c][eg] = TP;};
1032  TH1D* GetFlowGFIntExtraHist(Int_t const c, Int_t const eg) const {return this->fFlowGFIntExtraHist[c][eg];};
1033 
1034  void SetFlowGFIntCovPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovPro[c][eg][k] = TP;};
1035  TProfile* GetFlowGFIntCovPro(Int_t const c, Int_t const eg, Int_t const k) const {return this->fFlowGFIntCovPro[c][eg][k];};
1036  void SetFlowGFIntCovHist(TH1D* const TP, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovHist[c][eg][k] = TP;};
1037  TH1D* GetFlowGFIntCovHist(Int_t const c, Int_t const eg, Int_t const k) const {return this->fFlowGFIntCovHist[c][eg][k];};
1038 
1039  void SetFlowGFMixedCorPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowGFMixedCorPro[c][eg] = TP;};
1040  TProfile* GetFlowGFMixedCorPro(Int_t const c, Int_t const eg) const {return this->fFlowGFMixedCorPro[c][eg];};
1041  void SetFlowGFMixedCorHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFMixedCorHist[c][eg] = TP;};
1042  TH1D* GetFlowGFMixedCorHist(Int_t const c, Int_t const eg) const {return this->fFlowGFMixedCorHist[c][eg];};
1043  void SetFlowGFMixedFinalHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowGFMixedFinalHist[c][eg] = TP;};
1044  TH1D* SetFlowGFMixedFinalHist(Int_t const c, Int_t const eg) const {return this->fFlowGFMixedFinalHist[c][eg];};
1045 
1046  // sub-sampling
1047  void SetFlowGFIntCorProSS(TProfile* const TP, Int_t const s, Int_t const c, Int_t const eg) {this->fFlowGFIntCorProSS[s][c][eg] = TP;};
1048  void SetFlowGFIntCorHistSS(TH1D* const TP, Int_t const s, Int_t const c, Int_t const eg) {this->fFlowGFIntCorHistSS[s][c][eg] = TP;};
1049  void SetFlowGFIntCovProSS(TProfile* const TP, Int_t const s, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovProSS[s][c][eg][k] = TP;};
1050  void SetFlowGFIntCovHistSS(TH1D* const TP, Int_t const s, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovHistSS[s][c][eg][k] = TP;};
1051 
1052  // in wide pt bins
1053  void SetFlowGFIntCorProPtB(TProfile* const TP, Int_t const s, Int_t const c, Int_t const eg) {this->fFlowGFIntCorProPtB[s][c][eg] = TP;};
1054  void SetFlowGFIntCorHistPtB(TH1D* const TP, Int_t const s, Int_t const c, Int_t const eg) {this->fFlowGFIntCorHistPtB[s][c][eg] = TP;};
1055  void SetFlowGFIntCovProPtB(TProfile* const TP, Int_t const s, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovProPtB[s][c][eg][k] = TP;};
1056  void SetFlowGFIntCovHistPtB(TH1D* const TP, Int_t const s, Int_t const c, Int_t const eg, Int_t const k) {this->fFlowGFIntCovHistPtB[s][c][eg][k] = TP;};
1057 
1058  // Flow SP ZDC
1059  void SetFlowSPZDCList(TList* const TL) {this->fFlowSPZDCList = TL;};
1060 
1061  void SetFlowSPZDCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorPro[c][eg][h] = TP;};
1062  TProfile* GetFlowSPZDCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorPro[c][eg][h];};
1063  void SetFlowSPZDCCorNUA(TProfile* const TP, Int_t const c, Int_t const h) {this->fFlowSPZDCCorNUA[c][h] = TP;};
1064  TProfile* GetFlowSPZDCCorNUA(Int_t const c, Int_t const h) const {return this->fFlowSPZDCCorNUA[c][h];};
1065  void SetFlowSPZDCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorHist[c][eg][h] = TH;};
1066  TH1D* GetFlowSPZDCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorHist[c][eg][h];};
1067 
1068  void SetFlowSPZDCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCFinalPtDifHist[c][eg][h] = TH;};
1069  TH1D* GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCFinalPtDifHist[c][eg][h];};
1070  void SetFlowSPZDCIntHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntHist[c][eg] = TH;};
1071  TH1D* GetFlowSPZDCIntHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntHist[c][eg];};
1072  void SetFlowSPZDCIntFinalHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntFinalHist[c][eg] = TH;};
1073  TH1D* GetFlowSPZDCIntFinalHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntFinalHist[c][eg];};
1074 
1075  void SetFlowSPZDCIntPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntPro[c][eg] = TP;};
1076  TProfile* GetFlowSPZDCIntPro(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntPro[c][eg];};
1077  void SetFlowSPZDCIntNUA(TProfile* const TP, Int_t const eg) {this->fFlowSPZDCIntNUA[eg] = TP;};
1078  TProfile* GetFlowSPZDCIntNUA(Int_t const eg) const {return this->fFlowSPZDCIntNUA[eg];};
1079 
1080  // v1
1081  void SetFlowSPZDCv1etaPro(TProfile* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaPro[c][k][r] = TP;};
1082  TProfile* GetFlowSPZDCv1etaPro(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaPro[c][k][r];};
1083  void SetFlowSPZDCv1etaHist(TH1D* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaHist[c][k][r] = TP;};
1084  TH1D* GetFlowSPZDCv1etaHist(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaHist[c][k][r];};
1085  void SetFlowSPZDCv1etaNUAPro(TProfile* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaNUAPro[c][k][r] = TP;};
1086  TProfile* GetFlowSPZDCv1etaNUAPro(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaNUAPro[c][k][r];};
1087 
1088  void SetFlowSPZDCv1etaPtPro(TProfile2D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaPtPro[c][k] = TP;};
1089  TProfile2D* GetFlowSPZDCv1etaPtPro(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaPtPro[c][k];};
1090  void SetFlowSPZDCv1etaPtHist(TH2D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaPtHist[c][k] = TP;};
1091  TH2D* GetFlowSPZDCv1etaPtHist(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaPtHist[c][k];};
1092 
1093  void SetFlowSPZDCv1etaCovPro(TProfile* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaCovPro[c][k] = TP;};
1094  TProfile* GetFlowSPZDCv1etaCovPro(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaCovPro[c][k];};
1095  void SetFlowSPZDCv1etaCovHist(TH1D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaCovHist[c][k] = TP;};
1096  TH1D* GetFlowSPZDCv1etaCovHist(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaCovHist[c][k];};
1097 
1098  // Flow SP VZ
1099  void SetFlowSPVZList(TList* const TL) {this->fFlowSPVZList = TL;};
1100  void SetFlowSPVZCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorPro[c][eg][h] = TP;};
1101  TProfile* GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorPro[c][eg][h];};
1102  void SetFlowSPVZNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZNUAPro[c][eg][h] = TP;};
1103  TProfile* GetFlowSPVZNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZNUAPro[c][eg][h];};
1104  void SetFlowSPVZCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorHist[c][eg][h] = TH;};
1105  TH1D* GetFlowSPVZCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorHist[c][eg][h];};
1106 
1107  Int_t GetnRun() const {return this->fCRCnRun;};
1108  Int_t GetCRCPtnCen() const {return this->fCRCPtnCenBin;};
1109  Double_t GetCRCPtwCen() const {return this->fCRCPtwCenBin;};
1110  Int_t GetnEG() const {return this->fCRCnEtaGap;};
1111  Int_t GetCRCPtnPt() const {return this->fCRCPtnPtBin;};
1112  Double_t GetCRCPtwPt() const {return this->fCRCPtwPtBin;};
1113  Double_t GetCRCPtMinPt() const {return this->fCRCPtMinPt;};
1114  Int_t GetnCR() const {return this->fCRCnCR;};
1115  Double_t* GetCRCPtvarPtBins() const {return this->fCRCPtvarPtBins;};
1116  Int_t GetCRCZDCnCR() const {return this->fCRCZDCnCR;};
1117  Int_t GetCRCZDCnEtaBin() const {return this->fCRCZDCnEtaBin;};
1118 
1119  // CME:
1120  void SetCMEList(TList* const TL) {this->fCMEList = TL;};
1121  void SetCMETPCList(TList* const TL) {this->fCMETPCList = TL;};
1122  void SetCMEZDCList(TList* const TL) {this->fCMEZDCList = TL;};
1123  // CME TPC only:
1124  void SetCMETPCCorPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCCorPro[c][h] = TP;};
1125  TProfile* GetCMETPCCorPro(Int_t const c, Int_t const h) const {return this->fCMETPCCorPro[c][h];};
1126  void SetCMETPCCorHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCCorHist[c][h] = TH;};
1127  TH1D* GetCMETPCCorHist(Int_t const c, Int_t const h) const {return this->fCMETPCCorHist[c][h];};
1128  void SetCMETPCFinalHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCFinalHist[c][h] = TH;};
1129  TH1D* GetCMETPCFinalHist(Int_t const c, Int_t const h) const {return this->fCMETPCFinalHist[c][h];};
1130  void SetCMETPCCorPro2D(TProfile2D* const TP, Int_t const c) {this->fCMETPCCorPro2D[c] = TP;};
1131  TProfile2D* GetCMETPCCorPro2D(Int_t const c) const {return this->fCMETPCCorPro2D[c];};
1132 
1133  void SetCMETPCSCPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCSCPro[c][h] = TP;};
1134  TProfile* GetCMETPCSCPro(Int_t const c, Int_t const h) const {return this->fCMETPCSCPro[c][h];};
1135  void SetCMETPCSCHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCSCHist[c][h] = TH;};
1136  TH1D* GetCMETPCSCHist(Int_t const c, Int_t const h) const {return this->fCMETPCSCHist[c][h];};
1137 
1138  // CME TPC-ZDCs:
1139  void SetCMEZDCCorPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCorPro[eg][h] = TP;};
1140  TProfile* GetCMEZDCCorPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorPro[eg][h];};
1141  void SetCMEZDCCovPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCovPro[eg][h] = TP;};
1142  TProfile* GetCMEZDCCovPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovPro[eg][h];};
1143  void SetCMEZDCNUAPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCNUAPro[eg][h] = TP;};
1144  TProfile* GetCMEZDCNUAPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCNUAPro[eg][h];};
1145  void SetCMEZDCCorHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCorHist[eg][h] = TH;};
1146  TH1D* GetCMEZDCCorHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorHist[eg][h];};
1147  void SetCMEZDCCovHist(TH2D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCovHist[eg][h] = TH;};
1148  TH2D* GetCMEZDCCovHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovHist[eg][h];};
1149  void SetCMEZDCDistHist(TH1D* const TH, Int_t const eg, Int_t const h, Int_t const k) {this->fCMEZDCDistHist[eg][h][k] = TH;};
1150  TH1D* GetCMEZDCDistHist(Int_t const eg, Int_t const h, Int_t const k) const {return this->fCMEZDCDistHist[eg][h][k];};
1151 
1152  // EbE Flow
1153  void SetEbEFlowList(TList* const TL) {this->fEbEFlowList = TL;};
1154 
1155 
1156  // 15.) Various
1157  void SetVariousList(TList* const Various) {this->fVariousList = Various;};
1158  void SetMultHist(TH1D* const TH) {this->fMultHist = TH;};
1159  TH1D* GetMultHist() const {return this->fMultHist;}
1160  void SetCenHist(TH1D* const TH) {this->fCenHist = TH;};
1161  TH1D* GetCenHist() const {return this->fCenHist;}
1162  void SetVtxHist(TH3D* const TH, Int_t const c) {this->fVtxHist[c] = TH;};
1163  TH3D* GetVtxHist(Int_t const c) const {return this->fVtxHist[c];}
1164  void SetRunNumber(Int_t const n) {this->fRunNum = n;};
1165  Int_t GetRunNumber() const {return this->fRunNum;}
1166  void SetDataSet(DataSet set) {this->fDataSet = set;};
1167  DataSet GetDataSet() const {return this->fDataSet;}
1170  void SetSelectCharge(SelectCharge set) {this->fSelectCharge = set;};
1174  void SetCorrWeightTPC(CorrelationWeights weights) {this->fCorrWeightTPC = weights;};
1176  void SetCorrWeightVZ(CorrelationWeights weights) {this->fCorrWeightVZ = weights;};
1178  void SetCorrWeightZDC(CorrelationWeights weights) {this->fCorrWeightZDC = weights;};
1180  void SetMinMulZN(Int_t weights) {this->fMinMulZN = weights;};
1181  Int_t GetMinMulZN() const {return this->fMinMulZN;};
1182  void SetMaxDevZN(Float_t weights) {this->fMaxDevZN = weights;};
1183  Float_t GetMaxDevZN() const {return this->fMaxDevZN;};
1185 
1186 private:
1187 
1188  AliFlowAnalysisCRC(const AliFlowAnalysisCRC& afawQc);
1190 
1191  // 0.) base:
1193 
1194  // 1.) common:
1195  Bool_t fBookOnlyBasicCCH; // book only basis common control histrograms (by default book them all)
1205  Int_t fnBinsPhi; // number of phi bins
1206  Double_t fPhiMin; // minimum phi
1207  Double_t fPhiMax; // maximum phi
1208  Double_t fPhiBinWidth; // bin width for phi histograms
1209  Int_t fnBinsPt; // number of pt bins
1210  Double_t fPtMin; // minimum pt
1211  Double_t fPtMax; // maximum pt
1212  Double_t fPtBinWidth; // bin width for pt histograms
1213  Int_t fnBinsEta; // number of eta bins
1214  Double_t fEtaMin; // minimum eta
1215  Double_t fEtaMax; // maximum eta
1216  Double_t fEtaBinWidth; // bin width for eta histograms
1217  TProfile *fCommonConstants;
1218  Bool_t fFillMultipleControlHistograms; // fill separately control histos for events with >= 2, 4, 6 and 8 particles
1219  Int_t fHarmonic; // harmonic
1221  Bool_t fPrintFinalResults[4]; // print on the screen the final results (0=RF, 1=RP, 2=POI, 3=RF rebinned in M)
1222 
1223  // 2a.) particle weights:
1224  TList *fWeightsList; // list to hold all histograms with particle weights: fUseParticleWeights, fPhiWeights, fPtWeights and fEtaWeights
1225  Bool_t fUsePhiWeights; // use phi weights
1226  Bool_t fUsePtWeights; // use pt weights
1227  Bool_t fUseEtaWeights; // use eta weights
1228  Bool_t fUseTrackWeights; // use track weights (e.g. VZERO sector weights)
1229  Bool_t fUsePhiEtaWeights; // use phi,eta weights
1230  Bool_t fUsePhiEtaWeightsChDep; // use phi,eta weights charge dependent
1231  Bool_t fUsePhiEtaWeightsVtxDep; // use phi,eta weights vertex dependent (vz)
1232  Bool_t fUsePhiEtaWeightsChPtDep; // use phi,eta weights vertex dependent (vz)
1233  Bool_t fUsePhiEtaCuts; // use phi,eta cuts (for NUA)
1234  Bool_t fUseZDCESEMulWeights; // use ZDC-ESE mult. weights
1235  Bool_t fUseZDCESESpecWeights; // use ZDC-ESE spec. weights
1236  Bool_t fCutMultiplicityOutliers; // cut on reference multiplicity
1238  // TH1F *fPhiWeightsPOIs[2]; //! histogram holding phi weights
1239  // TH1D *fPtWeightsPOIs[2]; //! histogram holding pt weights
1240  // TH1D *fEtaWeightsPOIs[2]; //! histogram holding eta weights
1241  // TH2D *fPhiEtaWeightsPOIs[2]; //! histogram holding phi,eta weights
1243  // TH1D *fPtWeightsRPs; //!
1244  // TH1D *fEtaWeightsRPs; //!
1245  // TH1F *fPhiDistrRefPOIs[2]; //! histogram holding phi weights
1246  // TH1D *fPtDistrRefPOIs[2]; //! histogram holding pt weights
1247  // TH1D *fEtaDistrRefPOIs[2]; //! histogram holding eta weights
1248  // TH2D *fPhiEtaDistrRefPOIs[2]; //! histogram holding phi,eta weights
1249  // TH1F *fPhiDistrRefRPs; //!
1250  // TH1D *fPtDistrRefRPs; //!
1251  // TH1D *fEtaDistrRefRPs; //!
1252  // TH2D *fPhiEtaDistrRefRPs; //!
1253  // TH1D *fPtWeights[2]; //! histogram holding pt weights
1254 
1255  // 2b.) event weights:
1258 
1259  // 3.) integrated flow
1260  // 3a.) lists:
1265  // 3b.) flags:
1266  TProfile *fIntFlowFlags;
1267  Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance
1268  Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M
1269  Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity
1270  Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity
1271  Double_t fMaxMult; // maximal multiplicity for flow analysis versus multiplicity
1272  Bool_t fPropagateErrorAlsoFromNIT; // propagate error by taking into account also non-isotropic terms (not sure if resulting error then is correct - to be improved)
1273  Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity
1274  Bool_t fCalculateAllCorrelationsVsM; // calculate all correlations versus multiplicity
1275  Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default)
1276  Bool_t fForgetAboutCovariances; // when propagating error forget about the covariances
1277  Bool_t fStoreVarious; // store phi distribution for one event to illustrate flow
1278  Int_t fExactNoRPs; // when shuffled, select only this number of RPs for the analysis
1279  Bool_t fUse2DHistograms; // use TH2D instead of TProfile to improve numerical stability in reference flow calculation
1280  Bool_t fFillProfilesVsMUsingWeights; // if the width of multiplicity bin is 1, weights are not needed
1281  Bool_t fUseQvectorTerms; // use TH2D with separate Q-vector terms instead of TProfile to improve numerical stability in reference flow calculation
1282 
1283  // 3c.) event-by-event quantities:
1284  TMatrixD *fReQ;
1285  TMatrixD *fImQ;
1286  TMatrixD *fSpk;
1287  TMatrixD *fReQGF;
1288  TMatrixD *fImQGF;
1289  const static Int_t fkGFPtB = 8;
1290  TMatrixD *fReQGFPt[fkGFPtB];
1291  TMatrixD *fImQGFPt[fkGFPtB];
1297  Double_t fNumberOfRPsEBE; // # of Reference Particles
1298  Double_t fNumberOfPOIsEBE; // # of Particles of Interest
1299  Double_t fReferenceMultiplicityEBE; // reference multiplicity
1300  Double_t fReferenceMultiplicityRecEBE; // reference multiplicity - <reference multiplicity>
1301  Double_t fCentralityEBE; // centrality percentile
1302  Double_t fNewCentralityEBE; // new centrality percentile
1303  Double_t fNewMetricLEBE; // new metric L
1304  Double_t fNewMetricDEBE; // new metric D
1305  Double_t fNewMetricL2EBE; // new metric L
1306  Double_t fNewMetricD2EBE; // new metric D
1307  Double_t fCentralityCL1EBE; // centrality (CL1) percentile
1308  Double_t fNITSCL1EBE; // centrality (TRK) percentile
1309  Double_t fCentralityTRKEBE; // centrality (TRK) percentile
1310  // 3d.) profiles:
1311  TProfile *fAvMultiplicity;
1321  // [0=<<2><4>>,1=<<2><6>>,2=<<2><8>>,3=<<4><6>>,4=<<4><8>>,5=<<6><8>>]
1325 
1326  // 3e.) histograms with final results:
1335  // [0=Cov(2,4),1=Cov(2,6),2=Cov(2,8),3=Cov(4,6),4=Cov(4,8),5=Cov(6,8)]
1337  // [0=sum{w_{<2>}},1=sum{w_{<4>}},2=sum{w_{<6>}},3=sum{w_{<8>}}][0=linear 1,1=quadratic]
1339  // [0=sum{w_{<2>}w_{<4>}},1=sum{w_{<2>}w_{<6>}},2=sum{w_{<2>}w_{<8>}},
1340  // 3=sum{w_{<4>}w_{<6>}},4=sum{w_{<4>}w_{<8>}},5=sum{w_{<6>}w_{<8>}}]
1353  // 4.) differential flow
1354  // 4a.) lists:
1359  // 4aa.) nested list in list fDiffFlowProfiles:
1364  // 4ab.) nested list in list fDiffFlowResults:
1373  // 4b.) flags:
1374  TProfile *fDiffFlowFlags;
1375  Bool_t fCalculateDiffFlow; // if you set kFALSE only reference flow will be calculated
1376  Bool_t fCalculate2DDiffFlow; // calculate 2D differential flow vs (pt,eta) (Remark: this is expensive in terms of CPU time)
1377  Bool_t fCalculateDiffFlowVsEta; // if you set kFALSE only differential flow vs pt is calculated
1378  // 4c.) event-by-event quantities:
1379  // 1D:
1380  TProfile *fReRPQ1dEBE[3][2][4][9];
1381  TProfile *fImRPQ1dEBE[3][2][4][9];
1382  TProfile *fs1dEBE[3][2][9];
1386 
1387  // 2D:
1388  TProfile2D *fReRPQ2dEBE[3][4][9];
1389  TProfile2D *fImRPQ2dEBE[3][4][9];
1390  TProfile2D *fs2dEBE[3][9];
1391  // 4d.) profiles:
1392  // 1D:
1393  TProfile *fDiffFlowCorrelationsPro[2][2][4];
1394  TProfile *fDiffFlowSquaredCorrelationsPro[2][2][4];
1395  TProfile *fDiffFlowProductOfCorrelationsPro[2][2][8][8];
1396  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1397  TProfile *fDiffFlowCorrectionTermsForNUAPro[2][2][2][10];
1398  // 2D:
1399  TProfile2D *f2DDiffFlowCorrelationsPro[2][4];
1400  // Other differential correlators:
1402  TProfile *fOtherDiffCorrelators[2][2][2][1];
1403  // 4e.) histograms holding final results:
1404  // 1D:
1409  TH1D *fDiffFlow[2][2][4];
1412  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1414  // 2D:
1417  // 6.) distributions:
1420  Bool_t fStoreDistributions; // store or not distributions of correlations
1422  Int_t fnBinsForCorrelations; // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]
1423  Double_t fMinValueOfCorrelation[4]; // min values of <2>, <4>, <6> and <8>
1424  Double_t fMaxValueOfCorrelation[4]; // max values of <2>, <4>, <6> and <8>
1425  Double_t fMinValueOfCorrelationProduct[1]; // min values of <2><4>, <2><6>, <2><8>, <4><6> etc. TBI add the other ones when needed first time
1426  Double_t fMaxValueOfCorrelationProduct[1]; // max values of <2><4>, <2><6>, <2><8>, <4><6> etc. TBI add the other ones when needed first time
1427  Double_t fMinValueOfQvectorTerms[4]; // MinValueOfQvectorTerms
1428  Double_t fMaxValueOfQvectorTerms[4]; // MaxValueOfQvectorTerms
1429 
1430  // 8.) debugging and cross-checking:
1432  Bool_t fEvaluateIntFlowNestedLoops; // evaluate nested loops relevant for integrated flow
1433  Bool_t fEvaluateDiffFlowNestedLoops; // evaluate nested loops relevant for differential flow
1434  Int_t fMaxAllowedMultiplicity; // nested loops will be evaluated only for events with multiplicity <= fMaxAllowedMultiplicity
1436  // integrated flow:
1440  // differential flow:
1441  Int_t fCrossCheckInPtBinNo; // cross-check results for reduced correlations and corrections in this pt bin
1442  Int_t fCrossCheckInEtaBinNo; // cross-check results for reduced correlations and corrections in this eta bin
1443  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
1444  TProfile *fDiffFlowDirectCorrelations[2][2][4];
1445  TProfile *fDiffFlowDirectCorrectionTermsForNUA[2][2][2][10];
1446  // other differential correlators:
1447  TProfile *fOtherDirectDiffCorrelators[2][2][2][1];
1448  // mixed harmonics:
1450 
1451  // 9.) mixed harmonics:
1452  // 9a.) lists:
1457  //TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
1458  // 9b.) flags:
1460  Bool_t fCalculateMixedHarmonics; // calculate or not mixed harmonics
1461  Bool_t fCalculateMixedHarmonicsVsM; // calculate or not mixed harmonics vs multiplicity
1462  // 9c.) profiles:
1463  TProfile *f2pCorrelations;
1464  TProfile *f3pCorrelations;
1465  TProfile *f4pCorrelations;
1466  TProfile *f5pCorrelations;
1467  TProfile *f6pCorrelations;
1468  TProfile *f7pCorrelations;
1469  TProfile *f8pCorrelations;
1470  // 9d.) results:
1478  // 9e.) statistical error propagation:
1482  // 10.) Control histograms:
1483  // 10a.) list:
1484  TList *fControlHistogramsList; // list to hold all control histograms
1485  // 10b.) flags:
1486  TProfile *fControlHistogramsFlags; // profile to hold all flags for control histograms
1487  Bool_t fStoreControlHistograms; // store or not control histograms
1488  // 10c.) histograms:
1495  // 11.) Bootstrap:
1496  // 11a) lists:
1500  // 11b) flags:
1501  TProfile *fBootstrapFlags;
1502  Bool_t fUseBootstrap; // use bootstrap to estimate statistical spread
1503  Bool_t fUseBootstrapVsM; // use bootstrap to estimate statistical spread for results vs M
1504  Int_t fnSubsamples; // number of subsamples (SS), by default 10
1505  TRandom3 *fRandom;
1506  // 11c) profiles:
1508  TProfile2D *fBootstrapCorrelationsVsM[4];
1509  // 11d) histograms:
1512 
1513  // 12.) CRC
1514 
1517  TProfile *fCRCFlags;
1518  Bool_t fCalculateCRC; // calculate CRC
1547 
1549  const static Int_t fCRCnCR = 16;
1550  const static Int_t fCRCnNUA = 14;
1551  const static Int_t fCRCnEtaGap = 7;
1552  const static Int_t fCRCnCorr = 4;
1553  const static Int_t fCRCnEtaBins = 32;
1554  const static Int_t fCRCMaxnCen = 10;
1557  const static Int_t fCRCnHar = 3;
1558  const static Int_t fCRCMaxnRun = 211;
1559 
1567 
1576 
1584 
1585  // Q vectors
1586  const static Int_t fCRCQVecnCR = 64;
1592  TArrayI fRunList; // Run list
1593  TArrayD fAvVtxPosX; // Run list
1594  TArrayD fAvVtxPosY; // Run list
1595  TArrayD fAvVtxPosZ; // Run list
1596  TArrayI fnEvRbR; // number of events in each run
1617 // TH3D* fCRCQVecPhiRbRHist[fCRCMaxnRun]; //! phi ditribution POIs run-by-run
1618 // TH3D* fCRCQVecPhiRbRHistCh[fCRCMaxnRun][2]; //! phi ditribution POIs bins ch run-by-run
1619  TProfile3D* fCRCQVecHarCosProCh[2];
1620  TProfile3D* fCRCQVecHarSinProCh[2];
1629  const static Int_t fkNRbRFlowHar = 2;
1630  const static Int_t fkNRbRIntFlow = 2;
1633 
1634  // temp
1635  TProfile *fTPCQHist[fCRCnHar][2];
1636  TProfile *fZDCQHist[12];
1638  const static Int_t fkNZDCResHist = 4;
1641  TF1* fFitPol0EP;
1642  TProfile3D *fZDCVtxHist[4];
1643  TProfile2D *fZDCEcomHist[4];
1644  TProfile2D *fZDCEcomTotHist[4];
1645  TProfile3D *fZDCEcomTotvsVtxHist[12];
1646 
1647 // TProfile2D *fCRCZDCQVecCenEComTot[fCRCMaxnRun][4]; //!
1649 // TProfile2D *fCRCTPCQVecCenEComTot[fCRCMaxnRun][4]; //!
1652  TProfile2D *fhAvRefMulRbR;
1653  TProfile2D *fhAvQMCRbR;
1654  TProfile2D *fhAvQMARbR;
1655  TProfile *fhAvAbsOrbit;
1656 
1657  TProfile3D *fZDCVtxCenHist[10][4];
1658  TProfile3D *fZDCVtxCenHistMagPol[10][8];
1659  TProfile2D *fVZEROCenHist[3];
1665  TProfile2D *fZDCBinsCenRefMultRbR[4];
1666  TProfile2D *fZDCBinsCenRefMultTot[4];
1667  TProfile *fZDCBinsCenRefMultRbRProf[10][4];
1668  TProfile *fZDCBinsCenRefMultTotProf[10][4];
1677 
1678  TF1 *fZDCFitSec[4];
1685 
1686  TProfile *fCRCVZQVecA[fCRCMaxnRun][2];
1687  TProfile *fCRCVZQVecC[fCRCMaxnRun][2];
1688  const static Int_t fCRCQVecnCov = 12;
1690 
1691  TProfile *fCRCZDCQVecA[fCRCMaxnRun][2];
1692  TProfile *fCRCZDCQVecC[fCRCMaxnRun][2];
1695 // TH2D *fCRCZDCQVecEP[fCRCMaxnRun][4]; //! ZN event planes
1696 // TH3D* fhZNCenDis[2]; //! ZDC 2D Q-vector distribution vs centrality
1697  TProfile *fCRCZDCQVecRes[fCRCMaxnRun][4];
1699  const static Int_t fkCRCnCQVecVtxPos = 8;
1701  TProfile3D *fCRCZDCQVecVtxPos[fCRCMaxnRun][4];
1704  const static Int_t fknEZDCBins = 10;
1707 // TProfile2D *fCRCZDCQVecECom[fCRCMaxnRun][fkCRCnCQVecVtxPos]; //! re-centering Qvec vs Energy common tower
1708  const static Int_t fkCRCnCQVecEcomPos = 12;
1709 // TProfile3D *fCRCZDCQVecEComTot[fkCRCnCQVecEcomPos]; //! re-centering Qvec vs Energy common tower
1710  const static Int_t fkNsteps = 14;
1711  TProfile2D *fCRCZDCQVecCorSteps[4];
1712  // TProfile2D *fCRCZDCResCenEn; //!
1713  // TProfile2D *fCRCZDCQ2[8]; //! Q2
1718 
1719  // test
1720 // TProfile3D *fCRCZDCQVecResVtx[2][3]; //!
1721 // TProfile2D *fCRCZDCQVecResEZDC[2][3]; //!
1722 // TProfile2D *fCRCZDCQVecResv1QA[2][3]; //!
1723 // TProfile2D *fCRCZDCQVecResv1QC[2][3]; //!
1724 // TProfile2D *fCRCZDCQVecResv1Cross[2][3]; //!
1725 //
1726 // TProfile2D *fCRCZDCQVecResCrossC[2][3]; //!
1727 // TProfile2D *fCRCZDCQVecResCrossA[2][3]; //!
1729 
1730  // TProfile *fCRCVZvsZDCCov[fCRCMaxnRun][16]; //! ZDC vs VZ Q Vectors correlations
1731 
1732  // CRCVZERO
1735  const static Int_t fkNHistCRCVZ = 27;
1738 // TProfile2D *fCRCVZEROQVec[fCRCMaxnRun][fCRCnHar]; //!
1739 
1740  // CRCZDC
1742  const static Int_t fCRCZDCnCR = 13;
1743  const static Int_t fCRCZDCnEtaBin = 5;
1758 
1759  // CRC Pt differential
1761 
1763  const static Int_t fCRCPtnPtBinMax = 48;
1772 
1773  // CME
1774  const static Int_t fCMETPCnCR = 20;
1775  const static Int_t fCMEnEtaBin = 2;
1776  const static Int_t fCMETPCnDist = 4;
1777  const static Int_t fCMEZDCnCR = 20;
1778  const static Int_t fCMEZDCnDist = 4;
1779  const static Int_t fCMETPCnSC = 8;
1792  const static Int_t fCMETPCnHist = 19;
1793  const static Int_t fZDCESEnCl = 5;
1798  TProfile *fCMETPCSCPro[fCMETPCnSC][2];
1800  const static Int_t fCMETPCnHist2D = 3;
1802 
1803  // CRC2
1804  const static Int_t fkNCorCRC2 = 6;
1806  Int_t fCRC2nEtaBins; // CRC2 n eta bins
1816 
1817  // Flow all
1818  const static Int_t fFlowNHarm = 6;
1819  const static Int_t fFlowNHarmMax = 14; // WARNING: MIN (2*fFlowNHarm+2)
1820  const static Int_t fQVecPower = 5;
1821  const static Int_t fkNITStypes = 16;
1823  const static Int_t fkEtaDiffNBins = 5;
1824  const static Int_t fkEtaDiffMaxNBins = 10;
1849  const static Int_t fZDCPtDiffNBins = 3;
1850 
1851  // Flow SP ZDC
1853  const static Int_t fFlowNPro = 8;
1854  const static Int_t fFlowNNUA = 2;
1855  const static Int_t fFlowNHarmZDC = 1;
1856 
1861 
1866 
1867  const static Int_t fkNHistv1eta = 14;
1868  const static Int_t fkNHarv1eta = 3;
1871  const static Int_t fkNHistv1etaCov = 13;
1875  const static Int_t fkNHistv2eta = 4;
1880  const static Int_t fkNHistv1etaPt = 6;
1883  const static Int_t fkNHistQVecCorrv1eta = 6;
1884 // TProfile2D *fCRCQVecEtaHist[fCRCMaxnRun][fkNHistQVecCorrv1eta]; //!
1885  TProfile2D *fCRCTPCQVecCenVtxTime[fCRCMaxnRun][3][4];
1886  TProfile2D *fCRCZDCQVecCenVtxTime[fCRCMaxnRun][3][4];
1887 // TProfile2D *fTPCEtaHist[fkNHistQVecCorrv1eta]; //!
1889  TProfile2D *fTPCQVecProTemp[2][4];
1890  const static Int_t fkNv1evenCor = 6;
1892  const static Int_t fkNZDCDistPro = 6;
1894 
1895  // Flow QC
1897  const static Int_t fFlowQCNPro = 4;
1898  const static Int_t fFlowQCNNUA = 12;
1899  const static Int_t fFlowQCNCov = 8;
1910  const static Int_t fFlowQCNProPhiEta = 6;
1912  // TProfile2D *fFlowQCCorProPhiEtaITSType[fCRCMaxnCen][fFlowNHarm][fkNITStypes]; //! vn vs phi vs eta [CRCBin][eg]
1913 
1915  const static Int_t fkFlowQCRbRnHist = 3;
1916  // const static Int_t fkFlowQCRbRnHist2 = 3;
1917  const static Int_t fkFlowQCRbRnHar = 3;
1918  const static Int_t fkFlowQCRbRnVar = 4;
1919  // const static Int_t fkFlowQCRbRnVar2 = 2;
1920  // TProfile2D *fFlowQCIntRbRProPtEta[fCRCMaxnRun][fkFlowQCRbRnHar][fkFlowQCRbRnVar][fkFlowQCRbRnHist]; //!
1921  // TProfile *fFlowQCIntRbRPro[fCRCMaxnRun][fkFlowQCRbRnHar][fkFlowQCRbRnVar2][fkFlowQCRbRnHist2]; //!
1922  // TProfile *fFlowQCIntRbRProTotal[fkFlowQCRbRnHar][fkFlowQCRbRnVar2][fkFlowQCRbRnHist2]; //!
1924 
1925  const static Int_t fkFlowQCnIntCorPro = 5;
1931 
1936 
1937  const static Int_t fkFlowQCnPtRanges = 2; // 0.2-3, 0.2-5
1943 
1948 
1949  const static Int_t fkFlowQCnIntCorTest = 1;
1950  const static Int_t fkFlowQCnVtxCorTest = 3;
1955  const static Int_t fkFlowQCnNUATest = 6;
1957 
1958  const static Int_t fFlowQCNRef = 14;
1962 
1968 
1969  // flow Generic Framework
1971  const static Int_t fkFlowGFNHarm = 4;
1972  const static Int_t fkFlowGFNOrde = 4;
1973  const static Int_t fFlowGFCenBin = 100;
1978  const static Int_t fkFlowGFNExtra = 5;
1982 
1986 
1987  // sub-sampling
1988  const static Int_t fkFlowGFNSubSampling = 10;
1993 
1994  // in wide pt bins
1999 
2000  // SC w ZDC
2002  const static Int_t fSCv2vsZNPtBins = 3;
2003  const static Int_t fSCv2vsZNHarm = 2;
2004  const static Int_t fkSCNHist = 6;
2005  const static Int_t fkFlowSCNvar = 6;
2012 
2013  // Flow SP VZ
2014  const static Int_t fkFlowSPVZnHist = 4;
2019 
2020  // EbE Flow
2029  const static Int_t fEBEFlowNResPro=18;
2031  TF1* FourierExp;
2034 
2035  // Various:
2046  TProfile2D* fRefMultRbRPro;
2047  TProfile2D* fAvEZDCCRbRPro;
2048  TProfile2D* fAvEZDCARbRPro;
2052  TH1D* fEtaWeightsHist[10][21][2];
2053  TH1D* fNvsCenCut[2][2];
2066  TH2F* fhCenvsMul[fZDCESEnCl+1];
2067  TH2F* fhCenvsSpec[fZDCESEnCl+1];
2069  TH1F* fMultCutMin;
2070  TH1F* fMultCutMax;
2071  TH1F* fMultCutAv;
2072  TH1F* fRMSRefMulCenBins[10];
2073  TH1F* fEZNCutMin;
2074  TH1F* fEZNCutMax;
2075  Double_t fVtxPos[3]; // primary vertex position (x,y,z)
2076  Double_t fVtxPosCor[3]; // primary vertex position (x,y,z), re-centered at 0
2077  TF1 *fPolMin[2];
2078  TF1 *fPolMax[2];
2079  TF1 *fPolAv[2];
2080  TF1 *fPolDer[2];
2081  TF1 *fPolInt[2];
2082  TF1 *fPolDist[2];
2083  TF1 *fPolSlope[2];
2085  Double_t fZNCQ0; // common tower energy from ZNC-C
2086  Double_t fZNAQ0; // common tower energy from ZNC-A
2087  Double_t fZNCen; // total energy from ZNC-C
2088  Double_t fZNAen; // total energy from ZNC-A
2089  Double_t fZPCen; // total energy from ZPC-C
2090  Double_t fZPAen; // total energy from ZPC-A
2091  Double_t fEnNucl; // energy per nucleon (GeV)
2095 
2096  const static Int_t fZDCESEnPol=4;
2099 
2109 
2110  ClassDef(AliFlowAnalysisCRC,74);
2111 
2112 };
2113 
2114 //================================================================================================================
2115 
2116 #endif
TH1D * fFlowSCFinalHist[fSCv2vsZNHarm][fkSCNHist]
Double_t GetMinMult() const
TH1D * GetFlowGFIntCorHist(Int_t const c, Int_t const eg) const
virtual void GetPointersForIntFlowHistograms()
void SetCorrelation2468VsMult(TH2D *const c2468vm, Int_t const ci)
virtual std::complex< double > ucN2(const Int_t n, TArrayI &h, TArrayI &cnt, Int_t ptb)
Bool_t GetBookOnlyBasicCCH() const
TProfile2D * fCRCZDCQVecCenVtxTime[fCRCMaxnRun][3][4]
TH2D * GetQvectorTermsVsMult(Int_t qvti) const
TH1D * GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const
void SetFlowGFIntCumHist(TH1D *const TP, Int_t const c, Int_t const eg)
TProfile * GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const
static const Int_t fkFlowSPVZnHist
TH3D * fPhiEtaWeightsVtx[fCRCMaxnCen]
TProfile * GetDistributionsFlags() const
static const Int_t fkNHistQVecCorrv1eta
TH2F * GetZDCESESpecWeightsHist(Int_t h) const
TProfile * fFlowGFMixedCorPro[fkFlowGFNHarm][fkFlowGFNHarm]
TProfile * Get2pCorrelations() const
void SetFlowQCIntCumHistTest(TH2D *const TP, Int_t const eg, Int_t const j, Int_t const k)
virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2)
void SetCRCQnReCorrHist(TProfile *const TH, Int_t const r, Int_t const h)
static const Int_t fkFlowQCnVtxCorTest
void SetPOIExtraWeights(POIExtraWeights set)
void SetFlowQCSpectra(TH2D *const TH)
void SetFlowGFIntCorHistPtB(TH1D *const TP, Int_t const s, Int_t const c, Int_t const eg)
void SetMixedHarmonicProductOfCorrelations(TProfile2D *const mhpoc)
TH1D * GetCRCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * GetFlowQCIntCorPro(Int_t const eg, Int_t const h) const
void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity)
void Set2DDiffFlowCorrelationsPro(TProfile2D *const p2ddfcp, Int_t const i, Int_t const k)
virtual void InitializeArraysForMixedHarmonics()
void Set5pCorrelations(TProfile *const p5pCorr)
TProfile * GetDiffFlowFlags() const
SelectCharge GetSelectCharge() const
TList * GetHistList() const
void SetUsePhiEtaCuts(Bool_t const uPhiEtaW)
TH2D * GetCMEZDCCovHist(Int_t const eg, Int_t const h) const
void SetTestSin(Bool_t const cCRC)
TProfile * f4pCorrelations
profile to hold all 3-particle correlations
TProfile * Get4pCorrelations() const
void SetIntFlowSumOfProductOfEventWeights(TH1D *const intFlowSumOfProductOfEventWeights)
TH1D * fIntFlowCorrelationsHist
average correction terms for non-uniform acceptance (with wrong errors!) [0=sin terms,1=cos terms][correction term index] vs multiplicity
TProfile * GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const
TH2D * fFlowSPZDCv1etaPtHist[fCRCMaxnCen][fkNHistv1etaPt]
void SetDiffFlowDetectorBias(TH1D *const dfdb, Int_t const i, Int_t const j, Int_t const k)