AliPhysics  c923f52 (c923f52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
33 class TObjArray;
34 class TList;
35 class TFile;
36 class TGraph;
37 class TH1;
38 class TH3;
39 class TProfile;
40 class TProfile2D;
41 class TProfile3D;
42 class TDirectoryFile;
43 class TRandom3;
44 class TNtuple;
45 class THnSparse;
46 
47 class AliFlowEventSimple;
48 class AliFlowTrackSimple;
50 class AliFlowCommonHist;
52 class AliFlowVector;
53 
54 //==============================================================================================================
55 
56 class AliFlowAnalysisCRC : public TNamed {
57 public:
58  AliFlowAnalysisCRC(const char* name="AliFlowAnalysisCRC",
59  Int_t nCen=7,
60  Double_t CenWidth=10.);
61  virtual ~AliFlowAnalysisCRC();
62 
65  };
66 
67  enum DataSet { k2010,
71  };
72 
73  enum MagnetPol { kMAll,
76  };
77 
78  // 0.) methods called in the constructor:
79  virtual void InitializeArraysForIntFlow();
80  virtual void InitializeArraysForDiffFlow();
81  virtual void InitializeArraysForDistributions();
82  virtual void InitializeArraysForVarious();
84  virtual void InitializeArraysForNestedLoops();
85  virtual void InitializeArraysForMixedHarmonics();
87  virtual void InitializeArraysForBootstrap();
88  virtual void InitializeCostantsForCRC();
89  virtual void InitializeArraysForCRC();
90  virtual void InitializeArraysForCRCVZ();
91  virtual void InitializeArraysForCRCZDC();
92  virtual void InitializeArraysForCRCPt();
93  virtual void InitializeArraysForCME();
94  virtual void InitializeArraysForCRC2();
95  virtual void InitializeArraysForFlowEbE();
96  virtual void InitializeArraysForFlowQC();
97  virtual void InitializeArraysForFlowSPZDC();
98  virtual void InitializeArraysForFlowSPVZ();
99  virtual void InitializeArraysForEbEFlow();
100 
101  // 1.) method Init() and methods called within Init():
102  virtual void Init();
103  virtual void InitializeArraysForQVec();
104  virtual void CrossCheckSettings();
105  virtual void CommonConstants(TString method);
106  virtual void BookAndNestAllLists();
108  virtual void BookCommonHistograms();
109  virtual void BookAndFillWeightsHistograms();
110  virtual void BookEverythingForIntegratedFlow();
111  virtual void BookEverythingForDifferentialFlow();
113  virtual void BookEverythingForDistributions();
114  virtual void BookEverythingForVarious();
115  virtual void BookEverythingForNestedLoops();
116  virtual void BookEverythingForMixedHarmonics();
117  virtual void BookEverythingForControlHistograms();
118  virtual void BookEverythingForBootstrap();
119  virtual void SetRunList();
120  virtual void BookEverythingForCRC();
121  virtual void BookEverythingForCRCVZ();
122  virtual void BookEverythingForCRCZDC();
123  virtual void BookEverythingForCRCPt();
124  virtual void BookEverythingForQVec();
125  virtual void BookEverythingForCME();
126  virtual void BookEverythingForCRC2();
127  virtual void BookEverythingForFlowEbE();
128  virtual void BookEverythingForFlowQC();
129  virtual void BookEverythingForFlowSPZDC();
130  virtual void BookEverythingForFlowSPVZ();
131  virtual void BookEverythingForEbEFlow();
132  virtual void StoreIntFlowFlags();
133  virtual void StoreDiffFlowFlags();
134  virtual void StoreFlagsForDistributions();
135  virtual void StoreHarmonic();
136  virtual void StoreMixedHarmonicsFlags();
137  virtual void StoreControlHistogramsFlags();
138  virtual void StoreBootstrapFlags();
139  virtual void StoreCRCFlags();
140  virtual void SetCentralityWeights();
141 
142  // 2.) method Make() and methods called within Make():
143  virtual void Make(AliFlowEventSimple *anEvent);
144  // 2a.) Common:
145  virtual void CheckPointersUsedInMake();
146  virtual void FillAverageMultiplicities(Int_t nRP);
147  virtual void FillCommonControlHistograms(AliFlowEventSimple *anEvent);
148  virtual void FillControlHistograms(AliFlowEventSimple *anEvent);
149  virtual void ResetEventByEventQuantities();
150  // 2b.) Reference flow:
151  virtual void CalculateIntFlowCorrelations();
154  virtual void CalculateIntFlowSumOfEventWeights();
163  virtual void CalculateMixedHarmonics();
164  // 2c.) Cross-checking reference flow correlations with nested loops:
165  virtual void EvaluateIntFlowNestedLoops(AliFlowEventSimple* const anEvent);
170  virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple* const anEvent);
171  // 2d.) Differential flow:
172  virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta); // type = RP or POI
173  virtual void CalculateDiffFlowCorrelationsUsingParticleWeights(TString type, TString ptOrEta); // type = RP or POI
174  virtual void CalculateDiffFlowProductOfCorrelations(TString type, TString ptOrEta); // type = RP or POI
175  virtual void CalculateDiffFlowSumOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
176  virtual void CalculateDiffFlowSumOfProductOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
177  virtual void CalculateDiffFlowCorrectionsForNUACosTerms(TString type, TString ptOrEta);
179  virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta);
181  // 2e.) 2D differential flow:
182  virtual void Calculate2DDiffFlowCorrelations(TString type); // type = RP or POI
183  // 2f.) Other differential correlators (i.e. Teaney-Yan correlator):
184  virtual void CalculateOtherDiffCorrelators(TString type, TString ptOrEta); // type = RP or POI
185  // 2g.) Distributions of reference flow correlations:
186  virtual void StoreDistributionsOfCorrelations();
187  // 2h.) Cross-checking differential flow correlations with nested loops:
188  virtual void EvaluateDiffFlowNestedLoops(AliFlowEventSimple* const anEvent);
189  virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
193  virtual void EvaluateOtherDiffCorrelatorsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
194  // 2i.) Charge-Rapidity Correlations
195  virtual void RecenterCRCQVec();
196  virtual void RecenterCRCQVecZDC();
197  virtual Bool_t PassQAZDCCuts();
198  virtual void CalculateCRCCorr();
199  virtual void CalculateCRCVZERO();
200  virtual void CalculateCRCZDC();
201  virtual void CalculateCRCPtCorr();
202  virtual void CalculateCRCQVec();
203  virtual void CalculateVZvsZDC();
204  virtual void CalculateCMETPC();
205  virtual void CalculateCMEZDC();
206  virtual void CalculateCRC2Cor();
207  virtual void CalculateFlowQC();
208  virtual void CalculateFlowSPZDC();
209  virtual void CalculateFlowSPVZ();
210  virtual void FitEbEFlow();
211  // 2h.) Various
212  virtual void FillVarious();
213 
214  // 3.) method Finish() and methods called within Finish():
215  virtual void Finish();
216  virtual void CheckPointersUsedInFinish();
217  // 3a.) integrated flow:
218  virtual void FinalizeCorrelationsIntFlow();
220  virtual void CalculateCovariancesIntFlow();
221  virtual void CalculateCovariancesNUAIntFlow();
222  virtual void CalculateCumulantsIntFlow();
223  virtual void CalculateReferenceFlow();
224  virtual void FillCommonHistResultsIntFlow();
225  // nua:
227  virtual void PrintFinalResultsForIntegratedFlow(TString type);
228  virtual void CrossCheckIntFlowCorrelations();
229  virtual void CrossCheckIntFlowExtraCorrelations(); // extra correlations which appear only when particle weights are used
231  // 3b.) differential flow:
232  virtual void FinalizeReducedCorrelations(TString type, TString ptOrEta);
233  virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta);
234  virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta);
235  virtual void CalculateDiffFlow(TString type, TString ptOrEta);
236  virtual void FinalizeCorrectionTermsForNUADiffFlow(TString type, TString ptOrEta);
237  virtual void CalculateDiffFlowCumulantsCorrectedForNUA(TString type, TString ptOrEta);
238  virtual void CalculateDiffFlowCorrectedForNUA(TString type, TString ptOrEta);
239  virtual void CalculateFinalResultsForRPandPOIIntegratedFlow(TString type); // to be improved (add also possibility to integrate over eta yield)
240  virtual void FillCommonHistResultsDiffFlow(TString type);
241  virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta);
243  virtual void CrossCheckDiffFlowCorrectionTermsForNUA(TString type, TString ptOrEta);
244  // 3c.) 2D:
245  virtual void Calculate2DDiffFlowCumulants(TString type);
246  virtual void Calculate2DDiffFlow(TString type);
247  // 3d.) Other differential correlators:
248  virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta);
249  // 3e.) Mixed harmonics:
250  virtual void CalculateCumulantsMixedHarmonics();
251  // 3f.) Bootstrap:
252  virtual void CalculateCumulantsForBootstrap();
253  // 3g.) CRC:
254  virtual void FinalizeCRCCorr();
255  virtual void FinalizeCRCVZERO();
256  virtual void FinalizeCRCZDC();
257  virtual void FinalizeCRCPtCorr();
258  virtual void FinalizeCMETPC();
259  virtual void FinalizeCMEZDC();
260  virtual void FinalizeCRC2Cor();
261  virtual void FinalizeFlowQC();
262  virtual void FinalizeFlowSPZDC();
263  virtual void FinalizeFlowSPVZ();
264  virtual Bool_t CheckRunFullTPCFlow(Int_t RunNum);
265  // 3h.) Various:
266  virtual void FinalizeVarious();
267 
268  // 4.) method GetOutputHistograms() and methods called within GetOutputHistograms():
269  virtual void GetOutputHistograms(TList *outputListHistos);
270  virtual void GetPointersForCommonHistograms();
272  virtual void GetPointersForIntFlowHistograms();
273  virtual void GetPointersForDiffFlowHistograms();
274  virtual void GetPointersFor2DDiffFlowHistograms();
275  virtual void GetPointersForOtherDiffCorrelators();
278  virtual void GetPointersForControlHistograms();
279  virtual void GetPointersForBootstrap();
280  virtual void GetPointersForCRC();
281  virtual void GetPointersForCRCVZ();
282  virtual void GetPointersForCRCZDC();
283  virtual void GetPointersForCRC2();
284  virtual void GetPointersForCRCPt();
285  virtual void GetPointersForQVec();
286  virtual void GetPointersForCME();
287  virtual void GetPointersForFlowQC();
288  virtual void GetPointersForFlowSPZDC();
289  virtual void GetPointersForFlowSPVZ();
290  virtual void GetPointersForEbEFlow();
291  virtual void GetPointersForVarious();
292 
293  // 5.) other methods:
294  TProfile* MakePtProjection(TProfile2D *profilePtEta) const;
295  TProfile* MakeEtaProjection(TProfile2D *profilePtEta) const;
296  virtual void WriteHistograms(TString outputFileName);
297  virtual void WriteHistograms(TDirectoryFile *outputFileName);
298  virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2);
299  virtual Int_t GetCRCVZBin(Int_t c, Int_t c2);
300  virtual Int_t GetCRCQVecBin(Int_t c, Int_t y);
301  virtual Int_t GetCRCRunBin(Int_t RunNum);
302  virtual Int_t GetCRCCenBin(Double_t Centrality);
303  virtual Int_t GetCRCPtBin(Double_t pt);
304 
305  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);
306 
307  // **** SETTERS and GETTERS ****
308 
309  // 0.) base:
310  void SetHistList(TList* const hlist) {this->fHistList = hlist;}
311  TList* GetHistList() const {return this->fHistList;}
312 
313  // 1.) common:
314  void SetBookOnlyBasicCCH(Bool_t const bobcch) {this->fBookOnlyBasicCCH = bobcch;};
316  void SetCommonHists(AliFlowCommonHist* const ch) {this->fCommonHists = ch;};
318  void SetCommonHists2nd(AliFlowCommonHist* const ch2nd) {this->fCommonHists2nd = ch2nd;};
320  void SetCommonHists4th(AliFlowCommonHist* const ch4th) {this->fCommonHists4th = ch4th;};
322  void SetCommonHists6th(AliFlowCommonHist* const ch6th) {this->fCommonHists6th = ch6th;};
324  void SetCommonHists8th(AliFlowCommonHist* const ch8th) {this->fCommonHists8th = ch8th;};
334  void SetCommonConstants(TProfile* const cc) {this->fCommonConstants = cc;};
335  TProfile* GetCommonConstants() const {return this->fCommonConstants;};
338  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
339  Int_t GetHarmonic() const {return this->fHarmonic;};
340  void SetAnalysisLabel(const char *aLabel) {this->fAnalysisLabel->Append(*aLabel);}; // to be improved (Append(*aLabel) changed into Append(aLabel))
341  TString *GetAnalysisLabel() const {return this->fAnalysisLabel;};
342  void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i) {this->fPrintFinalResults[i] = printOrNot;};
344 
345  // 2a.) particle weights:
346  void SetWeightsList(TList* const wlist) {this->fWeightsList = wlist;}
347  TList* GetWeightsList() const {return this->fWeightsList;}
348  void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;};
349  Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;};
350  void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;};
351  Bool_t GetUsePtWeights() const {return this->fUsePtWeights;};
352  void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;};
353  Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;};
354  void SetUseTrackWeights(Bool_t const uTrackW) {this->fUseTrackWeights = uTrackW;};
355  Bool_t GetUseTrackWeights() const {return this->fUseTrackWeights;};
356  void SetUsePhiEtaWeights(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeights = uPhiEtaW;};
358  void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW) {this->fUseZDCESEMulWeights = uPhiEtaW;};
360  void SetUseZDCESESpecWeights(Bool_t const uPhiEtaW) {this->fUseZDCESESpecWeights = uPhiEtaW;};
362  void SetUseParticleWeights(TProfile* const uPW) {this->fUseParticleWeights = uPW;};
363  TProfile* GetUseParticleWeights() const {return this->fUseParticleWeights;};
364  void SetPhiWeights(TH1F* const histPhiWeights) {this->fPhiWeightsRPs = histPhiWeights;};
365  TH1F* GetPhiWeights() const {return this->fPhiWeightsRPs;};
366 
367  // 2b.) event weights:
368  void SetMultiplicityWeight(const char *multiplicityWeight) {*this->fMultiplicityWeight = multiplicityWeight;};
370 
371  // 3.) Reference flow:
372  // Flags:
373  void SetIntFlowFlags(TProfile* const intFlowFlags) {this->fIntFlowFlags = intFlowFlags;};
374  TProfile* GetIntFlowFlags() const {return this->fIntFlowFlags;};
375  void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
377  void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;};
379  void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
380  Int_t GetnBinsMult() const {return this->fnBinsMult;};
381  void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
382  Double_t GetMinMult() const {return this->fMinMult;};
383  void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
384  Double_t GetMaxMult() const {return this->fMaxMult;};
385  void SetPropagateErrorAlsoFromNIT(Bool_t const peafNIT) {this->fPropagateErrorAlsoFromNIT = peafNIT;};
387  void SetCalculateCumulantsVsM(Bool_t const ccvm) {this->fCalculateCumulantsVsM = ccvm;};
395  void SetStoreVarious(Bool_t const spdfoe) {this->fStoreVarious = spdfoe;};
396  Bool_t GetStoreVarious() const {return this->fStoreVarious;};
397  void SetExactNoRPs(Int_t const enr) {this->fExactNoRPs = enr;};
398  Int_t GetExactNoRPs() const {return this->fExactNoRPs;};
399  void SetUse2DHistograms(Bool_t const u2dh){this->fUse2DHistograms = u2dh;if(u2dh){this->fStoreControlHistograms = kTRUE;}};
400  Bool_t GetUse2DHistograms() const {return this->fUse2DHistograms;};
403  void SetUseQvectorTerms(Bool_t const uqvt){this->fUseQvectorTerms = uqvt;if(uqvt){this->fStoreControlHistograms = kTRUE;}};
404  Bool_t GetUseQvectorTerms() const {return this->fUseQvectorTerms;};
405 
406  // Reference flow profiles:
407  void SetAvMultiplicity(TProfile* const avMultiplicity) {this->fAvMultiplicity = avMultiplicity;};
408  TProfile* GetAvMultiplicity() const {return this->fAvMultiplicity;};
409  void SetIntFlowCorrelationsPro(TProfile* const intFlowCorrelationsPro) {this->fIntFlowCorrelationsPro = intFlowCorrelationsPro;};
410  TProfile* GetIntFlowCorrelationsPro() const {return this->fIntFlowCorrelationsPro;};
411  void SetIntFlowSquaredCorrelationsPro(TProfile* const ifscp) {this->fIntFlowSquaredCorrelationsPro = ifscp;};
413  void SetIntFlowCorrelationsVsMPro(TProfile* const ifcvp, Int_t const ci) {this->fIntFlowCorrelationsVsMPro[ci] = ifcvp;};
414  TProfile* GetIntFlowCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowCorrelationsVsMPro[ci];};
415  void SetIntFlowSquaredCorrelationsVsMPro(TProfile* const ifscvp, Int_t const ci) {this->fIntFlowSquaredCorrelationsVsMPro[ci] = ifscvp;};
416  TProfile* GetIntFlowSquaredCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowSquaredCorrelationsVsMPro[ci];};
417  void SetIntFlowCorrelationsAllPro(TProfile* const intFlowCorrelationsAllPro) {this->fIntFlowCorrelationsAllPro = intFlowCorrelationsAllPro;};
418  TProfile* GetIntFlowCorrelationsAllPro() const {return this->fIntFlowCorrelationsAllPro;};
419  void SetIntFlowExtraCorrelationsPro(TProfile* const intFlowExtraCorrelationsPro) {this->fIntFlowExtraCorrelationsPro = intFlowExtraCorrelationsPro;};
421  void SetIntFlowProductOfCorrelationsPro(TProfile* const intFlowProductOfCorrelationsPro) {this->fIntFlowProductOfCorrelationsPro = intFlowProductOfCorrelationsPro;};
423  void SetIntFlowProductOfCorrelationsVsMPro(TProfile* const ifpocvm, Int_t const pi) {this->fIntFlowProductOfCorrelationsVsMPro[pi] = ifpocvm;};
425  void SetIntFlowProductOfCorrectionTermsForNUAPro(TProfile* const ifpoctfNUA) {this->fIntFlowProductOfCorrectionTermsForNUAPro = ifpoctfNUA;};
427  void SetIntFlowCorrectionTermsForNUAPro(TProfile* const ifctfnp, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAPro[sc] = ifctfnp;};
429  void SetIntFlowCorrectionTermsForNUAVsMPro(TProfile* const ifctfnpvm, Int_t const sc, Int_t const ci) {this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci] = ifctfnpvm;};
431  // integrated flow histograms holding all results:
432  void SetIntFlowCorrelationsHist(TH1D* const intFlowCorrelationsHist) {this->fIntFlowCorrelationsHist = intFlowCorrelationsHist;};
434  void SetIntFlowCorrelationsVsMHist(TH1D* const ifcvmh, Int_t const ci) {this->fIntFlowCorrelationsVsMHist[ci] = ifcvmh;};
436  void SetIntFlowCorrelationsAllHist(TH1D* const intFlowCorrelationsAllHist) {this->fIntFlowCorrelationsAllHist = intFlowCorrelationsAllHist;};
438  void SetIntFlowCorrectionTermsForNUAHist(TH1D* const ifctfnh, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAHist[sc] = ifctfnh;};
440  void SetIntFlowCovariances(TH1D* const intFlowCovariances) {this->fIntFlowCovariances = intFlowCovariances;};
442  void SetIntFlowSumOfEventWeights(TH1D* const intFlowSumOfEventWeights, Int_t const power) {this->fIntFlowSumOfEventWeights[power] = intFlowSumOfEventWeights;};
443  TH1D* GetIntFlowSumOfEventWeights(Int_t power) const {return this->fIntFlowSumOfEventWeights[power];};
444  void SetIntFlowSumOfProductOfEventWeights(TH1D* const intFlowSumOfProductOfEventWeights) {this->fIntFlowSumOfProductOfEventWeights = intFlowSumOfProductOfEventWeights;};
446  void SetIntFlowCovariancesVsM(TH1D* const ifcvm, Int_t ci) {this->fIntFlowCovariancesVsM[ci] = ifcvm;};
448  void SetIntFlowSumOfEventWeightsVsM(TH1D* const ifsoewvm, Int_t si, Int_t lc) {this->fIntFlowSumOfEventWeightsVsM[si][lc] = ifsoewvm;};
452  void SetIntFlowCovariancesNUA(TH1D* const intFlowCovariancesNUA) {this->fIntFlowCovariancesNUA = intFlowCovariancesNUA;};
454  void SetIntFlowSumOfEventWeightsNUA(TH1D* const ifsoewNUA, Int_t const sc, Int_t const power) {this->fIntFlowSumOfEventWeightsNUA[sc][power] = ifsoewNUA;};
455  TH1D* GetIntFlowSumOfEventWeightsNUA(Int_t sc, Int_t power) const {return this->fIntFlowSumOfEventWeightsNUA[sc][power];};
458  void SetIntFlowQcumulants(TH1D* const intFlowQcumulants) {this->fIntFlowQcumulants = intFlowQcumulants;};
459  TH1D* GetIntFlowQcumulants() const {return this->fIntFlowQcumulants;};
460  void SetIntFlowQcumulantsVsM(TH1D* const intFlowQcumulantsVsM, Int_t co) {this->fIntFlowQcumulantsVsM[co] = intFlowQcumulantsVsM;};
461  TH1D* GetIntFlowQcumulantsVsM(Int_t co) const {return this->fIntFlowQcumulantsVsM[co];};
462  void SetIntFlowQcumulantsRebinnedInM(TH1D* const ifqcrim) {this->fIntFlowQcumulantsRebinnedInM = ifqcrim;};
466  void SetIntFlow(TH1D* const intFlow) {this->fIntFlow = intFlow;};
467  TH1D* GetIntFlow() const {return this->fIntFlow;};
468  void SetIntFlowVsM(TH1D* const intFlowVsM, Int_t co) {this->fIntFlowVsM[co] = intFlowVsM;};
469  TH1D* GetIntFlowVsM(Int_t co) const {return this->fIntFlowVsM[co];};
470  void SetIntFlowRebinnedInM(TH1D* const ifrim) {this->fIntFlowRebinnedInM = ifrim;};
472  void SetIntFlowDetectorBias(TH1D* const ifdb) {this->fIntFlowDetectorBias = ifdb;};
474  void SetIntFlowDetectorBiasVsM(TH1D* const ifdbvm, Int_t ci) {this->fIntFlowDetectorBiasVsM[ci] = ifdbvm;};
476 
477  // 4.) Differential flow:
478  // Flags:
479  void SetDiffFlowFlags(TProfile* const diffFlowFlags) {this->fDiffFlowFlags = diffFlowFlags;};
480  TProfile* GetDiffFlowFlags() const {return this->fDiffFlowFlags;};
481  void SetCalculateDiffFlow(Bool_t const cdf) {this->fCalculateDiffFlow = cdf;};
483  void SetCalculate2DDiffFlow(Bool_t const c2ddf) {this->fCalculate2DDiffFlow = c2ddf;};
485  void SetCalculateDiffFlowVsEta(Bool_t const cdfve) {this->fCalculateDiffFlowVsEta = cdfve;};
487  // Profiles:
488  // 1D:
489  void SetDiffFlowCorrelationsPro(TProfile* const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsPro[i][j][k] = diffFlowCorrelationsPro;};
490  TProfile* GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsPro[i][j][k];};
491  void SetDiffFlowSquaredCorrelationsPro(TProfile* const diffFlowSquaredCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowSquaredCorrelationsPro[i][j][k] = diffFlowSquaredCorrelationsPro;};
492  TProfile* GetDiffFlowSquaredCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowSquaredCorrelationsPro[i][j][k];};
493  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;};
494  TProfile* GetDiffFlowProductOfCorrelationsPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowProductOfCorrelationsPro[i][j][k][l];};
495  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;};
496  TProfile* GetDiffFlowCorrectionTermsForNUAPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l];};
497  // 2D:
498  void Set2DDiffFlowCorrelationsPro(TProfile2D* const p2ddfcp, Int_t const i, Int_t const k) {this->f2DDiffFlowCorrelationsPro[i][k] = p2ddfcp;};
499  TProfile2D* Get2DDiffFlowCorrelationsPro(Int_t i, Int_t k) const {return this->f2DDiffFlowCorrelationsPro[i][k];};
500  // Other differential correlators:
501  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;};
502  TProfile* GetOtherDiffCorrelators(Int_t i,Int_t j,Int_t k,Int_t l) const {return this->fOtherDiffCorrelators[i][j][k][l];};
503  // histograms:
504  void SetDiffFlowCorrelationsHist(TH1D* const diffFlowCorrelationsHist, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsHist[i][j][k] = diffFlowCorrelationsHist;};
505  TH1D* GetDiffFlowCorrelationsHist(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsHist[i][j][k];};
506  void SetDiffFlowCovariances(TH1D* const diffFlowCovariances, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCovariances[i][j][k] = diffFlowCovariances;};
507  TH1D* GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCovariances[i][j][k];};
508  void SetDiffFlowCumulants(TH1D* const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCumulants[i][j][k] = diffFlowCumulants;};
509  TH1D* GetDiffFlowCumulants(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCumulants[i][j][k];};
510  void SetDiffFlowDetectorBias(TH1D* const dfdb, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowDetectorBias[i][j][k] = dfdb;};
511  TH1D* GetDiffFlowDetectorBias(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDetectorBias[i][j][k];};
512  void SetDiffFlow(TH1D* const diffFlow, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlow[i][j][k] = diffFlow;};
513  TH1D* GetDiffFlow(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlow[i][j][k];};
514  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;};
515  TH1D* GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfEventWeights[i][j][k][l];};
516  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;};
518  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;};
520  // 2D:
521  void Set2DDiffFlowCumulants(TH2D* const h2ddfc, Int_t const i, Int_t const j) {this->f2DDiffFlowCumulants[i][j] = h2ddfc;};
522  TH2D* Get2DDiffFlowCumulants(Int_t i, Int_t j) const {return this->f2DDiffFlowCumulants[i][j];};
523  void Set2DDiffFlow(TH2D* const h2ddf, Int_t const i, Int_t const j) {this->f2DDiffFlow[i][j] = h2ddf;};
524  TH2D* Get2DDiffFlow(Int_t i, Int_t j) const {return this->f2DDiffFlow[i][j];};
525 
526  // 5.) distributions of correlations:
527  // profile:
528  void SetDistributionsFlags(TProfile* const distributionsFlags) {this->fDistributionsFlags = distributionsFlags;};
529  TProfile* GetDistributionsFlags() const {return this->fDistributionsFlags;};
530  // flags:
531  void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;};
533  // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]:
536  // histograms:
537  void SetDistributions(TH1D* const distributions, Int_t const i) {this->fDistributions[i] = distributions;};
538  TH1D* GetDistributions(Int_t i) const {return this->fDistributions[i];};
539  // min and max values of correlations (ci is correlations index [0=<2>,1=<4>,2=<6>,3=<8>]):
540  void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue) {this->fMinValueOfCorrelation[ci] = minValue;};
542  void SetMaxValueOfCorrelation(Int_t const ci, Double_t const maxValue) {this->fMaxValueOfCorrelation[ci] = maxValue;};
544  // min and max values of correlation products:
545  void SetMinValueOfCorrelationProduct(Int_t const cpi, Double_t const minValue) {this->fMinValueOfCorrelationProduct[cpi] = minValue;};
547  void SetMaxValueOfCorrelationProduct(Int_t const cpi, Double_t const maxValue) {this->fMaxValueOfCorrelationProduct[cpi] = maxValue;};
549  // min and max values of QvectorTerms:
550  void SetMinValueOfQvectorTerms(Int_t const qvti, Double_t const minValue) {this->fMinValueOfQvectorTerms[qvti] = minValue;};
552  void SetMaxValueOfQvectorTerms(Int_t const qvti, Double_t const maxValue) {this->fMaxValueOfQvectorTerms[qvti] = maxValue;};
554 
555  // x.) debugging and cross-checking:
556  void SetNestedLoopsList(TList* const nllist) {this->fNestedLoopsList = nllist;};
557  TList* GetNestedLoopsList() const {return this->fNestedLoopsList;};
562  void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity) {this->fMaxAllowedMultiplicity = maxAllowedMultiplicity;};
564  void SetEvaluateNestedLoops(TProfile* const enl) {this->fEvaluateNestedLoops = enl;};
565  TProfile* GetEvaluateNestedLoops() const {return this->fEvaluateNestedLoops;};
566  void SetIntFlowDirectCorrelations(TProfile* const ifdc) {this->fIntFlowDirectCorrelations = ifdc;};
567  TProfile* GetIntFlowDirectCorrelations() const {return this->fIntFlowDirectCorrelations;};
568  void SetIntFlowExtraDirectCorrelations(TProfile* const ifedc) {this->fIntFlowExtraDirectCorrelations = ifedc;};
570  void SetIntFlowDirectCorrectionTermsForNUA(TProfile* const ifdctfn, Int_t const sc) {this->fIntFlowDirectCorrectionTermsForNUA[sc] = ifdctfn;};
572  void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo) {this->fCrossCheckInPtBinNo = crossCheckInPtBinNo;};
574  void SetCrossCheckInEtaBinNo(Int_t const crossCheckInEtaBinNo) {this->fCrossCheckInEtaBinNo = crossCheckInEtaBinNo;};
576  void SetNoOfParticlesInBin(TH1D* const noOfParticlesInBin) {this->fNoOfParticlesInBin = noOfParticlesInBin;};
578  void SetDiffFlowDirectCorrelations(TProfile* const diffFlowDirectCorrelations,Int_t const i,Int_t const j,Int_t const k){this->fDiffFlowDirectCorrelations[i][j][k]=diffFlowDirectCorrelations;};
579  TProfile* GetDiffFlowDirectCorrelations(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDirectCorrelations[i][j][k];};
580  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;};
582  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;};
583  TProfile* GetOtherDirectDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fOtherDirectDiffCorrelators[i][j][k][l];};
584  void SetMixedHarmonicsNestedLoops(TProfile* const mhnl) {this->fMixedHarmonicsNestedLoops = mhnl;};
585  TProfile* GetMixedHarmonicsNestedLoops() const {return this->fMixedHarmonicsNestedLoops;};
586 
587  // 9.) Mixed harmonics:
588  void SetMixedHarmonicsList(TList* const mhlist) {this->fMixedHarmonicsList = mhlist;};
589  void SetMixedHarmonicsFlags(TProfile* const mhFlags) {this->fMixedHarmonicsFlags = mhFlags;};
590  TProfile* GetMixedHarmonicsFlags() const {return this->fMixedHarmonicsFlags;};
595  void Set2pCorrelations(TProfile* const p2pCorr) {this->f2pCorrelations = p2pCorr;};
596  TProfile* Get2pCorrelations() const {return this->f2pCorrelations;};
597  void Set3pCorrelations(TProfile* const p3pCorr) {this->f3pCorrelations = p3pCorr;};
598  TProfile* Get3pCorrelations() const {return this->f3pCorrelations;};
599  void Set4pCorrelations(TProfile* const p4pCorr) {this->f4pCorrelations = p4pCorr;};
600  TProfile* Get4pCorrelations() const {return this->f4pCorrelations;};
601  void Set5pCorrelations(TProfile* const p5pCorr) {this->f5pCorrelations = p5pCorr;};
602  TProfile* Get5pCorrelations() const {return this->f5pCorrelations;};
603  void Set6pCorrelations(TProfile* const p6pCorr) {this->f6pCorrelations = p6pCorr;};
604  TProfile* Get6pCorrelations() const {return this->f6pCorrelations;};
605  void Set7pCorrelations(TProfile* const p7pCorr) {this->f7pCorrelations = p7pCorr;};
606  TProfile* Get7pCorrelations() const {return this->f7pCorrelations;};
607  void Set8pCorrelations(TProfile* const p8pCorr) {this->f8pCorrelations = p8pCorr;};
608  TProfile* Get8pCorrelations() const {return this->f8pCorrelations;};
609  void Set2pCumulants(TH1D* const p2pC) {this->f2pCumulants = p2pC;};
610  TH1D* Get2pCumulants() const {return this->f2pCumulants;};
611  void Set3pCumulants(TH1D* const p3pC) {this->f3pCumulants = p3pC;};
612  TH1D* Get3pCumulants() const {return this->f3pCumulants;};
613  void Set4pCumulants(TH1D* const p4pC) {this->f4pCumulants = p4pC;};
614  TH1D* Get4pCumulants() const {return this->f4pCumulants;};
615  void Set5pCumulants(TH1D* const p5pC) {this->f5pCumulants = p5pC;};
616  TH1D* Get5pCumulants() const {return this->f5pCumulants;};
617  void Set6pCumulants(TH1D* const p6pC) {this->f6pCumulants = p6pC;};
618  TH1D* Get6pCumulants() const {return this->f6pCumulants;};
619  void Set7pCumulants(TH1D* const p7pC) {this->f7pCumulants = p7pC;};
620  TH1D* Get7pCumulants() const {return this->f7pCumulants;};
621  void Set8pCumulants(TH1D* const p8pC) {this->f8pCumulants = p8pC;};
622  TH1D* Get8pCumulants() const {return this->f8pCumulants;};
623  void SetMixedHarmonicEventWeights(TH1D* const mhew, Int_t const power) {this->fMixedHarmonicEventWeights[power] = mhew;};
627  void SetMixedHarmonicProductOfCorrelations(TProfile2D* const mhpoc) {this->fMixedHarmonicProductOfCorrelations = mhpoc;};
629 
630  // 10.) Control histograms:
631  void SetControlHistogramsList(TList* const chl) {this->fControlHistogramsList = chl;};
632  void SetControlHistogramsFlags(TProfile* const chf) {this->fControlHistogramsFlags = chf;};
633  TProfile* GetControlHistogramsFlags() const {return this->fControlHistogramsFlags;};
636  void SetCorrelationNoRPsVsRefMult(TH2D* const cnrvrm) {this->fCorrelationNoRPsVsRefMult = cnrvrm;};
638  void SetCorrelationNoPOIsVsRefMult(TH2D* const cnpvrm) {this->fCorrelationNoPOIsVsRefMult = cnpvrm;};
640  void SetCorrelationNoRPsVsNoPOIs(TH2D* const cnrvnp) {this->fCorrelationNoRPsVsNoPOIs = cnrvnp;};
642  void SetCorrelation2468VsMult(TH2D* const c2468vm, Int_t const ci) {this->fCorrelation2468VsMult[ci] = c2468vm;};
644  void SetCorrelationProduct2468VsMult(TH2D* const cp2468vm, Int_t const ci) {this->fCorrelationProduct2468VsMult[ci] = cp2468vm;};
646  void SetQvectorTermsVsMult(TH2D* const qvtvm, Int_t const qvti) {this->fQvectorTermsVsMult[qvti] = qvtvm;};
647  TH2D* GetQvectorTermsVsMult(Int_t qvti) const {return this->fQvectorTermsVsMult[qvti];};
648 
649  // 11.) Bootstrap:
650  void SetBootstrapList(TList* const bl) {this->fBootstrapList = bl;};
651  void SetBootstrapProfilesList(TList* const bpl) {this->fBootstrapProfilesList = bpl;};
652  void SetBootstrapResultsList(TList* const brl) {this->fBootstrapResultsList = brl;};
653  void SetBootstrapFlags(TProfile* const bf) {this->fBootstrapFlags = bf;};
654  TProfile* GetBootstrapFlags() const {return this->fBootstrapFlags;};
655  void SetUseBootstrap(Bool_t const ub) {this->fUseBootstrap = ub;};
656  Bool_t GetUseBootstrap() const {return this->fUseBootstrap;};
657  void SetUseBootstrapVsM(Bool_t const ubVsM) {this->fUseBootstrapVsM = ubVsM;};
658  Bool_t GetUseBootstrapVsM() const {return this->fUseBootstrapVsM;};
659  void SetnSubsamples(Int_t const ns) {this->fnSubsamples = ns;};
660  Int_t GetnSubsamples() const {return this->fnSubsamples;};
661  void SetBootstrapCorrelations(TProfile2D* const bcp) {this->fBootstrapCorrelations = bcp;};
662  TProfile2D* GetBootstrapCorrelations() const {return this->fBootstrapCorrelations;};
663  void SetBootstrapCorrelationsVsM(TProfile2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCorrelationsVsM[qvti] = bcpVsM;};
664  TProfile2D* GetBootstrapCorrelationsVsM(Int_t qvti) const {return this->fBootstrapCorrelationsVsM[qvti];};
665  void SetBootstrapCumulants(TH2D* const bc) {this->fBootstrapCumulants = bc;};
667  void SetBootstrapCumulantsVsM(TH2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCumulantsVsM[qvti] = bcpVsM;};
668  TH2D* GetBootstrapCumulantsVsM(Int_t qvti) const {return this->fBootstrapCumulantsVsM[qvti];};
669 
670  // 12.) CRC
671  void SetCRCList(TList* const CRCL) {this->fCRCList = CRCL;};
672  void SetCRCIntList(TList* const CRCL) {this->fCRCIntList = CRCL;};
673  void SetCRCIntRbRList(TList* const CRCL) {this->fCRCIntRbRList = CRCL;};
674  void SetCRCIntRunsList(TList* const CRCL, Int_t r) {this->fCRCIntRunsList[r] = CRCL;};
675  void SetCRCVZList(TList* const CRCL) {this->fCRCVZList = CRCL;};
676  void SetCRCVZRbRList(TList* const CRCL) {this->fCRCVZRbRList = CRCL;};
677  void SetCRCVZRunsList(TList* const CRCL, Int_t r) {this->fCRCVZRunsList[r] = CRCL;};
678  void SetCRCZDCList(TList* const CRCL) {this->fCRCZDCList = CRCL;};
679  void SetCRCZDCRbRList(TList* const CRCL) {this->fCRCZDCRbRList = CRCL;};
680  void SetCRCZDCRunsList(TList* const CRCL, Int_t r) {this->fCRCZDCRunsList[r] = CRCL;};
681  void SetCRCPtList(TList* const CRCL) {this->fCRCPtList = CRCL;};
682  void SetCRC2List(TList* const CRCL) {this->fCRC2List = CRCL;};
683  void SetCRC2RbRList(TList* const CRCL) {this->fCRC2RbRList = CRCL;};
684  void SetCRC2RunsList(TList* const CRCL, Int_t r) {this->fCRC2RunsList[r] = CRCL;};
685  void SetCRCQVecList(TList* const CRCL) {this->fCRCQVecList = CRCL;};
686  void SetCRCQVecListRun(TList* const CRCL, Int_t r) {this->fCRCQVecListRun[r] = CRCL;};
687  void SetCRCFlags(TProfile* const CRCF) {this->fCRCFlags = CRCF;};
688  TProfile* GetCRCFlags() const {return this->fCRCFlags;};
689  void SetCalculateCRC(Bool_t const cCRC) {this->fCalculateCRC = cCRC;};
690  Bool_t GetCalculateCRC() const {return this->fCalculateCRC;};
691  void SetCalculateCRCPt(Bool_t const cCRC) {this->fCalculateCRCPt = cCRC;};
692  Bool_t GetCalculateCRCPt() const {return this->fCalculateCRCPt;};
693  void SetCalculateCME(Bool_t const cCRC) {this->fCalculateCME = cCRC;};
694  Bool_t GetCalculateCME() const {return this->fCalculateCME;};
695  void SetCalculateFlowQC(Bool_t const cCRC) {this->fCalculateFlowQC = cCRC;};
696  Bool_t GetCalculateFlowQC() const {return this->fCalculateFlowQC;};
697  void SetCalculateFlowZDC(Bool_t const cCRC) {this->fCalculateFlowZDC = cCRC;};
699  void SetCalculateFlowVZ(Bool_t const cCRC) {this->fCalculateFlowVZ = cCRC;};
700  Bool_t GetCalculateFlowVZ() const {return this->fCalculateFlowVZ;};
701  void SetCalculateCRC2(Bool_t const cCRC) {this->fCalculateCRC2 = cCRC;};
702  Bool_t GetCalculateCRC2() const {return this->fCalculateCRC2;};
703  void SetCalculateCRCVZ(Bool_t const cCRC) {this->fCalculateCRCVZ = cCRC;};
704  Bool_t GetCalculateCRCVZ() const {return this->fCalculateCRCVZ;};
705  void SetCalculateCRCZDC(Bool_t const cCRC) {this->fCalculateCRCZDC = cCRC;};
706  Bool_t GetCalculateCRCZDC() const {return this->fCalculateCRCZDC;};
707  void SetCalculateEbEFlow(Bool_t const cCRC) {this->fCalculateEbEFlow = cCRC;};
709  void SetUseVZERO(Bool_t const cCRC) {this->fUseVZERO = cCRC;};
710  Bool_t GetUseVZERO() const {return this->fUseVZERO;};
711  void SetUseZDC(Bool_t const cCRC) {this->fUseZDC = cCRC;};
712  Bool_t GetUseZDC() const {return this->fUseZDC;};
713  void SetRecenterZDC(Bool_t const cCRC) {this->fRecenterZDC = cCRC;};
714  Bool_t GetRecenterZDC() const {return this->fRecenterZDC;};
715  void SetDivSigma(Bool_t const cCRC) {this->fDivSigma = cCRC;};
716  Bool_t GetDivSigma() const {return this->fDivSigma;};
717  void SetInvertZDC(Bool_t const cCRC) {this->fInvertZDC = cCRC;};
718  Bool_t GetInvertZDC() const {return this->fInvertZDC;};
719  void SetQAZDCCuts(Bool_t const cCRC) {this->fQAZDCCuts = cCRC;};
720  Bool_t GetQAZDCCuts() const {return this->fQAZDCCuts;};
721  void SetTestSin(Bool_t const cCRC) {this->fCRCTestSin = cCRC;};
722  Bool_t GetTestSin() const {return this->fCRCTestSin;};
723  void SetNUAforCRC(Bool_t const cCRC) {this->fNUAforCRC = cCRC;};
724  Bool_t GetNUAforCRC() const {return this->fNUAforCRC;};
725  void SetUseCRCRecenter(Bool_t const cCRC) {this->fUseCRCRecenter = cCRC;};
726  Bool_t GetUseCRCRecenter() const {return this->fUseCRCRecenter;};
728  void SetCRCQVecWeightsList(TList* const wlist) {this->fCRCQVecWeightsList = wlist;}
730  void SetCRCZDCCalibList(TList* const wlist) {this->fCRCZDCCalibList = wlist;}
731  TList* GetCRCZDCCalibList() const {return this->fCRCZDCCalibList;}
732  void SetZDCESEList(TList* const kList) {this->fZDCESEList = kList;};
733  TList* GetZDCESEList() const {return this->fZDCESEList;};
734  // 12.a) EbE Corr:
735  void SetCRCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProdTempHist[c][eg][h] = TH;};
736  TH1D* GetCRCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProdTempHist[c][eg][h];};
737  // 12.b) Final histo:
738  void SetCRCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrHist[c][eg][h] = TH;};
739  TH1D* GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrHist[c][eg][h];};
740  void SetCRCCumHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCumHist[c][eg][h] = TH;};
741  TH1D* GetCRCCumHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCumHist[c][eg][h];};
742  void SetCRCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCCFunHist[eg][h] = TH;};
743  TH1D* GetCRCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCCFunHist[eg][h];};
744  // 12.c) Covariances:
745  void SetCRCCorrProd2p2pPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProd2p2pPro[c][eg][h] = TP;};
746  TProfile* GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProd2p2pPro[c][eg][h];};
747  void SetCRCCovHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCovHist[c][eg][h] = TH;};
748  TH1D* GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCovHist[c][eg][h];};
749  // 12.d) NUA corrections:
750  void SetCRCNUATermsHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCNUATermsHist[c][eg][h] = TH;};
751  TH1D* GetCRCNUATermsHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCNUATermsHist[c][eg][h];};
752 
753  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;};
754  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];};
755  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;};
756  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];};
757  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;};
758  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];};
759 
760  // 12.e) Q Vectors:
761  void SetCRCQnReHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnRe[r][h] = TH;};
762  TProfile* GetCRCQnReHist(Int_t const r, Int_t const h) const {return this->fCRCQnRe[r][h];};
763  void SetCRCQnImHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnIm[r][h] = TH;};
764  TProfile* GetCRCQnImHist(Int_t const r, Int_t const h) const {return this->fCRCQnIm[r][h];};
765  void SetCRCQnReCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnReCorr[r][h] = TH;};
766  TProfile* GetCRCQnReCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnReCorr[r][h];};
767  void SetCRCQnImCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnImCorr[r][h] = TH;};
768  TProfile* GetCRCQnImCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnImCorr[r][h];};
769  void SetCRCPhiHist(TH2D* const TH, Int_t const r, Int_t const c, Int_t const i) {this->fCRCPhiHist[r][c][i] = TH;};
770  TH2D* GetCRCPhiHist(Int_t const r, Int_t const c, Int_t const i) const {return this->fCRCPhiHist[r][c][i];};
771 
772  void SetCRCVZQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecA[r][c] = TH;};
773  TProfile* GetCRCVZQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecA[r][c];};
774  void SetCRCVZQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecC[r][c] = TH;};
775  TProfile* GetCRCVZQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecC[r][c];};
776 
777  void SetCRCZDCQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecA[r][c] = TH;};
778  TProfile* GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecA[r][c];};
779  void SetCRCZDCQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecC[r][c] = TH;};
780  TProfile* GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecC[r][c];};
781  void SetCRCZDCQVecACorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecACorr[r][c] = TH;};
782  TProfile* GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecACorr[r][c];};
783  void SetCRCZDCQVecCCorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecCCorr[r][c] = TH;};
784  TProfile* GetCRCZDCQVecCCorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecCCorr[r][c];};
785  void SetCRCZDCQVecCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCZDCQVecCov[r][i] = TH;};
786  TProfile* GetCRCZDCQVecCov(Int_t const r, Int_t const i) const {return this->fCRCZDCQVecCov[r][i];};
787 
788 // void SetCRCVZvsZDCCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCVZvsZDCCov[r][i] = TH;};
789 // TProfile* GetCRCVZvsZDCCov(Int_t const r, Int_t const i) const {return this->fCRCVZvsZDCCov[r][i];};
790 
791  // CRC VZERO:
792  // 12.a) EbE Corr:
793  void SetCRCVZCorrPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrPro[r][c][eg][h] = TP;};
794  TProfile* GetCRCVZCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrPro[r][c][eg][h];};
795  void SetCRCVZCorrProd2p2pHist(TProfile* const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrProd2p2pHist[r][c][eg][h] = TH;};
796  TProfile* GetCRCVZCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrProd2p2pHist[r][c][eg][h];};
797  void SetCRCVZNUAPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZNUAPro[r][c][eg][h] = TP;};
798  TProfile* GetCRCVZNUAPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZNUAPro[r][c][eg][h];};
799  // 12.b) Final histo:
800  void SetCRCVZCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrHist[c][eg][h] = TH;};
801  TH1D* GetCRCVZCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrHist[c][eg][h];};
802  void SetCRCVZCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCVZCFunHist[eg][h] = TH;};
803  TH1D* GetCRCVZCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCVZCFunHist[eg][h];};
804  // 12.c) Covariances:
805  void SetCRCVZCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCovHist[c][eg][h] = TH;};
806  TH2D* GetCRCVZCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCovHist[c][eg][h];};
807  void SetCRCVZCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrProdTempHist[c][eg][h] = TH;};
808  TH1D* GetCRCVZCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrProdTempHist[c][eg][h];};
809 
810  // CRC ZDC:
811  // 12.a) EbE Corr:
812  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;};
813  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];};
814  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;};
815  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];};
816  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;};
817  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];};
818  // 12.b) Final histo:
819  void SetCRCZDCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrHist[c][eg][h] = TH;};
820  TH1D* GetCRCZDCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrHist[c][eg][h];};
821  void SetCRCZDCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCCFunHist[eg][h] = TH;};
822  TH1D* GetCRCZDCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCZDCCFunHist[eg][h];};
823  void SetCRCZDCSpectra(TProfile* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCSpectra[eg][h] = TH;};
824  TProfile* GetCRCZDCSpectra(Int_t const eg, Int_t const h) const {return this->fCRCZDCSpectra[eg][h];};
825 
826  // 12.c) Covariances:
827  void SetCRCZDCCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCovHist[c][eg][h] = TH;};
828  TH2D* GetCRCZDCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCovHist[c][eg][h];};
829  void SetCRCZDCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrProdTempHist[c][eg][h] = TH;};
830  TH1D* GetCRCZDCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrProdTempHist[c][eg][h];};
831 
832  // CRC2:
833  void SetCRC2nEtaBins(Int_t NB) {this->fCRC2nEtaBins = NB;};
835  void SetCRC2CorPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CorPro[r][h][c] = TP;};
836  TProfile* GetCRC2CorPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CorPro[r][h][c];};
837  void SetCRC2NUAPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAPro[r][h][c][e] = TP;};
838  TProfile* GetCRC2NUAPro(Int_t const r, Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAPro[r][h][c][e];};
839  void SetCRC2CorHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2CorHist[h][c][e] = TP;};
840  TH1D* GetCRC2CorHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2CorHist[h][c][e];};
841  void SetCRC2NUAHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAHist[h][c][e] = TP;};
842  TH1D* GetCRC2NUAHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAHist[h][c][e];};
843  void SetCRC2CovPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovPro[r][h][c] = TP;};
844  TProfile* GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovPro[r][h][c];};
845  void SetCRC2CovHist(TH1D* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovHist[r][h][c] = TP;};
846  TH1D* GetCRC2CovHist(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovHist[r][h][c];};
847 
848  // 13.) CRC Pt differential
849  void SetCRCPtTPCTNt(TNtuple* const TH) {this->fCRCPtTPCTNt = TH;};
850  TNtuple* GetCRCPtTPCTNt() const {return this->fCRCPtTPCTNt;};
851  void SetCRCPtVZTNt(TNtuple* const TH) {this->fCRCPtVZTNt = TH;};
852  TNtuple* GetCRCPtVZTNt() const {return this->fCRCPtVZTNt;};
853  void SetCRCPtZDCTNt(TNtuple* const TH) {this->fCRCPtZDCTNt = TH;};
854  TNtuple* GetCRCPtZDCTNt() const {return this->fCRCPtZDCTNt;};
855 
856  void SetCenWeightsHist(TH1D* const n) {this->fCenWeightsHist = n;};
857  TH1D* GetCenWeightsHist() const {return this->fCenWeightsHist;};
858  void SetPtWeightsHist(TH1D* const n, Int_t c) {this->fPtWeightsHist[c] = n;};
859  TH1D* GetPtWeightsHist(Int_t c) const {return this->fPtWeightsHist[c];};
860  void SetEtaWeightsHist(TH1D* const n, Int_t h, Int_t b, Int_t c) {this->fEtaWeightsHist[h][b][c] = n;};
861  TH1D* GetEtaWeightsHist(Int_t h, Int_t b, Int_t c) const {return this->fEtaWeightsHist[h][b][c];};
862  void SetNvsCenCut(TH1D* const n, Int_t c, Int_t h) {this->fNvsCenCut[c][h] = n;};
863  TH1D* GetNvsCenCut(Int_t c, Int_t h) const {return this->fNvsCenCut[c][h];};
864  void SetZNCentroid(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCentroid[eg][h] = n;};
865  TH2F* GetZNCentroid(Int_t const eg, Int_t const h) const {return this->fhZNCentroid[eg][h];};
866  void SetZNSpectra(TH1F* const n, Int_t const eg, Int_t const h) {this->fhZNSpectra[eg][h] = n;};
867  TH1F* GetZNSpectra(Int_t const eg, Int_t const h) const {return this->fhZNSpectra[eg][h];};
868  void SetZNCvsZNA(TH2F* const n, Int_t const h) {this->fhZNCvsZNA[h] = n;};
869  TH2F* GetZNCvsZNA(Int_t const h) const {return this->fhZNCvsZNA[h];};
870  void SetZNvsCen(TH2F* const n, Int_t const h) {this->fhZNvsCen[h] = n;};
871  TH2F* GetZNvsCen(Int_t const h) const {return this->fhZNvsCen[h];};
872  void SetZDCESEMultWeightsHist(TH2F* const n, Int_t h) {this->fZDCESEMultWeightsHist[h] = n;};
874  void SetZDCESESpecWeightsHist(TH2F* const n, Int_t h) {this->fZDCESESpecWeightsHist[h] = n;};
876  void SetZNvsTCen(TH2F* const n, Int_t const h) {this->fhZNvsTCen[h] = n;};
877  TH2F* GetZNvsTCen(Int_t const h) const {return this->fhZNvsTCen[h];};
878  void SetCenvsMul(TH2F* const n, Int_t const h) {this->fhCenvsMul[h] = n;};
879  TH2F* GetCenvsMul(Int_t const h) const {return this->fhCenvsMul[h];};
880  void SetCenvsSpec(TH2F* const n, Int_t const h) {this->fhCenvsSpec[h] = n;};
881  TH2F* GetCenvsSpec(Int_t const h) const {return this->fhCenvsSpec[h];};
882  void SetZNvsMul(TH2F* const n) {this->fhZNvsMul = n;};
883  TH2F* GetZNvsMul() const {return this->fhZNvsMul;};
884 
885  void SetZNCenvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCenvsMul[eg][h] = n;};
886  TH2F* GetZNCenvsMul(Int_t const eg, Int_t const h) const {return this->fhZNCenvsMul[eg][h];};
887  void SetZNResvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsMul[eg][h] = n;};
888  TH2F* GetZNResvsMul(Int_t const eg, Int_t const h) const {return this->fhZNResvsMul[eg][h];};
889  void SetZNResvsCen(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsCen[eg][h] = n;};
890  TH2F* GetZNResvsCen(Int_t const eg, Int_t const h) const {return this->fhZNResvsCen[eg][h];};
891 
893 
894  // Flow QC
895  void SetFlowQCList(TList* const TL) {this->fFlowQCList = TL;};
896  void SetFlowQCCenBin(Int_t const TL) {this->fFlowQCCenBin = TL;};
897  Int_t GetFlowQCCenBin() const {return this->fFlowQCCenBin;};
898  void SetFlowQCDeltaEta(Double_t const TL) {this->fFlowQCDeltaEta = TL;};
899  Double_t GetFlowQCDeltaEta() const {return this->fFlowQCDeltaEta;};
900  void SetFlowQCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorPro[c][eg][h] = TP;};
901  TProfile* GetFlowQCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorPro[c][eg][h];};
902  void SetFlowQCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorHist[c][eg][h] = TH;};
903  TH1D* GetFlowQCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorHist[c][eg][h];};
904  void SetFlowQCCorNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAPro[c][eg][h] = TP;};
905  TProfile* GetFlowQCCorNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAPro[c][eg][h];};
906 
907  TProfile* GetFlowQCIntCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorPro[eg][h];};
908  void SetFlowQCIntCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorPro[eg][k] = TP;};
909  TProfile* GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAPro[eg][h];};
910  void SetFlowQCIntCorNUAPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAPro[eg][k] = TP;};
911  TH1D* GetFlowQCIntCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorHist[eg][h];};
912  void SetFlowQCIntCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorHist[eg][k] = TP;};
913  TProfile* GetFlowQCNewCenPro(Int_t const eg, Int_t const h) const {return this->fFlowQCNewCenPro[eg][h];};
914  void SetFlowQCNewCenPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCNewCenPro[eg][k] = TP;};
915  TH1D* GetFlowQCNewCenHist(Int_t const eg, Int_t const h) const {return this->fFlowQCNewCenHist[eg][h];};
916  void SetFlowQCNewCenHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCNewCenHist[eg][k] = TP;};
917  TProfile* GetFlowQCMetricCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCMetricCorPro[eg][h];};
918  void SetFlowQCMetricCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCMetricCorPro[eg][k] = TP;};
919  TH1D* GetFlowQCMetricCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCMetricCorHist[eg][h];};
920  void SetFlowQCMetricCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCMetricCorHist[eg][k] = TP;};
921  TProfile* GetFlowQCIntCorProEG(Int_t const eg) const {return this->fFlowQCIntCorProEG[eg];};
922  void SetFlowQCIntCorProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCIntCorProEG[eg] = TP;};
923  TProfile* GetFlowQCIntCorNUAProEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAProEG[eg][h];};
924  void SetFlowQCIntCorNUAProEG(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAProEG[eg][k] = TP;};
925  TH1D* GetFlowQCIntCorHistEG(Int_t const eg) const {return this->fFlowQCIntCorHistEG[eg];};
926  void SetFlowQCIntCorHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCIntCorHistEG[eg] = TP;};
927  TProfile* GetFlowQCNewCenProEG(Int_t const eg) const {return this->fFlowQCNewCenProEG[eg];};
928  void SetFlowQCNewCenProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCNewCenProEG[eg] = TP;};
929  TH1D* GetFlowQCNewCenHistEG(Int_t const eg) const {return this->fFlowQCNewCenHistEG[eg];};
930  void SetFlowQCNewCenHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCNewCenHistEG[eg] = TP;};
931 
932  TProfile2D* GetFlowQCMetric2DProEG(Int_t const eg, Int_t const bng) const {return this->fFlowQCMetric2DProEG[eg][bng];};
933  void SetFlowQCMetric2DProEG(TProfile2D* const TP, Int_t const eg, Int_t const bng) {this->fFlowQCMetric2DProEG[eg][bng] = TP;};
934  TH2D* GetFlowQCMetric2DHistEG(Int_t const eg, Int_t const bng) const {return this->fFlowQCMetric2DHistEG[eg][bng];};
935  void SetFlowQCMetric2DHistEG(TH2D* const TP, Int_t const eg, Int_t const bng) {this->fFlowQCMetric2DHistEG[eg][bng] = TP;};
936 
937  void SetFlowQCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCFinalPtDifHist[c][eg][h] = TH;};
938  TH1D* GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCFinalPtDifHist[c][eg][h];};
939  void SetFlowQCSpectra(TH1D* const TH, Int_t const c) {this->fFlowQCSpectra[c] = TH;};
940  TH1D* GetFlowQCSpectra(Int_t const c) const {return this->fFlowQCSpectra[c];};
941 
942  void SetFlowSCv2vsZNv1Pro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Pro[c][eg] = TP;};
943  TProfile* GetFlowSCv2vsZNv1Pro(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Pro[c][eg];};
944  void SetFlowSCv2vsZNv1Hist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Hist[c][eg] = TP;};
945  TH1D* GetFlowSCv2vsZNv1Hist(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Hist[c][eg];};
946 
947  // Flow SP ZDC
948  void SetFlowSPZDCList(TList* const TL) {this->fFlowSPZDCList = TL;};
949  void SetFlowSPZDCRbRList(TList* const TL) {this->fFlowSPZDCRbRList = TL;};
950  void SetFlowSPZDCRunsList(TList* const TL, Int_t r) {this->fFlowSPZDCRunsList[r] = TL;};
951 
952  void SetFlowSPZDCCorPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorPro[r][c][eg][h] = TP;};
953  TProfile* GetFlowSPZDCCorPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorPro[r][c][eg][h];};
954  void SetFlowSPZDCCorNUA(TProfile* const TP, Int_t const r, Int_t const c, Int_t const h) {this->fFlowSPZDCCorNUA[r][c][h] = TP;};
955  TProfile* GetFlowSPZDCCorNUA(Int_t const r, Int_t const c, Int_t const h) const {return this->fFlowSPZDCCorNUA[r][c][h];};
956  void SetFlowSPZDCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorHist[c][eg][h] = TH;};
957  TH1D* GetFlowSPZDCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorHist[c][eg][h];};
958 
959  void SetFlowSPZDCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCFinalPtDifHist[c][eg][h] = TH;};
960  TH1D* GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCFinalPtDifHist[c][eg][h];};
961  void SetFlowSPZDCIntHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntHist[c][eg] = TH;};
962  TH1D* GetFlowSPZDCIntHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntHist[c][eg];};
963  void SetFlowSPZDCIntPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntPro[r][c][eg] = TP;};
964  TProfile* GetFlowSPZDCIntPro(Int_t const r, Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntPro[r][c][eg];};
965  void SetFlowSPZDCIntNUA(TProfile* const TP, Int_t const r, Int_t const eg) {this->fFlowSPZDCIntNUA[r][eg] = TP;};
966  TProfile* GetFlowSPZDCIntNUA(Int_t const r, Int_t const eg) const {return this->fFlowSPZDCIntNUA[r][eg];};
967 
968  // v1
969  void SetFlowSPZDCv1Pro(TProfile* const TP, Int_t const r) {this->fFlowSPZDCv1Pro[r] = TP;};
970  TProfile* GetFlowSPZDCv1Pro(Int_t const r) const {return this->fFlowSPZDCv1Pro[r];};
971  void SetFlowSPZDCv1etaPro(TProfile* const TP, Int_t const r) {this->fFlowSPZDCv1etaPro[r] = TP;};
972  TProfile* GetFlowSPZDCv1etaPro(Int_t const r) const {return this->fFlowSPZDCv1etaPro[r];};
973  void SetFlowSPZDCv1etaHist(TH1D* const TP, Int_t const r) {this->fFlowSPZDCv1etaHist[r] = TP;};
974  TH1D* GetFlowSPZDCv1etaHist(Int_t const r) const {return this->fFlowSPZDCv1etaHist[r];};
975 
976  // Flow SP VZ
977  void SetFlowSPVZList(TList* const TL) {this->fFlowSPVZList = TL;};
978  void SetFlowSPVZCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorPro[c][eg][h] = TP;};
979  TProfile* GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorPro[c][eg][h];};
980  void SetFlowSPVZNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h, Int_t const k) {this->fFlowSPVZNUAPro[c][eg][h][k] = TP;};
981  TProfile* GetFlowSPVZNUAPro(Int_t const c, Int_t const eg, Int_t const h, Int_t const k) const {return this->fFlowSPVZNUAPro[c][eg][h][k];};
982  void SetFlowSPVZCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorHist[c][eg][h] = TH;};
983  TH1D* GetFlowSPVZCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorHist[c][eg][h];};
984 
985  Int_t GetnRun() const {return this->fCRCnRun;};
986  Int_t GetCRCPtnCen() const {return this->fCRCPtnCenBin;};
987  Double_t GetCRCPtwCen() const {return this->fCRCPtwCenBin;};
988  Int_t GetnEG() const {return this->fCRCnEtaGap;};
989  Int_t GetCRCPtnPt() const {return this->fCRCPtnPtBin;};
990  Double_t GetCRCPtwPt() const {return this->fCRCPtwPtBin;};
991  Double_t GetCRCPtMinPt() const {return this->fCRCPtMinPt;};
992  Int_t GetnCR() const {return this->fCRCnCR;};
993  Double_t* GetCRCPtvarPtBins() const {return this->fCRCPtvarPtBins;};
994  Int_t GetCRCZDCnCR() const {return this->fCRCZDCnCR;};
995  Int_t GetCRCZDCnEtaBin() const {return this->fCRCZDCnEtaBin;};
996 
997  // CME:
998  void SetCMEList(TList* const TL) {this->fCMEList = TL;};
999  void SetCMETPCList(TList* const TL) {this->fCMETPCList = TL;};
1000  void SetCMEZDCList(TList* const TL) {this->fCMEZDCList = TL;};
1001  // CME TPC only:
1002  void SetCMETPCCorPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCCorPro[c][h] = TP;};
1003  TProfile* GetCMETPCCorPro(Int_t const c, Int_t const h) const {return this->fCMETPCCorPro[c][h];};
1004  void SetCMETPCCorHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCCorHist[c][h] = TH;};
1005  TH1D* GetCMETPCCorHist(Int_t const c, Int_t const h) const {return this->fCMETPCCorHist[c][h];};
1006  void SetCMETPCFinalHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCFinalHist[c][h] = TH;};
1007  TH1D* GetCMETPCFinalHist(Int_t const c, Int_t const h) const {return this->fCMETPCFinalHist[c][h];};
1008  void SetCMETPCCorPro2D(TProfile2D* const TP, Int_t const c) {this->fCMETPCCorPro2D[c] = TP;};
1009  TProfile2D* GetCMETPCCorPro2D(Int_t const c) const {return this->fCMETPCCorPro2D[c];};
1010  // CME TPC-ZDCs:
1011  void SetCMEZDCCorPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCorPro[eg][h] = TP;};
1012  TProfile* GetCMEZDCCorPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorPro[eg][h];};
1013  void SetCMEZDCCovPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCovPro[eg][h] = TP;};
1014  TProfile* GetCMEZDCCovPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovPro[eg][h];};
1015  void SetCMEZDCNUAPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCNUAPro[eg][h] = TP;};
1016  TProfile* GetCMEZDCNUAPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCNUAPro[eg][h];};
1017  void SetCMEZDCCorHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCorHist[eg][h] = TH;};
1018  TH1D* GetCMEZDCCorHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorHist[eg][h];};
1019  void SetCMEZDCCovHist(TH2D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCovHist[eg][h] = TH;};
1020  TH2D* GetCMEZDCCovHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovHist[eg][h];};
1021  void SetCMEZDCDistHist(TH1D* const TH, Int_t const eg, Int_t const h, Int_t const k) {this->fCMEZDCDistHist[eg][h][k] = TH;};
1022  TH1D* GetCMEZDCDistHist(Int_t const eg, Int_t const h, Int_t const k) const {return this->fCMEZDCDistHist[eg][h][k];};
1023 
1024  // EbE Flow
1025  void SetEbEFlowList(TList* const TL) {this->fEbEFlowList = TL;};
1026 
1027 
1028  // 15.) Various
1029  void SetVariousList(TList* const Various) {this->fVariousList = Various;};
1030  void SetMultHist(TH1D* const TH) {this->fMultHist = TH;};
1031  TH1D* GetMultHist() const {return this->fMultHist;}
1032  void SetCenHist(TH1D* const TH) {this->fCenHist = TH;};
1033  TH1D* GetCenHist() const {return this->fCenHist;}
1034  void SetVtxHist(TH2F* const TH, Int_t const c) {this->fVtxHist[c] = TH;};
1035  TH2F* GetVtxHist(Int_t const c) const {return this->fVtxHist[c];}
1036  void SetRunNumber(Int_t const n) {this->fRunNum = n;};
1037  Int_t GetRunNumber() const {return this->fRunNum;}
1038  void SetDataSet(DataSet set) {this->fDataSet = set;};
1039  DataSet GetDataSet() const {return this->fDataSet;}
1040  void SetMPolSelec(MagnetPol set) {this->fMPolSelec = set;};
1041  MagnetPol GetMPolSelec() const {return this->fMPolSelec;}
1042  void SetCorrWeightTPC(CorrelationWeights weights) {this->fCorrWeightTPC = weights;};
1044  void SetCorrWeightVZ(CorrelationWeights weights) {this->fCorrWeightVZ = weights;};
1046  void SetCorrWeightZDC(CorrelationWeights weights) {this->fCorrWeightZDC = weights;};
1048  void SetMinMulZN(Int_t weights) {this->fMinMulZN = weights;};
1049  Int_t GetMinMulZN() const {return this->fMinMulZN;};
1050  void SetMaxDevZN(Float_t weights) {this->fMaxDevZN = weights;};
1051  Float_t GetMaxDevZN() const {return this->fMaxDevZN;};
1052 
1053 private:
1054 
1055  AliFlowAnalysisCRC(const AliFlowAnalysisCRC& afawQc);
1057 
1058  // 0.) base:
1060 
1061  // 1.) common:
1062  Bool_t fBookOnlyBasicCCH; // book only basis common control histrograms (by default book them all)
1072  Int_t fnBinsPhi; // number of phi bins
1073  Double_t fPhiMin; // minimum phi
1074  Double_t fPhiMax; // maximum phi
1075  Double_t fPhiBinWidth; // bin width for phi histograms
1076  Int_t fnBinsPt; // number of pt bins
1077  Double_t fPtMin; // minimum pt
1078  Double_t fPtMax; // maximum pt
1079  Double_t fPtBinWidth; // bin width for pt histograms
1080  Int_t fnBinsEta; // number of eta bins
1081  Double_t fEtaMin; // minimum eta
1082  Double_t fEtaMax; // maximum eta
1083  Double_t fEtaBinWidth; // bin width for eta histograms
1084  TProfile *fCommonConstants;
1085  Bool_t fFillMultipleControlHistograms; // fill separately control histos for events with >= 2, 4, 6 and 8 particles
1086  Int_t fHarmonic; // harmonic
1088  Bool_t fPrintFinalResults[4]; // print on the screen the final results (0=RF, 1=RP, 2=POI, 3=RF rebinned in M)
1089 
1090  // 2a.) particle weights:
1091  TList *fWeightsList; // list to hold all histograms with particle weights: fUseParticleWeights, fPhiWeights, fPtWeights and fEtaWeights
1092  Bool_t fUsePhiWeights; // use phi weights
1093  Bool_t fUsePtWeights; // use pt weights
1094  Bool_t fUseEtaWeights; // use eta weights
1095  Bool_t fUseTrackWeights; // use track weights (e.g. VZERO sector weights)
1096  Bool_t fUsePhiEtaWeights; // use phi,eta weights
1097  Bool_t fUseZDCESEMulWeights; // use ZDC-ESE mult. weights
1098  Bool_t fUseZDCESESpecWeights; // use ZDC-ESE spec. weights
1100  // TH1F *fPhiWeightsPOIs[2]; //! histogram holding phi weights
1101  // TH1D *fPtWeightsPOIs[2]; //! histogram holding pt weights
1102  // TH1D *fEtaWeightsPOIs[2]; //! histogram holding eta weights
1103  // TH2D *fPhiEtaWeightsPOIs[2]; //! histogram holding phi,eta weights
1105  // TH1D *fPtWeightsRPs; //!
1106  // TH1D *fEtaWeightsRPs; //!
1107  // TH1F *fPhiDistrRefPOIs[2]; //! histogram holding phi weights
1108  // TH1D *fPtDistrRefPOIs[2]; //! histogram holding pt weights
1109  // TH1D *fEtaDistrRefPOIs[2]; //! histogram holding eta weights
1110  // TH2D *fPhiEtaDistrRefPOIs[2]; //! histogram holding phi,eta weights
1111  // TH1F *fPhiDistrRefRPs; //!
1112  // TH1D *fPtDistrRefRPs; //!
1113  // TH1D *fEtaDistrRefRPs; //!
1114  // TH2D *fPhiEtaDistrRefRPs; //!
1115  // TH1D *fPtWeights[2]; //! histogram holding pt weights
1117 
1118  // 2b.) event weights:
1121 
1122  // 3.) integrated flow
1123  // 3a.) lists:
1128  // 3b.) flags:
1129  TProfile *fIntFlowFlags;
1130  Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance
1131  Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M
1132  Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity
1133  Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity
1134  Double_t fMaxMult; // maximal multiplicity for flow analysis versus multiplicity
1135  Bool_t fPropagateErrorAlsoFromNIT; // propagate error by taking into account also non-isotropic terms (not sure if resulting error then is correct - to be improved)
1136  Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity
1137  Bool_t fCalculateAllCorrelationsVsM; // calculate all correlations versus multiplicity
1138  Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default)
1139  Bool_t fForgetAboutCovariances; // when propagating error forget about the covariances
1140  Bool_t fStoreVarious; // store phi distribution for one event to illustrate flow
1141  Int_t fExactNoRPs; // when shuffled, select only this number of RPs for the analysis
1142  Bool_t fUse2DHistograms; // use TH2D instead of TProfile to improve numerical stability in reference flow calculation
1143  Bool_t fFillProfilesVsMUsingWeights; // if the width of multiplicity bin is 1, weights are not needed
1144  Bool_t fUseQvectorTerms; // use TH2D with separate Q-vector terms instead of TProfile to improve numerical stability in reference flow calculation
1145 
1146  // 3c.) event-by-event quantities:
1147  TMatrixD *fReQ;
1148  TMatrixD *fImQ;
1149  TMatrixD *fSpk;
1155  Double_t fNumberOfRPsEBE; // # of Reference Particles
1156  Double_t fNumberOfPOIsEBE; // # of Particles of Interest
1157  Double_t fReferenceMultiplicityEBE; // reference multiplicity
1158  Double_t fCentralityEBE; // centrality percentile
1159  Double_t fNewCentralityEBE; // new centrality percentile
1160  Double_t fNewMetricLEBE; // new metric L
1161  Double_t fNewMetricDEBE; // new metric D
1162  Double_t fNewMetricL2EBE; // new metric L
1163  Double_t fNewMetricD2EBE; // new metric D
1164  Double_t fCentralityCL1EBE; // centrality (CL1) percentile
1165  Double_t fNITSCL1EBE; // centrality (TRK) percentile
1166  Double_t fCentralityTRKEBE; // centrality (TRK) percentile
1167  // 3d.) profiles:
1168  TProfile *fAvMultiplicity;
1178  // [0=<<2><4>>,1=<<2><6>>,2=<<2><8>>,3=<<4><6>>,4=<<4><8>>,5=<<6><8>>]
1182 
1183  // 3e.) histograms with final results:
1192  // [0=Cov(2,4),1=Cov(2,6),2=Cov(2,8),3=Cov(4,6),4=Cov(4,8),5=Cov(6,8)]
1194  // [0=sum{w_{<2>}},1=sum{w_{<4>}},2=sum{w_{<6>}},3=sum{w_{<8>}}][0=linear 1,1=quadratic]
1196  // [0=sum{w_{<2>}w_{<4>}},1=sum{w_{<2>}w_{<6>}},2=sum{w_{<2>}w_{<8>}},
1197  // 3=sum{w_{<4>}w_{<6>}},4=sum{w_{<4>}w_{<8>}},5=sum{w_{<6>}w_{<8>}}]
1210  // 4.) differential flow
1211  // 4a.) lists:
1216  // 4aa.) nested list in list fDiffFlowProfiles:
1221  // 4ab.) nested list in list fDiffFlowResults:
1230  // 4b.) flags:
1231  TProfile *fDiffFlowFlags;
1232  Bool_t fCalculateDiffFlow; // if you set kFALSE only reference flow will be calculated
1233  Bool_t fCalculate2DDiffFlow; // calculate 2D differential flow vs (pt,eta) (Remark: this is expensive in terms of CPU time)
1234  Bool_t fCalculateDiffFlowVsEta; // if you set kFALSE only differential flow vs pt is calculated
1235  // 4c.) event-by-event quantities:
1236  // 1D:
1237  TProfile *fReRPQ1dEBE[3][2][4][9];
1238  TProfile *fImRPQ1dEBE[3][2][4][9];
1239  TProfile *fs1dEBE[3][2][9];
1243 
1244  // 2D:
1245  TProfile2D *fReRPQ2dEBE[3][4][9];
1246  TProfile2D *fImRPQ2dEBE[3][4][9];
1247  TProfile2D *fs2dEBE[3][9];
1248  // 4d.) profiles:
1249  // 1D:
1250  TProfile *fDiffFlowCorrelationsPro[2][2][4];
1251  TProfile *fDiffFlowSquaredCorrelationsPro[2][2][4];
1252  TProfile *fDiffFlowProductOfCorrelationsPro[2][2][8][8];
1253  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1254  TProfile *fDiffFlowCorrectionTermsForNUAPro[2][2][2][10];
1255  // 2D:
1256  TProfile2D *f2DDiffFlowCorrelationsPro[2][4];
1257  // Other differential correlators:
1259  TProfile *fOtherDiffCorrelators[2][2][2][1];
1260  // 4e.) histograms holding final results:
1261  // 1D:
1266  TH1D *fDiffFlow[2][2][4];
1269  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1271  // 2D:
1274  // 6.) distributions:
1277  Bool_t fStoreDistributions; // store or not distributions of correlations
1279  Int_t fnBinsForCorrelations; // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]
1280  Double_t fMinValueOfCorrelation[4]; // min values of <2>, <4>, <6> and <8>
1281  Double_t fMaxValueOfCorrelation[4]; // max values of <2>, <4>, <6> and <8>
1282  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
1283  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
1284  Double_t fMinValueOfQvectorTerms[4]; // MinValueOfQvectorTerms
1285  Double_t fMaxValueOfQvectorTerms[4]; // MaxValueOfQvectorTerms
1286 
1287  // 8.) debugging and cross-checking:
1289  Bool_t fEvaluateIntFlowNestedLoops; // evaluate nested loops relevant for integrated flow
1290  Bool_t fEvaluateDiffFlowNestedLoops; // evaluate nested loops relevant for differential flow
1291  Int_t fMaxAllowedMultiplicity; // nested loops will be evaluated only for events with multiplicity <= fMaxAllowedMultiplicity
1293  // integrated flow:
1297  // differential flow:
1298  Int_t fCrossCheckInPtBinNo; // cross-check results for reduced correlations and corrections in this pt bin
1299  Int_t fCrossCheckInEtaBinNo; // cross-check results for reduced correlations and corrections in this eta bin
1300  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
1301  TProfile *fDiffFlowDirectCorrelations[2][2][4];
1302  TProfile *fDiffFlowDirectCorrectionTermsForNUA[2][2][2][10];
1303  // other differential correlators:
1304  TProfile *fOtherDirectDiffCorrelators[2][2][2][1];
1305  // mixed harmonics:
1307 
1308  // 9.) mixed harmonics:
1309  // 9a.) lists:
1314  //TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
1315  // 9b.) flags:
1317  Bool_t fCalculateMixedHarmonics; // calculate or not mixed harmonics
1318  Bool_t fCalculateMixedHarmonicsVsM; // calculate or not mixed harmonics vs multiplicity
1319  // 9c.) profiles:
1320  TProfile *f2pCorrelations;
1321  TProfile *f3pCorrelations;
1322  TProfile *f4pCorrelations;
1323  TProfile *f5pCorrelations;
1324  TProfile *f6pCorrelations;
1325  TProfile *f7pCorrelations;
1326  TProfile *f8pCorrelations;
1327  // 9d.) results:
1335  // 9e.) statistical error propagation:
1339  // 10.) Control histograms:
1340  // 10a.) list:
1341  TList *fControlHistogramsList; // list to hold all control histograms
1342  // 10b.) flags:
1343  TProfile *fControlHistogramsFlags; // profile to hold all flags for control histograms
1344  Bool_t fStoreControlHistograms; // store or not control histograms
1345  // 10c.) histograms:
1352  // 11.) Bootstrap:
1353  // 11a) lists:
1357  // 11b) flags:
1358  TProfile *fBootstrapFlags;
1359  Bool_t fUseBootstrap; // use bootstrap to estimate statistical spread
1360  Bool_t fUseBootstrapVsM; // use bootstrap to estimate statistical spread for results vs M
1361  Int_t fnSubsamples; // number of subsamples (SS), by default 10
1362  TRandom3 *fRandom;
1363  // 11c) profiles:
1365  TProfile2D *fBootstrapCorrelationsVsM[4];
1366  // 11d) histograms:
1369 
1370  // 12.) CRC
1371 
1374  TProfile *fCRCFlags;
1375  Bool_t fCalculateCRC; // calculate CRC
1401 
1403  const static Int_t fCRCnCR = 16;
1404  const static Int_t fCRCnNUA = 14;
1405  const static Int_t fCRCnEtaGap = 7;
1406  const static Int_t fCRCnCorr = 4;
1407  const static Int_t fCRCnEtaBins = 32;
1408  const static Int_t fCRCMaxnCen = 10;
1411  const static Int_t fCRCnHar = 3;
1412  const static Int_t fCRCMaxnRun = 211;
1413 
1422 
1430 
1431  // Q vectors
1432  const static Int_t fCRCQVecnCR = 64;
1436  TArrayI fRunList; // Run list
1454 
1455  // temp
1457  TProfile *fTPCQHist[fCRCnHar][2];
1458  TProfile *fZDCQHist[8];
1459  TProfile3D *fZDCVtxHist[4];
1460  TF1 *fZDCFitSec[4];
1467 
1468  TProfile *fCRCVZQVecA[fCRCMaxnRun][2];
1469  TProfile *fCRCVZQVecC[fCRCMaxnRun][2];
1470  const static Int_t fCRCQVecnCov = 12;
1472 
1473  TProfile *fCRCZDCQVecA[fCRCMaxnRun][2];
1474  TProfile *fCRCZDCQVecC[fCRCMaxnRun][2];
1477  TProfile3D *fCRCZDCQVecVtxPos[fCRCMaxnRun][4];
1480  TProfile2D *fCRCZDCQ2[8];
1485 
1486 // TProfile *fCRCVZvsZDCCov[fCRCMaxnRun][16]; //! ZDC vs VZ Q Vectors correlations
1487 
1488  // CRCVZERO
1490  const static Int_t fCRCVZnCR = 13;
1491  const static Int_t fCRCVZnEtaBin = 5;
1502 
1503  // CRCZDC
1505  const static Int_t fCRCZDCnCR = 13;
1506  const static Int_t fCRCZDCnEtaBin = 5;
1521 
1522  // CRC Pt differential
1524 
1526  const static Int_t fCRCPtnPtBinMax = 48;
1535 
1536  TNtuple *fCRCPtTPCTNt;
1537  TNtuple *fCRCPtVZTNt;
1538  TNtuple *fCRCPtZDCTNt;
1539  THnSparse *fCRCPtEbEQVec;
1540 
1541  // CME
1542  const static Int_t fCMETPCnCR = 20;
1543  const static Int_t fCMEnEtaBin = 2;
1544  const static Int_t fCMETPCnDist = 4;
1545  const static Int_t fCMEZDCnCR = 20;
1546  const static Int_t fCMEZDCnDist = 4;
1559  const static Int_t fCMETPCnHist = 19;
1560  const static Int_t fZDCESEnCl = 5;
1565  const static Int_t fCMETPCnHist2D = 3;
1567 
1568  // CRC2
1569  const static Int_t fkNCorCRC2 = 6;
1571  Int_t fCRC2nEtaBins; // CRC2 n eta bins
1583 
1584  // Flow all
1585  const static Int_t fFlowNHarm = 3;
1586  const static Int_t fFlowNHarmMax = 9; // WARNING: MIN 8
1587  const static Int_t fQVecPower = 5;
1599 
1600  // Flow SP ZDC
1604  const static Int_t fFlowNPro = 14;
1605  const static Int_t fFlowNNUA = 4;
1613  TProfile *fFlowSPZDCv1Pro[4];
1614  TProfile *fFlowSPZDCv1etaPro[4];
1616 
1617  // Flow QC
1619  const static Int_t fFlowQCNPro = 4;
1620  const static Int_t fFlowQCNNUA = 4;
1626 
1635 
1642 
1648 
1651 
1652  // Flow SP VZ
1657 
1658  // EbE Flow
1667  const static Int_t fEBEFlowNResPro=18;
1669  TF1* FourierExp;
1672 
1673  // Various:
1682  TH1D* fEtaWeightsHist[10][21][2];
1683  TH1D* fNvsCenCut[2][2];
1701  Double_t fVtxPos[3]; // primary vertex position (x,y,z)
1702  TF1 *fPolMin[2];
1703  TF1 *fPolMax[2];
1704  TF1 *fPolAv[2];
1705  TF1 *fPolDer[2];
1706  TF1 *fPolInt[2];
1707  TF1 *fPolDist[2];
1708  TF1 *fPolSlope[2];
1710  Double_t fZNCen; // total energy from ZNC-C
1711  Double_t fZNAen; // total energy from ZNC-A
1712  Double_t fEnNucl; // energy per nucleon (GeV)
1715 
1716  const static Int_t fZDCESEnPol=4;
1719 
1724 
1726 
1727 };
1728 
1729 //================================================================================================================
1730 
1731 #endif
1732 
1733 
1734 
1735 
1736 
Double_t GetMinMult() const
virtual void GetPointersForIntFlowHistograms()
void SetCorrelation2468VsMult(TH2D *const c2468vm, Int_t const ci)
Bool_t GetBookOnlyBasicCCH() const
TH2D * GetQvectorTermsVsMult(Int_t qvti) const
TProfile * GetFlowSPZDCCorNUA(Int_t const r, Int_t const c, Int_t const h) const
TH1D * GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const
TH1F * GetZNSpectra(Int_t const eg, Int_t const h) const
TProfile * GetDistributionsFlags() const
TH2F * GetZDCESESpecWeightsHist(Int_t h) const
TProfile * GetCRC2NUAPro(Int_t const r, Int_t const h, Int_t const c, Int_t const e) const
TProfile * Get2pCorrelations() const
void SetCRCVZRbRList(TList *const CRCL)
void SetCRCVZCFunHist(TH1D *const TH, Int_t const eg, Int_t const h)
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)
virtual Bool_t PassQAZDCCuts()
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()
TH1D * fFlowSPZDCCorHist[fCRCMaxnCen][fFlowNHarm][fFlowNPro]
NUA profile, [CRCBin][eg].
void Set5pCorrelations(TProfile *const p5pCorr)
TProfile * GetDiffFlowFlags() const
TList * GetHistList() const
TH2D * GetCMEZDCCovHist(Int_t const eg, Int_t const h) const
void SetTestSin(Bool_t const cCRC)
TProfile * GetCRCVZCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
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
void SetDiffFlowDetectorBias(TH1D *const dfdb, Int_t const i, Int_t const j, Int_t const k)
TProfile * fFlowQCMetricCorPro[fFlowNHarm][3]
TH1D * fDiffFlowSumOfProductOfEventWeights[2][2][8][8]
[0=RP,1=POI][0=pt,1=eta][0=linear 1,1=quadratic][0=<2'>,1=<4'>,2=<6'>,3=<8'>]
TH1D * fZDCESEMinHist[2]
Run-by-run fit ZDCQvecHist.
virtual void CheckPointersUsedInMake()
TProfile * fIntFlowCorrelationsPro
profile to hold average multiplicities and number of events for events with nRP>=0, nRP>=1, ... , and nRP>=8
Bool_t GetUseQvectorTerms() const
AliFlowCommonHistResults * GetCommonHistsResults4th() const
TH1D * fIntFlowCorrelationsEBE
fSM[p][k] = (sum_{i=1}^{M} w_{i}^{k})^{p+1}
void SetUseQvectorTerms(Bool_t const uqvt)
Bool_t fPrintFinalResults[4]
analysis label (all histograms and output file will have this label)
const Color_t cc[]
Definition: DrawKs.C:1
TProfile * fDiffFlowCorrectionTermsForNUAPro[2][2][2][10]
[0=RP,1=POI][0=pt,1=eta] [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>] x
TH2D * fBootstrapCumulantsVsM[4]
x-axis => QC{2}, QC{4}, QC{6}, QC{8}; y-axis => subsample #
TH1D * fFlowQCIntCorHist[fFlowNHarm][3]
static const Int_t fCRCMaxnRun
TH2F * GetZNvsMul() const
Bool_t GetFillProfilesVsMUsingWeights() const
virtual void BookEverythingForDistributions()
Bool_t GetUsePtWeights() const
TH1D * GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const
TList * fDiffFlowResults
list to hold all profiles relevant for differential flow
TProfile * GetBootstrapFlags() const
void SetNvsCenCut(TH1D *const n, Int_t c, Int_t h)
virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta)
TList * fDiffFlowCorrectionsHistList[2][2]
list to hold histograms with sum of products of event weights [0=RP,1=POI][0=pt,1=eta] ...
TProfile * GetFlowSPZDCIntNUA(Int_t const r, Int_t const eg) const
TProfile * GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const
void SetFlowSPZDCv1Pro(TProfile *const TP, Int_t const r)
Bool_t GetInvertZDC() const
TH1D * GetIntFlowQcumulants() const
virtual void WriteHistograms(TString outputFileName)
TProfile * fFlowSPVZNUAPro[fCRCMaxnCen][fFlowNHarm][5][4]
correlation profile, [CRCBin][eg]
TProfile * fIntFlowProductOfCorrelationsPro
when particle weights are used some extra correlations appear
TH1D * fCRC2QIm[3][fCRCnHar]
real part [0=pos,1=neg][0=back,1=forw][m]
TH2F * fhZNResvsMul[fCRCMaxnCen][2]
rad vs mul
static const Int_t fCRCnEtaGap
TH2D * GetMixedHarmonicProductOfEventWeights() const
void SetIntFlowSumOfProductOfEventWeightsNUA(TH1D *const ifsopoewNUA)
double Double_t
Definition: External.C:58
TProfile * fControlHistogramsFlags
virtual void FillCommonHistResultsDiffFlow(TString type)
virtual void ResetEventByEventQuantities()
TProfile * GetMixedHarmonicsFlags() const
TH2F * fhZNResvsCen[fCRCMaxnCen][2]
res vs mul
Bool_t GetCalculateFlowQC() const
void SetIntFlowCorrectionTermsForNUAPro(TProfile *const ifctfnp, Int_t const sc)
void SetFlowQCIntCorHist(TH1D *const TP, Int_t const eg, Int_t const k)
void SetUseTrackWeights(Bool_t const uTrackW)
TH1D * fIntFlowSumOfProductOfEventWeights
sum of linear and quadratic event weights for <2>, <4>, <6> and <8>: [0=linear 1,1=quadratic] ...
TH2D * fRunPhiEtaHist[fCRCMaxnCen][2]
TH1D * fIntFlowQcumulantsVsM[4]
final results for integrated Q-cumulants QC{2}, QC{4}, QC{6} and QC{8}
virtual void CalculateCRCPtCorr()
void SetDiffFlowFlags(TProfile *const diffFlowFlags)
TProfile2D * fReRPQ2dEBE[3][4][9]
[0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
TList * fDiffFlowCovariancesHistList[2][2]
list to hold histograms with correction term for NUA for differential flow [0=RP,1=POI][0=pt,1=eta]
TH1D * fEtaDiffQIm[fFlowNHarmMax]
real part [0=pos,1=neg][0=back,1=forw][eta]
static const Int_t fFlowNNUA
TProfile * GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const
virtual void FinalizeFlowSPVZ()
static const Int_t fCRCQVecnCR
NUA terms final histo.
TH1D * GetDistributions(Int_t i) const
TH1D * fCMEMult[4][fCRCnHar]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
void SetCMEZDCList(TList *const TL)
virtual void GetPointersForMixedHarmonicsHistograms()
void SetCalculateAllCorrelationsVsM(Bool_t const cacvm)
TH1D * GetDiffFlowCorrectionTermsForNUAHist(Int_t i, Int_t j, Int_t k, Int_t l) const
void SetFlowQCNewCenHistEG(TH1D *const TP, Int_t const eg)
TProfile * f5pCorrelations
profile to hold all 4-particle correlations
virtual void StoreIntFlowFlags()
TH1D * GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const
void SetDataSet(DataSet set)
Definition: External.C:236
TH1D * f4pCumulants
histogram to hold all 3-particle cumulants
TProfile * fFlowQCNewCenProEG[fFlowNHarm]
void SetEvaluateNestedLoops(TProfile *const enl)
void SetVtxHist(TH2F *const TH, Int_t const c)
void SetCRCCumHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
virtual void GetPointersForCRCZDC()
void SetZNCenvsMul(TH2F *const n, Int_t const eg, Int_t const h)
void SetCRCVZCorrProdTempHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
TH2F * GetZNvsTCen(Int_t const h) const
TH2D * fEBEFlowRChiSqHist[2]
mult. binned azim. dis.
TH1D * GetDiffFlowSumOfProductOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const
TList * fDiffFlowDetectorBiasHistList[2][2]
list to hold histograms with all cumulants for differential flow [0=RP,1=POI][0=pt,1=eta]
TH1D * fCMEZDCDistHist[fCMEnEtaBin][fCRCMaxnCen][fCMEZDCnDist]
correlation function histo, [CRCBin][eg]
Bool_t fStoreDistributions
profile to hold all flags for distributions of correlations
void SetCRCZDCList(TList *const CRCL)
TH1D * GetCRCVZCFunHist(Int_t const eg, Int_t const h) const
Bool_t GetPropagateErrorAlsoFromNIT() const
TProfile * GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const
void SetUseBootstrap(Bool_t const ub)
void SetCRCSumWeigHist(TH1D *const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
CorrelationWeights GetCorrWeightZDC() const
TProfile * GetOtherDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const
TProfile * GetFlowSPZDCIntPro(Int_t const r, Int_t const c, Int_t const eg) const
Double_t GetMaxValueOfQvectorTerms(Int_t qvti) const
TH1D * GetCMEZDCDistHist(Int_t const eg, Int_t const h, Int_t const k) const
TList * fIntFlowResults
list to hold all profiles relevant for integrated flow
virtual void CalculateIntFlowCorrectionsForNUASinTerms()
void SetCorrWeightVZ(CorrelationWeights weights)
TH1D * GetIntFlowCovariancesNUA() const
Double_t GetMinValueOfQvectorTerms(Int_t qvti) const
TH1D * GetDiffFlow(Int_t i, Int_t j, Int_t k) const
void SetCRC2NUAHist(TH1D *const TP, Int_t const h, Int_t const c, Int_t const e)
void SetFlowQCCorHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
TH2D * fCRCZDCCovHist[2][fCRCZDCnEtaBin][fCRCMaxnCen]
correlation function histo, [CRCBin][eg]
void SetRecenterZDC(Bool_t const cCRC)
TProfile * GetCRCCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
TH1D * fCRC2CorHist[fCRCMaxnCen][fkNCorCRC2][2]
NUA terms profile, [CRCBin][eg].
Bool_t GetEvaluateDiffFlowNestedLoops() const
void SetCRCPtTPCTNt(TNtuple *const TH)
TNtuple * GetCRCPtTPCTNt() const
virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple *const anEvent)
Definition: External.C:244
void SetBookOnlyBasicCCH(Bool_t const bobcch)
TProfile * GetCRCZDCCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
TH1D * GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const
TH2F * GetZNCvsZNA(Int_t const h) const
TProfile * fOtherDiffCorrelators[2][2][2][1]
list to hold profiles with other differential correlators
void SetCalculateFlowVZ(Bool_t const cCRC)
TProfile * GetControlHistogramsFlags() const
void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo)
virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta)
AliFlowCommonHist * GetCommonHists2nd() const
void Set3pCumulants(TH1D *const p3pC)
TH1F * GetPhiWeights() const
void SetDiffFlowCorrelationsPro(TProfile *const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k)
void SetCRCQVecListRun(TList *const CRCL, Int_t r)
void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA)
THnSparse * fCRCPtEbEQVec
TNtuple test.
virtual void FillControlHistograms(AliFlowEventSimple *anEvent)
void SetZNSpectra(TH1F *const n, Int_t const eg, Int_t const h)
void SetUsePhiEtaWeights(Bool_t const uPhiEtaW)
virtual void StoreFlagsForDistributions()
Double_t fNumberOfRPsEBE
[0=sin terms,1=cos terms], NUA = non-uniform acceptance
TH1D * fPtWeightsHist[10]
Centrality weights.
static const Int_t fZDCESEnPol
ZDC-ESE mult weights.
void SetFlowQCIntCorProEG(TProfile *const TP, Int_t const eg)
void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i)
TH1D * f2pCumulants
profile to hold all 8-particle correlations
TH1D * fDiffFlowSumOfEventWeights[2][2][2][4]
[0=RP,1=POI][0=pt,1=eta][0=v'{2},1=v'{4},2=v'{6},3=v'{8}]
TH1D * fPtDiffMulEG[2][fQVecPower][fFlowNHarmMax]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
Int_t GetnBinsMult() const
void SetCRCQVecWeightsList(TList *const wlist)
virtual void InitializeArraysForDiffFlow()
void SetPhiWeights(TH1F *const histPhiWeights)
virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta)
void SetZDCESEList(TList *const kList)
void SetFlowSPZDCv1etaPro(TProfile *const TP, Int_t const r)
void SetOtherDiffCorrelators(TProfile *const odc, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW)
AliFlowCommonHistResults * GetCommonHistsResults8th() const
TH2D * GetCorrelationNoRPsVsNoPOIs() const
void SetIntFlowDirectCorrelations(TProfile *const ifdc)
TProfile * GetCRCQnImHist(Int_t const r, Int_t const h) const
Bool_t fBookOnlyBasicCCH
base list to hold all output object
Bool_t GetPrintFinalResults(Int_t i) const
TH2D * GetBootstrapCumulantsVsM(Int_t qvti) const
ClassDef(AliFlowAnalysisCRC, 20)
TProfile2D * fMixedHarmonicProductOfCorrelations
sum of products of event weights for mixed harmonics
virtual void BookEverythingForCRCPt()
TList * fCRCList
index => QC{2}, QC{4}, QC{6}, QC{8}; x-axis => multiplicity; y-axis => subsample # ...
TProfile * fFlowQCNewCenPro[fFlowNHarm][3]
TH2F * GetZDCESEMultWeightsHist(Int_t h) const
void SetFlowSPZDCIntNUA(TProfile *const TP, Int_t const r, Int_t const eg)
void SetUseZDC(Bool_t const cCRC)
TNtuple * GetCRCPtVZTNt() const
void SetUseParticleWeights(TProfile *const uPW)
Int_t GetCRCPtnCen() const
void SetCRC2CovHist(TH1D *const TP, Int_t const r, Int_t const h, Int_t const c)
Bool_t GetUseBootstrap() const
void SetInvertZDC(Bool_t const cCRC)
virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta)
virtual void CalculateReferenceFlow()
AliFlowAnalysisCRC(const char *name="AliFlowAnalysisCRC", Int_t nCen=7, Double_t CenWidth=10.)
TProfile * fCRCZDCQVecCov[fCRCMaxnRun][fCRCQVecnCov]
TH1D * fIntFlowCovariancesNUA
sum of products of event weights for correlations <2>, <4>, <6> and <8> vs M
TH1D * fEtaDiffQRe[fFlowNHarmMax]
imaginary part [0=pos,1=neg][0=back,1=forw][p][k]
TH2D * GetFlowQCMetric2DHistEG(Int_t const eg, Int_t const bng) const
void SetMPolSelec(MagnetPol set)
TH1D * fFlowQCIntCorHistEG[fFlowNHarm]
TH2D * GetCorrelationNoRPsVsRefMult() const
TList * fCRCQVecWeightsList
Q Vectors list per run.
TList * fCRCVZRunsList[fCRCMaxnRun]
virtual void InitializeArraysForVarious()
TProfile * fFlowQCIntCorNUAPro[fFlowNHarm][6]
void SetMinMulZN(Int_t weights)
void SetCRC2List(TList *const CRCL)
virtual void BookEverythingForIntegratedFlow()
TProfile * GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const
TH1D * GetIntFlowRebinnedInM() const
TH1D * fCRCZDCMult[4][fCRCnHar]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
TProfile * GetIntFlowCorrelationsPro() const
TProfile * fZDCQHist[8]
Run-by-run TPCQvecHist.
TProfile * GetUseParticleWeights() const
virtual void GetPointersForControlHistograms()
void SetDiffFlowSumOfProductOfEventWeights(TH1D *const dfsopoew, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
Bool_t GetUsePhiWeights() const
TH1D * fIntFlowSumOfProductOfEventWeightsVsM[6]
sum of linear and quadratic event weights for <2>, <4>, <6> and <8> versum multiplicity ...
TH1D * GetCRCVZCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const
void SetDiffFlow(TH1D *const diffFlow, Int_t const i, Int_t const j, Int_t const k)
Int_t fnBinsForCorrelations
[0=distribution of <2>,1=distribution of <4>,2=distribution of <6>,3=distribution of <8>] ...
TProfile * GetFlowSPZDCv1Pro(Int_t const r) const
TProfile * fIntFlowCorrelationsAllVsMPro[64]
average all correlations for integrated flow (with wrong errors!)
void SetCRCVZCorrProd2p2pHist(TProfile *const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
TProfile * GetFlowQCNewCenPro(Int_t const eg, Int_t const h) const
AliFlowCommonHist * fCommonHists6th
common control histograms (taking into account only the events with 4 and more particles) ...
void SetUsePhiWeights(Bool_t const uPhiW)
void SetCMETPCCorPro(TProfile *const TP, Int_t const c, Int_t const h)
TH2F * fhCenvsSpec[fZDCESEnCl+1]
cen vs mul
CorrelationWeights fCorrWeightTPC
TH1D * fCRCNUATermsHist[fCRCnNUA][fCRCnEtaGap][fCRCMaxnCen]
correlation function histo, [CRCBin][eg]
TH1D * fFlowQCFinalPtDifHist[fCRCMaxnCen][fFlowNHarm][fFlowQCNPro]
TH2D * Get2DDiffFlowCumulants(Int_t i, Int_t j) const
virtual void InitializeArraysForBootstrap()
TProfile * fIntFlowDirectCorrectionTermsForNUA[2]
when particle weights are used some extra correlations appear
TH1D * fIntFlowCorrectionTermsForNUAHist[2]
final results for all average correlations (with correct errors!)
virtual void BookEverythingForCME()
TProfile * Get7pCorrelations() const
TH1D * fIntFlowRebinnedInM
final results for integrated flow estimates v_n{2,QC}, v_n{4,QC}, v_n{6,QC} and v_n{8,QC} versus multiplicity
void SetQAZDCCuts(Bool_t const cCRC)
void SetFlowQCMetricCorHist(TH1D *const TP, Int_t const eg, Int_t const k)
TProfile * GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const
void SetCRCQnReHist(TProfile *const TH, Int_t const r, Int_t const h)
void SetOtherDirectDiffCorrelators(TProfile *const oddc, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
void SetDiffFlowCumulants(TH1D *const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k)
void SetIntFlowCovariancesNUA(TH1D *const intFlowCovariancesNUA)
void SetCMEZDCNUAPro(TProfile *const TP, Int_t const eg, Int_t const h)
virtual void CalculateQcumulantsCorrectedForNUAIntFlow()
TProfile * fOtherDirectDiffCorrelators[2][2][2][1]
[0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple *const anEvent, TString type, TString ptOrEta)
TProfile * fCMETPCCorPro[fZDCESEnCl][fCMETPCnHist]
void SetPtDiffNBins(Int_t nbins)
virtual void CalculateVZvsZDC()
void SetZNvsCen(TH2F *const n, Int_t const h)
void SetIntFlowSquaredCorrelationsPro(TProfile *const ifscp)
static const Int_t fCMETPCnDist
AliFlowCommonHist * GetCommonHists8th() const
void SetCRCPtList(TList *const CRCL)
TProfile * fDiffFlowDirectCorrelations[2][2][4]
TH1D * fNvsCenCut[2][2]
Eta weights.
TH1D * GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * GetCRCVZNUAPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
Bool_t fCalculateCRC
profile to hold all flags for CRC
virtual void InitializeArraysForCRCVZ()
TProfile * GetCRCVZQVecAHist(Int_t const r, Int_t const c) const
virtual void InitializeArraysForDistributions()
Double_t fMaxValueOfCorrelation[4]
TProfile * Get5pCorrelations() const
void SetnBinsForCorrelations(Int_t const nb)
AliFlowCommonHistResults * fCommonHistsResults6th
final results for 4th order int. and diff. flow for events with 4 and more particles ...
void SetCMEZDCCorHist(TH1D *const TH, Int_t const eg, Int_t const h)
TH1D * GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const
virtual void CalculateFlowSPVZ()
virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta)
void SetUseVZERO(Bool_t const cCRC)
void SetCRC2CovPro(TProfile *const TP, Int_t const r, Int_t const h, Int_t const c)
CorrelationWeights fCorrWeightVZ
Double_t * fCRCPtBins
ZDC mult cuts.
void SetDivSigma(Bool_t const cCRC)
void SetCRCNUATermsPro(TProfile *const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
virtual void CalculateFlowSPZDC()
TProfile * fCRCQnRe[fCRCMaxnRun][fCRCnHar]
ZDC ESE.
TH1D * fIntFlowCorrelationsAllHist
average correlations <<2>>, <<4>>, <<6>> and <<8>> versus multiplicity (error is correct here!) ...
Double_t fMaxValueOfCorrelationProduct[1]
TH1D * fCRCCorrProdTempHist[fCRCnCorr][fCRCnEtaGap][fCRCMaxnCen]
NUA terms profile.
virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta)
void SetVariousList(TList *const Various)
void SetCRCZDCQVecAHist(TProfile *const TH, Int_t const r, Int_t const c)
void SetZDCESEMultWeightsHist(TH2F *const n, Int_t h)
TCanvas * c
Definition: TestFitELoss.C:172
void SetCRCZDCCorrPro(TProfile *const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
TProfile * fCRCQnReCorr[fCRCMaxnRun][fCRCnHar]
Q Vectors Im.
TH1D * fFlowSCv2vsZNv1Hist[fFlowNHarm][3]
TH1D * f7pCumulants
histogram to hold all 6-particle cumulants
void SetCorrWeightTPC(CorrelationWeights weights)
Int_t GetMinMulZN() const
void SetIntFlowQcumulants(TH1D *const intFlowQcumulants)
TList * fFlowSPZDCList
imaginary part [0=pos,1=neg][0=back,1=forw][p][k]
void SetCalculateCRCVZ(Bool_t const cCRC)
virtual void GetPointersForFlowQC()
static const Int_t fCRCMaxnCen
TProfile * GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const
Bool_t GetApplyCorrectionForNUAVsM() const
TProfile * fCRCZDCCorrPro[fCRCMaxnRun][2][fCRCZDCnEtaBin][fCRCMaxnCen]
list of runs
TH1D * fIntFlowCovariancesVsM[6]
sum of products of event weights for correlations <2>, <4>, <6> and <8>
virtual void InitializeArraysForFlowEbE()
Bool_t GetUse2DHistograms() const
virtual void CheckPointersUsedInFinish()
void SetDiffFlowDirectCorrelations(TProfile *const diffFlowDirectCorrelations, Int_t const i, Int_t const j, Int_t const k)
void SetCommonHists4th(AliFlowCommonHist *const ch4th)
virtual void CalculateCovariancesNUAIntFlow()
void SetFlowSPZDCIntPro(TProfile *const TP, Int_t const r, Int_t const c, Int_t const eg)
virtual Int_t GetCRCCenBin(Double_t Centrality)
void SetForgetAboutCovariances(Bool_t const fac)
void SetIntFlowCovariances(TH1D *const intFlowCovariances)
TH1D * fCRC2NUAHist[fCRCMaxnCen][fkNCorCRC2][4]
<<2'>>, [centrality][pos,neg,all][corr,spectra]
TProfile * fFlowSPVZCorPro[fCRCMaxnCen][fFlowNHarm][5]
SPVZ List.
virtual void FinalizeVarious()
TList * fMixedHarmonicsResults
list to hold all profiles for mixed harmonics
TList * fDiffFlowProductOfCorrelationsProList[2][2]
list to hold profiles with all correlations for differential flow [0=RP,1=POI][0=pt,1=eta]
static const Int_t fkNCorCRC2
TH1D * GetIntFlowCorrelationsAllHist() const
TH2D * GetCorrelationNoPOIsVsRefMult() const
static const Int_t fCRCnNUA
TH1D * GetIntFlowCorrectionTermsForNUAHist(Int_t sc) const
Bool_t GetQAZDCCuts() const
void SetBootstrapResultsList(TList *const brl)
void SetIntFlowDirectCorrectionTermsForNUA(TProfile *const ifdctfn, Int_t const sc)
TProfile * GetIntFlowCorrectionTermsForNUAVsMPro(Int_t sc, Int_t ci) const
void SetIntFlowExtraDirectCorrelations(TProfile *const ifedc)
void SetIntFlowSumOfEventWeights(TH1D *const intFlowSumOfEventWeights, Int_t const power)
TH1D * GetFlowQCNewCenHistEG(Int_t const eg) const
TH1D * GetCRCSumWeigHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
void SetCRCVZQVecAHist(TProfile *const TH, Int_t const r, Int_t const c)
TH1D * GetNvsCenCut(Int_t c, Int_t h) const
void SetCRCZDCCorrHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
virtual void CalculateCRCQVec()
TH1D * fCenWeigCalHist
Centrality weights.
TH1D * fFlowSPZDCFinalPtDifHist[fCRCMaxnCen][fFlowNHarm][fFlowNPro]
TProfile * fIntFlowExtraDirectCorrelations
multiparticle correlations relevant for int. flow calculated with nested loops
void SetNoOfParticlesInBin(TH1D *const noOfParticlesInBin)
TH1D * fCRC2QRe[3][fCRCnHar]
CRC list of histograms RbR.
TH1D * fIntFlowDetectorBiasVsM[4]
bias coming from detector inefficiencies to <<2>>, <<4>>, <<6>> and <<8>> (corrected/measured) ...
TProfile * fReRPQ1dEBE[3][2][4][9]
void SetIntFlowProductOfCorrelationsPro(TProfile *const intFlowProductOfCorrelationsPro)
TH1D * fMultHist
list to hold various unclassified objects
virtual void CalculateDiffFlowCorrectionsForNUASinTermsUsingParticleWeights(TString type, TString ptOrEta)
TProfile * GetCMEZDCNUAPro(Int_t const eg, Int_t const h) const
static const Int_t fEBEFlowNResPro
void SetCalculateCRC2(Bool_t const cCRC)
AliFlowCommonHist * GetCommonHists() const
TProfile3D * fZDCVtxHist[4]
Run-by-run ZDCQvecHist.
void SetFlowSPZDCList(TList *const TL)
TProfile * GetFlowQCCorPro(Int_t const c, Int_t const eg, Int_t const h) const
virtual void BookEverythingForBootstrap()
void SetZDCESESpecWeightsHist(TH2F *const n, Int_t h)
TProfile * MakeEtaProjection(TProfile2D *profilePtEta) const
virtual void BookEverythingForFlowSPVZ()
TProfile * GetFlowQCIntCorNUAProEG(Int_t const eg, Int_t const h) const
void SetFlowQCSpectra(TH1D *const TH, Int_t const c)
TH1D * fIntFlowCorrelationsAllEBE
1st bin: eW_<2>, 2nd bin: eW_<4>, 3rd bin: eW_<6>, 4th bin: eW_<8>
Double_t GetCRCPtwCen() const
TProfile * fCRCVZNUAPro[fCRCMaxnRun][4][fCRCVZnEtaBin][fCRCMaxnCen]
correlation weights histo, [CRCBin][eg]
static const Int_t fCMEZDCnDist
void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue)
Bool_t GetCalculateCRCPt() const
TList * f2DDiffFlowCorrelationsProList[2]
list to hold profiles with correction term for NUA for differential flow [0=RP,1=POI][0=pt,1=eta]
AliFlowCommonHist * fCommonHists4th
common control histograms (taking into account only the events with 2 and more particles) ...
void SetCRCIntRbRList(TList *const CRCL)
Bool_t GetCalculateCRCZDC() const
void SetStoreControlHistograms(Bool_t const sch)
TProfile * fCRCNUATermsPro[fCRCMaxnRun][fCRCnNUA][fCRCnEtaGap][fCRCMaxnCen]
correlation weights histo, [CRCBin][eg]
TList * fCRCPtList
spectra
TList * GetNestedLoopsList() const
void SetCRC2RbRList(TList *const CRCL)
TH1D * fFlowQCNewCenHistEG[fFlowNHarm]
void SetFillMultipleControlHistograms(Bool_t const fmch)
TH1D * fCRCZDCCorrHist[2][fCRCZDCnEtaBin][fCRCMaxnCen]
temporary correlation products for covariances, [CRCBin][eg]
virtual void CalculateCMEZDC()
void SetCalculateCRC(Bool_t const cCRC)
TH1D * fDiffFlowEventWeightsForCorrelationsEBE[2][2][4]
[0=RP,1=POI][0=pt,1=eta][reduced correlation index]
TH1D * fCRCCovHist[fCRCnCorr][fCRCnEtaGap][fCRCMaxnCen]
correlation products
Definition: AliFlow