AliPhysics  857879d (857879d)
 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,
73  };
74 
76  kHigh, // >0.9
77  kLow, // <0.6
78  kPos, // mag.field pol.+
79  kNeg, // mag.field pol.-
81  };
82 
83  enum SelectCharge {
87  };
88 
97  };
98 
99  // 0.) methods called in the constructor:
100  virtual void InitializeArraysForIntFlow();
101  virtual void InitializeArraysForDiffFlow();
102  virtual void InitializeArraysForDistributions();
103  virtual void InitializeArraysForVarious();
104  virtual void InitializeArraysForParticleWeights();
105  virtual void InitializeArraysForNestedLoops();
106  virtual void InitializeArraysForMixedHarmonics();
108  virtual void InitializeArraysForBootstrap();
109  virtual void InitializeCostantsForCRC();
110  virtual void InitializeArraysForCRC();
111  virtual void InitializeArraysForCRCVZ();
112  virtual void InitializeArraysForCRCZDC();
113  virtual void InitializeArraysForCRCPt();
114  virtual void InitializeArraysForCME();
115  virtual void InitializeArraysForCRC2();
116  virtual void InitializeArraysForFlowEbE();
117  virtual void InitializeArraysForFlowQC();
119  virtual void InitializeArraysForFlowSPZDC();
120  virtual void InitializeArraysForFlowSPVZ();
121  virtual void InitializeArraysForEbEFlow();
122 
123  // 1.) method Init() and methods called within Init():
124  virtual void Init();
125  virtual void InitializeArraysForQVec();
126  virtual void CrossCheckSettings();
127  virtual void CommonConstants(TString method);
128  virtual void BookAndNestAllLists();
130  virtual void BookCommonHistograms();
131  virtual void BookAndFillWeightsHistograms();
132  virtual void BookEverythingForIntegratedFlow();
133  virtual void BookEverythingForDifferentialFlow();
135  virtual void BookEverythingForDistributions();
136  virtual void BookEverythingForVarious();
137  virtual void BookEverythingForNestedLoops();
138  virtual void BookEverythingForMixedHarmonics();
139  virtual void BookEverythingForControlHistograms();
140  virtual void BookEverythingForBootstrap();
141  virtual void SetRunList();
142  virtual void BookEverythingForCRC();
143  virtual void BookEverythingForCRCVZ();
144  virtual void BookEverythingForCRCZDC();
145  virtual void BookEverythingForCRCPt();
146  virtual void BookEverythingForQVec();
147  virtual void BookEverythingForCME();
148  virtual void BookEverythingForCRC2();
149  virtual void BookEverythingForFlowEbE();
150  virtual void BookEverythingForFlowQC();
151  virtual void BookEverythingForFlowQCHighOrders();
152  virtual void BookEverythingForFlowSPZDC();
153  virtual void BookEverythingForFlowSPVZ();
154  virtual void BookEverythingForEbEFlow();
155  virtual void StoreIntFlowFlags();
156  virtual void StoreDiffFlowFlags();
157  virtual void StoreFlagsForDistributions();
158  virtual void StoreHarmonic();
159  virtual void StoreMixedHarmonicsFlags();
160  virtual void StoreControlHistogramsFlags();
161  virtual void StoreBootstrapFlags();
162  virtual void StoreCRCFlags();
163  virtual void SetCentralityWeights();
164 
165  // 2.) method Make() and methods called within Make():
166  virtual void Make(AliFlowEventSimple *anEvent);
167  // 2a.) Common:
168  virtual void CheckPointersUsedInMake();
169  virtual void FillAverageMultiplicities(Int_t nRP);
170  virtual void FillCommonControlHistograms(AliFlowEventSimple *anEvent);
171  virtual void FillControlHistograms(AliFlowEventSimple *anEvent);
172  virtual void ResetEventByEventQuantities();
173  // 2b.) Reference flow:
174  virtual void CalculateIntFlowCorrelations();
177  virtual void CalculateIntFlowSumOfEventWeights();
186  virtual void CalculateMixedHarmonics();
187  // 2c.) Cross-checking reference flow correlations with nested loops:
188  virtual void EvaluateIntFlowNestedLoops(AliFlowEventSimple* const anEvent);
193  virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple* const anEvent);
194  // 2d.) Differential flow:
195  virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta); // type = RP or POI
196  virtual void CalculateDiffFlowCorrelationsUsingParticleWeights(TString type, TString ptOrEta); // type = RP or POI
197  virtual void CalculateDiffFlowProductOfCorrelations(TString type, TString ptOrEta); // type = RP or POI
198  virtual void CalculateDiffFlowSumOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
199  virtual void CalculateDiffFlowSumOfProductOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
200  virtual void CalculateDiffFlowCorrectionsForNUACosTerms(TString type, TString ptOrEta);
202  virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta);
204  // 2e.) 2D differential flow:
205  virtual void Calculate2DDiffFlowCorrelations(TString type); // type = RP or POI
206  // 2f.) Other differential correlators (i.e. Teaney-Yan correlator):
207  virtual void CalculateOtherDiffCorrelators(TString type, TString ptOrEta); // type = RP or POI
208  // 2g.) Distributions of reference flow correlations:
209  virtual void StoreDistributionsOfCorrelations();
210  // 2h.) Cross-checking differential flow correlations with nested loops:
211  virtual void EvaluateDiffFlowNestedLoops(AliFlowEventSimple* const anEvent);
212  virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
216  virtual void EvaluateOtherDiffCorrelatorsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
217  // 2i.) Charge-Rapidity Correlations
218  virtual void RecenterCRCQVec();
219  virtual void RecenterCRCQVecZDC();
220  virtual void RecenterCRCQVecVZERO();
221  virtual Bool_t PassQAZDCCuts();
222  virtual Bool_t MultCut2015o();
223  virtual void CalculateCRCCorr();
224  virtual void CalculateCRCVZERO();
225  virtual void CalculateCRCZDC();
226  virtual void CalculateCRCPtCorr();
227  virtual void CalculateCRCQVec();
228  virtual void CalculateVZvsZDC();
229  virtual void CalculateCMETPC();
230  virtual void CalculateCMEZDC();
231  virtual void CalculateCRC2Cor();
232  virtual void CalculateFlowQC();
233  virtual void CalculateFlowQCHighOrders();
234  virtual void CalculateFlowSPZDC();
235  virtual void CalculateFlowSPVZ();
236  virtual void FitEbEFlow();
237  // 2h.) Various
238  virtual void FillVarious();
239 
240  // 3.) method Finish() and methods called within Finish():
241  virtual void Finish();
242  virtual void CheckPointersUsedInFinish();
243  // 3a.) integrated flow:
244  virtual void FinalizeCorrelationsIntFlow();
246  virtual void CalculateCovariancesIntFlow();
247  virtual void CalculateCovariancesNUAIntFlow();
248  virtual void CalculateCumulantsIntFlow();
249  virtual void CalculateReferenceFlow();
250  virtual void FillCommonHistResultsIntFlow();
251  // nua:
253  virtual void PrintFinalResultsForIntegratedFlow(TString type);
254  virtual void CrossCheckIntFlowCorrelations();
255  virtual void CrossCheckIntFlowExtraCorrelations(); // extra correlations which appear only when particle weights are used
257  // 3b.) differential flow:
258  virtual void FinalizeReducedCorrelations(TString type, TString ptOrEta);
259  virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta);
260  virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta);
261  virtual void CalculateDiffFlow(TString type, TString ptOrEta);
262  virtual void FinalizeCorrectionTermsForNUADiffFlow(TString type, TString ptOrEta);
263  virtual void CalculateDiffFlowCumulantsCorrectedForNUA(TString type, TString ptOrEta);
264  virtual void CalculateDiffFlowCorrectedForNUA(TString type, TString ptOrEta);
265  virtual void CalculateFinalResultsForRPandPOIIntegratedFlow(TString type); // to be improved (add also possibility to integrate over eta yield)
266  virtual void FillCommonHistResultsDiffFlow(TString type);
267  virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta);
269  virtual void CrossCheckDiffFlowCorrectionTermsForNUA(TString type, TString ptOrEta);
270  // 3c.) 2D:
271  virtual void Calculate2DDiffFlowCumulants(TString type);
272  virtual void Calculate2DDiffFlow(TString type);
273  // 3d.) Other differential correlators:
274  virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta);
275  // 3e.) Mixed harmonics:
276  virtual void CalculateCumulantsMixedHarmonics();
277  // 3f.) Bootstrap:
278  virtual void CalculateCumulantsForBootstrap();
279  // 3g.) CRC:
280  virtual void FinalizeCRCCorr();
281  virtual void FinalizeCRCVZERO();
282  virtual void FinalizeCRCZDC();
283  virtual void FinalizeCRCPtCorr();
284  virtual void FinalizeCMETPC();
285  virtual void FinalizeCMEZDC();
286  virtual void FinalizeCRC2Cor();
287  virtual void FinalizeFlowQC();
288  virtual void FinalizeFlowQCHighOrders();
289  virtual void FinalizeFlowSPZDC();
290  virtual void FinalizeFlowSPVZ();
291  virtual Bool_t CheckRunFullTPCFlow(Int_t RunNum);
292  // 3h.) Various:
293  virtual void FinalizeVarious();
294 
295  // 4.) method GetOutputHistograms() and methods called within GetOutputHistograms():
296  virtual void GetOutputHistograms(TList *outputListHistos);
297  virtual void GetPointersForCommonHistograms();
299  virtual void GetPointersForIntFlowHistograms();
300  virtual void GetPointersForDiffFlowHistograms();
301  virtual void GetPointersFor2DDiffFlowHistograms();
302  virtual void GetPointersForOtherDiffCorrelators();
305  virtual void GetPointersForControlHistograms();
306  virtual void GetPointersForBootstrap();
307  virtual void GetPointersForCRC();
308  virtual void GetPointersForCRCVZ();
309  virtual void GetPointersForCRCZDC();
310  virtual void GetPointersForCRC2();
311  virtual void GetPointersForCRCPt();
312  virtual void GetPointersForQVec();
313  virtual void GetPointersForCME();
314  virtual void GetPointersForFlowQC();
315  virtual void GetPointersForFlowQCHighOrders();
316  virtual void GetPointersForFlowSPZDC();
317  virtual void GetPointersForFlowSPVZ();
318  virtual void GetPointersForEbEFlow();
319  virtual void GetPointersForVarious();
320 
321  // 5.) other methods:
322  TProfile* MakePtProjection(TProfile2D *profilePtEta) const;
323  TProfile* MakeEtaProjection(TProfile2D *profilePtEta) const;
324  virtual void WriteHistograms(TString outputFileName);
325  virtual void WriteHistograms(TDirectoryFile *outputFileName);
326  virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2);
327  virtual Int_t GetCRCVZBin(Int_t c, Int_t c2);
328  virtual Int_t GetCRCQVecBin(Int_t c, Int_t y);
329  virtual Int_t GetCRCRunBin(Int_t RunNum);
330  virtual Int_t GetCRCCenBin(Double_t Centrality);
331  virtual Int_t GetWideCenBin(Double_t Centrality);
332  virtual Double_t GetSumPro(TProfile *pro, Int_t bin);
333 
334  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);
335 
336  // **** SETTERS and GETTERS ****
337 
338  // 0.) base:
339  void SetHistList(TList* const hlist) {this->fHistList = hlist;}
340  TList* GetHistList() const {return this->fHistList;}
341 
342  // 1.) common:
343  void SetBookOnlyBasicCCH(Bool_t const bobcch) {this->fBookOnlyBasicCCH = bobcch;};
345  void SetCommonHists(AliFlowCommonHist* const ch) {this->fCommonHists = ch;};
347  void SetCommonHists2nd(AliFlowCommonHist* const ch2nd) {this->fCommonHists2nd = ch2nd;};
349  void SetCommonHists4th(AliFlowCommonHist* const ch4th) {this->fCommonHists4th = ch4th;};
351  void SetCommonHists6th(AliFlowCommonHist* const ch6th) {this->fCommonHists6th = ch6th;};
353  void SetCommonHists8th(AliFlowCommonHist* const ch8th) {this->fCommonHists8th = ch8th;};
363  void SetCommonConstants(TProfile* const cc) {this->fCommonConstants = cc;};
364  TProfile* GetCommonConstants() const {return this->fCommonConstants;};
367  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
368  Int_t GetHarmonic() const {return this->fHarmonic;};
369  void SetAnalysisLabel(const char *aLabel) {this->fAnalysisLabel->Append(*aLabel);}; // to be improved (Append(*aLabel) changed into Append(aLabel))
370  TString *GetAnalysisLabel() const {return this->fAnalysisLabel;};
371  void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i) {this->fPrintFinalResults[i] = printOrNot;};
373 
374  // 2a.) particle weights:
375  void SetWeightsList(TList* const wlist) {this->fWeightsList = wlist;}
376  TList* GetWeightsList() const {return this->fWeightsList;}
377  void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;};
378  Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;};
379  void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;};
380  Bool_t GetUsePtWeights() const {return this->fUsePtWeights;};
381  void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;};
382  Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;};
383  void SetUseTrackWeights(Bool_t const uTrackW) {this->fUseTrackWeights = uTrackW;};
384  Bool_t GetUseTrackWeights() const {return this->fUseTrackWeights;};
385  void SetUsePhiEtaWeights(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeights = uPhiEtaW;};
387  void SetUsePhiEtaWeightsChDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsChDep = uPhiEtaW;};
389  void SetUsePhiEtaWeightsVtxDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsVtxDep = uPhiEtaW;};
391  void SetUsePhiEtaWeightsChPtDep(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeightsChPtDep = uPhiEtaW;};
393  void SetUsePhiEtaCuts(Bool_t const uPhiEtaW) {this->fUsePhiEtaCuts = uPhiEtaW;};
394  Bool_t GetUsePhiEtaCuts() const {return this->fUsePhiEtaCuts;};
395  void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW) {this->fUseZDCESEMulWeights = uPhiEtaW;};
397  void SetUseZDCESESpecWeights(Bool_t const uPhiEtaW) {this->fUseZDCESESpecWeights = uPhiEtaW;};
399  void SetUseParticleWeights(TProfile* const uPW) {this->fUseParticleWeights = uPW;};
400  TProfile* GetUseParticleWeights() const {return this->fUseParticleWeights;};
401  void SetPhiWeights(TH1F* const histPhiWeights) {this->fPhiWeightsRPs = histPhiWeights;};
402  TH1F* GetPhiWeights() const {return this->fPhiWeightsRPs;};
403 
404  // 2b.) event weights:
405  void SetMultiplicityWeight(const char *multiplicityWeight) {*this->fMultiplicityWeight = multiplicityWeight;};
407 
408  // 3.) Reference flow:
409  // Flags:
410  void SetIntFlowFlags(TProfile* const intFlowFlags) {this->fIntFlowFlags = intFlowFlags;};
411  TProfile* GetIntFlowFlags() const {return this->fIntFlowFlags;};
412  void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
414  void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;};
416  void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
417  Int_t GetnBinsMult() const {return this->fnBinsMult;};
418  void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
419  Double_t GetMinMult() const {return this->fMinMult;};
420  void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
421  Double_t GetMaxMult() const {return this->fMaxMult;};
422  void SetPropagateErrorAlsoFromNIT(Bool_t const peafNIT) {this->fPropagateErrorAlsoFromNIT = peafNIT;};
424  void SetCalculateCumulantsVsM(Bool_t const ccvm) {this->fCalculateCumulantsVsM = ccvm;};
432  void SetStoreVarious(Bool_t const spdfoe) {this->fStoreVarious = spdfoe;};
433  Bool_t GetStoreVarious() const {return this->fStoreVarious;};
434  void SetExactNoRPs(Int_t const enr) {this->fExactNoRPs = enr;};
435  Int_t GetExactNoRPs() const {return this->fExactNoRPs;};
436  void SetUse2DHistograms(Bool_t const u2dh){this->fUse2DHistograms = u2dh;if(u2dh){this->fStoreControlHistograms = kTRUE;}};
437  Bool_t GetUse2DHistograms() const {return this->fUse2DHistograms;};
440  void SetUseQvectorTerms(Bool_t const uqvt){this->fUseQvectorTerms = uqvt;if(uqvt){this->fStoreControlHistograms = kTRUE;}};
441  Bool_t GetUseQvectorTerms() const {return this->fUseQvectorTerms;};
442 
443  // Reference flow profiles:
444  void SetAvMultiplicity(TProfile* const avMultiplicity) {this->fAvMultiplicity = avMultiplicity;};
445  TProfile* GetAvMultiplicity() const {return this->fAvMultiplicity;};
446  void SetIntFlowCorrelationsPro(TProfile* const intFlowCorrelationsPro) {this->fIntFlowCorrelationsPro = intFlowCorrelationsPro;};
447  TProfile* GetIntFlowCorrelationsPro() const {return this->fIntFlowCorrelationsPro;};
448  void SetIntFlowSquaredCorrelationsPro(TProfile* const ifscp) {this->fIntFlowSquaredCorrelationsPro = ifscp;};
450  void SetIntFlowCorrelationsVsMPro(TProfile* const ifcvp, Int_t const ci) {this->fIntFlowCorrelationsVsMPro[ci] = ifcvp;};
451  TProfile* GetIntFlowCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowCorrelationsVsMPro[ci];};
452  void SetIntFlowSquaredCorrelationsVsMPro(TProfile* const ifscvp, Int_t const ci) {this->fIntFlowSquaredCorrelationsVsMPro[ci] = ifscvp;};
453  TProfile* GetIntFlowSquaredCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowSquaredCorrelationsVsMPro[ci];};
454  void SetIntFlowCorrelationsAllPro(TProfile* const intFlowCorrelationsAllPro) {this->fIntFlowCorrelationsAllPro = intFlowCorrelationsAllPro;};
455  TProfile* GetIntFlowCorrelationsAllPro() const {return this->fIntFlowCorrelationsAllPro;};
456  void SetIntFlowExtraCorrelationsPro(TProfile* const intFlowExtraCorrelationsPro) {this->fIntFlowExtraCorrelationsPro = intFlowExtraCorrelationsPro;};
458  void SetIntFlowProductOfCorrelationsPro(TProfile* const intFlowProductOfCorrelationsPro) {this->fIntFlowProductOfCorrelationsPro = intFlowProductOfCorrelationsPro;};
460  void SetIntFlowProductOfCorrelationsVsMPro(TProfile* const ifpocvm, Int_t const pi) {this->fIntFlowProductOfCorrelationsVsMPro[pi] = ifpocvm;};
462  void SetIntFlowProductOfCorrectionTermsForNUAPro(TProfile* const ifpoctfNUA) {this->fIntFlowProductOfCorrectionTermsForNUAPro = ifpoctfNUA;};
464  void SetIntFlowCorrectionTermsForNUAPro(TProfile* const ifctfnp, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAPro[sc] = ifctfnp;};
466  void SetIntFlowCorrectionTermsForNUAVsMPro(TProfile* const ifctfnpvm, Int_t const sc, Int_t const ci) {this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci] = ifctfnpvm;};
468  // integrated flow histograms holding all results:
469  void SetIntFlowCorrelationsHist(TH1D* const intFlowCorrelationsHist) {this->fIntFlowCorrelationsHist = intFlowCorrelationsHist;};
471  void SetIntFlowCorrelationsVsMHist(TH1D* const ifcvmh, Int_t const ci) {this->fIntFlowCorrelationsVsMHist[ci] = ifcvmh;};
473  void SetIntFlowCorrelationsAllHist(TH1D* const intFlowCorrelationsAllHist) {this->fIntFlowCorrelationsAllHist = intFlowCorrelationsAllHist;};
475  void SetIntFlowCorrectionTermsForNUAHist(TH1D* const ifctfnh, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAHist[sc] = ifctfnh;};
477  void SetIntFlowCovariances(TH1D* const intFlowCovariances) {this->fIntFlowCovariances = intFlowCovariances;};
479  void SetIntFlowSumOfEventWeights(TH1D* const intFlowSumOfEventWeights, Int_t const power) {this->fIntFlowSumOfEventWeights[power] = intFlowSumOfEventWeights;};
480  TH1D* GetIntFlowSumOfEventWeights(Int_t power) const {return this->fIntFlowSumOfEventWeights[power];};
481  void SetIntFlowSumOfProductOfEventWeights(TH1D* const intFlowSumOfProductOfEventWeights) {this->fIntFlowSumOfProductOfEventWeights = intFlowSumOfProductOfEventWeights;};
483  void SetIntFlowCovariancesVsM(TH1D* const ifcvm, Int_t ci) {this->fIntFlowCovariancesVsM[ci] = ifcvm;};
485  void SetIntFlowSumOfEventWeightsVsM(TH1D* const ifsoewvm, Int_t si, Int_t lc) {this->fIntFlowSumOfEventWeightsVsM[si][lc] = ifsoewvm;};
489  void SetIntFlowCovariancesNUA(TH1D* const intFlowCovariancesNUA) {this->fIntFlowCovariancesNUA = intFlowCovariancesNUA;};
491  void SetIntFlowSumOfEventWeightsNUA(TH1D* const ifsoewNUA, Int_t const sc, Int_t const power) {this->fIntFlowSumOfEventWeightsNUA[sc][power] = ifsoewNUA;};
492  TH1D* GetIntFlowSumOfEventWeightsNUA(Int_t sc, Int_t power) const {return this->fIntFlowSumOfEventWeightsNUA[sc][power];};
495  void SetIntFlowQcumulants(TH1D* const intFlowQcumulants) {this->fIntFlowQcumulants = intFlowQcumulants;};
496  TH1D* GetIntFlowQcumulants() const {return this->fIntFlowQcumulants;};
497  void SetIntFlowQcumulantsVsM(TH1D* const intFlowQcumulantsVsM, Int_t co) {this->fIntFlowQcumulantsVsM[co] = intFlowQcumulantsVsM;};
498  TH1D* GetIntFlowQcumulantsVsM(Int_t co) const {return this->fIntFlowQcumulantsVsM[co];};
499  void SetIntFlowQcumulantsRebinnedInM(TH1D* const ifqcrim) {this->fIntFlowQcumulantsRebinnedInM = ifqcrim;};
503  void SetIntFlow(TH1D* const intFlow) {this->fIntFlow = intFlow;};
504  TH1D* GetIntFlow() const {return this->fIntFlow;};
505  void SetIntFlowVsM(TH1D* const intFlowVsM, Int_t co) {this->fIntFlowVsM[co] = intFlowVsM;};
506  TH1D* GetIntFlowVsM(Int_t co) const {return this->fIntFlowVsM[co];};
507  void SetIntFlowRebinnedInM(TH1D* const ifrim) {this->fIntFlowRebinnedInM = ifrim;};
509  void SetIntFlowDetectorBias(TH1D* const ifdb) {this->fIntFlowDetectorBias = ifdb;};
511  void SetIntFlowDetectorBiasVsM(TH1D* const ifdbvm, Int_t ci) {this->fIntFlowDetectorBiasVsM[ci] = ifdbvm;};
513 
514  // 4.) Differential flow:
515  // Flags:
516  void SetDiffFlowFlags(TProfile* const diffFlowFlags) {this->fDiffFlowFlags = diffFlowFlags;};
517  TProfile* GetDiffFlowFlags() const {return this->fDiffFlowFlags;};
518  void SetCalculateDiffFlow(Bool_t const cdf) {this->fCalculateDiffFlow = cdf;};
520  void SetCalculate2DDiffFlow(Bool_t const c2ddf) {this->fCalculate2DDiffFlow = c2ddf;};
522  void SetCalculateDiffFlowVsEta(Bool_t const cdfve) {this->fCalculateDiffFlowVsEta = cdfve;};
524  // Profiles:
525  // 1D:
526  void SetDiffFlowCorrelationsPro(TProfile* const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsPro[i][j][k] = diffFlowCorrelationsPro;};
527  TProfile* GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsPro[i][j][k];};
528  void SetDiffFlowSquaredCorrelationsPro(TProfile* const diffFlowSquaredCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowSquaredCorrelationsPro[i][j][k] = diffFlowSquaredCorrelationsPro;};
529  TProfile* GetDiffFlowSquaredCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowSquaredCorrelationsPro[i][j][k];};
530  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;};
531  TProfile* GetDiffFlowProductOfCorrelationsPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowProductOfCorrelationsPro[i][j][k][l];};
532  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;};
533  TProfile* GetDiffFlowCorrectionTermsForNUAPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l];};
534  // 2D:
535  void Set2DDiffFlowCorrelationsPro(TProfile2D* const p2ddfcp, Int_t const i, Int_t const k) {this->f2DDiffFlowCorrelationsPro[i][k] = p2ddfcp;};
536  TProfile2D* Get2DDiffFlowCorrelationsPro(Int_t i, Int_t k) const {return this->f2DDiffFlowCorrelationsPro[i][k];};
537  // Other differential correlators:
538  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;};
539  TProfile* GetOtherDiffCorrelators(Int_t i,Int_t j,Int_t k,Int_t l) const {return this->fOtherDiffCorrelators[i][j][k][l];};
540  // histograms:
541  void SetDiffFlowCorrelationsHist(TH1D* const diffFlowCorrelationsHist, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsHist[i][j][k] = diffFlowCorrelationsHist;};
542  TH1D* GetDiffFlowCorrelationsHist(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsHist[i][j][k];};
543  void SetDiffFlowCovariances(TH1D* const diffFlowCovariances, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCovariances[i][j][k] = diffFlowCovariances;};
544  TH1D* GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCovariances[i][j][k];};
545  void SetDiffFlowCumulants(TH1D* const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCumulants[i][j][k] = diffFlowCumulants;};
546  TH1D* GetDiffFlowCumulants(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCumulants[i][j][k];};
547  void SetDiffFlowDetectorBias(TH1D* const dfdb, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowDetectorBias[i][j][k] = dfdb;};
548  TH1D* GetDiffFlowDetectorBias(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDetectorBias[i][j][k];};
549  void SetDiffFlow(TH1D* const diffFlow, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlow[i][j][k] = diffFlow;};
550  TH1D* GetDiffFlow(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlow[i][j][k];};
551  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;};
552  TH1D* GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfEventWeights[i][j][k][l];};
553  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;};
555  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;};
557  // 2D:
558  void Set2DDiffFlowCumulants(TH2D* const h2ddfc, Int_t const i, Int_t const j) {this->f2DDiffFlowCumulants[i][j] = h2ddfc;};
559  TH2D* Get2DDiffFlowCumulants(Int_t i, Int_t j) const {return this->f2DDiffFlowCumulants[i][j];};
560  void Set2DDiffFlow(TH2D* const h2ddf, Int_t const i, Int_t const j) {this->f2DDiffFlow[i][j] = h2ddf;};
561  TH2D* Get2DDiffFlow(Int_t i, Int_t j) const {return this->f2DDiffFlow[i][j];};
562 
563  // 5.) distributions of correlations:
564  // profile:
565  void SetDistributionsFlags(TProfile* const distributionsFlags) {this->fDistributionsFlags = distributionsFlags;};
566  TProfile* GetDistributionsFlags() const {return this->fDistributionsFlags;};
567  // flags:
568  void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;};
570  // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]:
573  // histograms:
574  void SetDistributions(TH1D* const distributions, Int_t const i) {this->fDistributions[i] = distributions;};
575  TH1D* GetDistributions(Int_t i) const {return this->fDistributions[i];};
576  // min and max values of correlations (ci is correlations index [0=<2>,1=<4>,2=<6>,3=<8>]):
577  void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue) {this->fMinValueOfCorrelation[ci] = minValue;};
579  void SetMaxValueOfCorrelation(Int_t const ci, Double_t const maxValue) {this->fMaxValueOfCorrelation[ci] = maxValue;};
581  // min and max values of correlation products:
582  void SetMinValueOfCorrelationProduct(Int_t const cpi, Double_t const minValue) {this->fMinValueOfCorrelationProduct[cpi] = minValue;};
584  void SetMaxValueOfCorrelationProduct(Int_t const cpi, Double_t const maxValue) {this->fMaxValueOfCorrelationProduct[cpi] = maxValue;};
586  // min and max values of QvectorTerms:
587  void SetMinValueOfQvectorTerms(Int_t const qvti, Double_t const minValue) {this->fMinValueOfQvectorTerms[qvti] = minValue;};
589  void SetMaxValueOfQvectorTerms(Int_t const qvti, Double_t const maxValue) {this->fMaxValueOfQvectorTerms[qvti] = maxValue;};
591 
592  // x.) debugging and cross-checking:
593  void SetNestedLoopsList(TList* const nllist) {this->fNestedLoopsList = nllist;};
594  TList* GetNestedLoopsList() const {return this->fNestedLoopsList;};
599  void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity) {this->fMaxAllowedMultiplicity = maxAllowedMultiplicity;};
601  void SetEvaluateNestedLoops(TProfile* const enl) {this->fEvaluateNestedLoops = enl;};
602  TProfile* GetEvaluateNestedLoops() const {return this->fEvaluateNestedLoops;};
603  void SetIntFlowDirectCorrelations(TProfile* const ifdc) {this->fIntFlowDirectCorrelations = ifdc;};
604  TProfile* GetIntFlowDirectCorrelations() const {return this->fIntFlowDirectCorrelations;};
605  void SetIntFlowExtraDirectCorrelations(TProfile* const ifedc) {this->fIntFlowExtraDirectCorrelations = ifedc;};
607  void SetIntFlowDirectCorrectionTermsForNUA(TProfile* const ifdctfn, Int_t const sc) {this->fIntFlowDirectCorrectionTermsForNUA[sc] = ifdctfn;};
609  void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo) {this->fCrossCheckInPtBinNo = crossCheckInPtBinNo;};
611  void SetCrossCheckInEtaBinNo(Int_t const crossCheckInEtaBinNo) {this->fCrossCheckInEtaBinNo = crossCheckInEtaBinNo;};
613  void SetNoOfParticlesInBin(TH1D* const noOfParticlesInBin) {this->fNoOfParticlesInBin = noOfParticlesInBin;};
615  void SetDiffFlowDirectCorrelations(TProfile* const diffFlowDirectCorrelations,Int_t const i,Int_t const j,Int_t const k){this->fDiffFlowDirectCorrelations[i][j][k]=diffFlowDirectCorrelations;};
616  TProfile* GetDiffFlowDirectCorrelations(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDirectCorrelations[i][j][k];};
617  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;};
619  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;};
620  TProfile* GetOtherDirectDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fOtherDirectDiffCorrelators[i][j][k][l];};
621  void SetMixedHarmonicsNestedLoops(TProfile* const mhnl) {this->fMixedHarmonicsNestedLoops = mhnl;};
622  TProfile* GetMixedHarmonicsNestedLoops() const {return this->fMixedHarmonicsNestedLoops;};
623 
624  // 9.) Mixed harmonics:
625  void SetMixedHarmonicsList(TList* const mhlist) {this->fMixedHarmonicsList = mhlist;};
626  void SetMixedHarmonicsFlags(TProfile* const mhFlags) {this->fMixedHarmonicsFlags = mhFlags;};
627  TProfile* GetMixedHarmonicsFlags() const {return this->fMixedHarmonicsFlags;};
632  void Set2pCorrelations(TProfile* const p2pCorr) {this->f2pCorrelations = p2pCorr;};
633  TProfile* Get2pCorrelations() const {return this->f2pCorrelations;};
634  void Set3pCorrelations(TProfile* const p3pCorr) {this->f3pCorrelations = p3pCorr;};
635  TProfile* Get3pCorrelations() const {return this->f3pCorrelations;};
636  void Set4pCorrelations(TProfile* const p4pCorr) {this->f4pCorrelations = p4pCorr;};
637  TProfile* Get4pCorrelations() const {return this->f4pCorrelations;};
638  void Set5pCorrelations(TProfile* const p5pCorr) {this->f5pCorrelations = p5pCorr;};
639  TProfile* Get5pCorrelations() const {return this->f5pCorrelations;};
640  void Set6pCorrelations(TProfile* const p6pCorr) {this->f6pCorrelations = p6pCorr;};
641  TProfile* Get6pCorrelations() const {return this->f6pCorrelations;};
642  void Set7pCorrelations(TProfile* const p7pCorr) {this->f7pCorrelations = p7pCorr;};
643  TProfile* Get7pCorrelations() const {return this->f7pCorrelations;};
644  void Set8pCorrelations(TProfile* const p8pCorr) {this->f8pCorrelations = p8pCorr;};
645  TProfile* Get8pCorrelations() const {return this->f8pCorrelations;};
646  void Set2pCumulants(TH1D* const p2pC) {this->f2pCumulants = p2pC;};
647  TH1D* Get2pCumulants() const {return this->f2pCumulants;};
648  void Set3pCumulants(TH1D* const p3pC) {this->f3pCumulants = p3pC;};
649  TH1D* Get3pCumulants() const {return this->f3pCumulants;};
650  void Set4pCumulants(TH1D* const p4pC) {this->f4pCumulants = p4pC;};
651  TH1D* Get4pCumulants() const {return this->f4pCumulants;};
652  void Set5pCumulants(TH1D* const p5pC) {this->f5pCumulants = p5pC;};
653  TH1D* Get5pCumulants() const {return this->f5pCumulants;};
654  void Set6pCumulants(TH1D* const p6pC) {this->f6pCumulants = p6pC;};
655  TH1D* Get6pCumulants() const {return this->f6pCumulants;};
656  void Set7pCumulants(TH1D* const p7pC) {this->f7pCumulants = p7pC;};
657  TH1D* Get7pCumulants() const {return this->f7pCumulants;};
658  void Set8pCumulants(TH1D* const p8pC) {this->f8pCumulants = p8pC;};
659  TH1D* Get8pCumulants() const {return this->f8pCumulants;};
660  void SetMixedHarmonicEventWeights(TH1D* const mhew, Int_t const power) {this->fMixedHarmonicEventWeights[power] = mhew;};
664  void SetMixedHarmonicProductOfCorrelations(TProfile2D* const mhpoc) {this->fMixedHarmonicProductOfCorrelations = mhpoc;};
666 
667  // 10.) Control histograms:
668  void SetControlHistogramsList(TList* const chl) {this->fControlHistogramsList = chl;};
669  void SetControlHistogramsFlags(TProfile* const chf) {this->fControlHistogramsFlags = chf;};
670  TProfile* GetControlHistogramsFlags() const {return this->fControlHistogramsFlags;};
673  void SetCorrelationNoRPsVsRefMult(TH2D* const cnrvrm) {this->fCorrelationNoRPsVsRefMult = cnrvrm;};
675  void SetCorrelationNoPOIsVsRefMult(TH2D* const cnpvrm) {this->fCorrelationNoPOIsVsRefMult = cnpvrm;};
677  void SetCorrelationNoRPsVsNoPOIs(TH2D* const cnrvnp) {this->fCorrelationNoRPsVsNoPOIs = cnrvnp;};
679  void SetCorrelation2468VsMult(TH2D* const c2468vm, Int_t const ci) {this->fCorrelation2468VsMult[ci] = c2468vm;};
681  void SetCorrelationProduct2468VsMult(TH2D* const cp2468vm, Int_t const ci) {this->fCorrelationProduct2468VsMult[ci] = cp2468vm;};
683  void SetQvectorTermsVsMult(TH2D* const qvtvm, Int_t const qvti) {this->fQvectorTermsVsMult[qvti] = qvtvm;};
684  TH2D* GetQvectorTermsVsMult(Int_t qvti) const {return this->fQvectorTermsVsMult[qvti];};
685 
686  // 11.) Bootstrap:
687  void SetBootstrapList(TList* const bl) {this->fBootstrapList = bl;};
688  void SetBootstrapProfilesList(TList* const bpl) {this->fBootstrapProfilesList = bpl;};
689  void SetBootstrapResultsList(TList* const brl) {this->fBootstrapResultsList = brl;};
690  void SetBootstrapFlags(TProfile* const bf) {this->fBootstrapFlags = bf;};
691  TProfile* GetBootstrapFlags() const {return this->fBootstrapFlags;};
692  void SetUseBootstrap(Bool_t const ub) {this->fUseBootstrap = ub;};
693  Bool_t GetUseBootstrap() const {return this->fUseBootstrap;};
694  void SetUseBootstrapVsM(Bool_t const ubVsM) {this->fUseBootstrapVsM = ubVsM;};
695  Bool_t GetUseBootstrapVsM() const {return this->fUseBootstrapVsM;};
696  void SetnSubsamples(Int_t const ns) {this->fnSubsamples = ns;};
697  Int_t GetnSubsamples() const {return this->fnSubsamples;};
698  void SetBootstrapCorrelations(TProfile2D* const bcp) {this->fBootstrapCorrelations = bcp;};
699  TProfile2D* GetBootstrapCorrelations() const {return this->fBootstrapCorrelations;};
700  void SetBootstrapCorrelationsVsM(TProfile2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCorrelationsVsM[qvti] = bcpVsM;};
701  TProfile2D* GetBootstrapCorrelationsVsM(Int_t qvti) const {return this->fBootstrapCorrelationsVsM[qvti];};
702  void SetBootstrapCumulants(TH2D* const bc) {this->fBootstrapCumulants = bc;};
704  void SetBootstrapCumulantsVsM(TH2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCumulantsVsM[qvti] = bcpVsM;};
705  TH2D* GetBootstrapCumulantsVsM(Int_t qvti) const {return this->fBootstrapCumulantsVsM[qvti];};
706 
707  // 12.) CRC
708  void SetCRCList(TList* const CRCL) {this->fCRCList = CRCL;};
709  void SetCRCIntList(TList* const CRCL) {this->fCRCIntList = CRCL;};
710  void SetCRCIntRbRList(TList* const CRCL) {this->fCRCIntRbRList = CRCL;};
711  void SetCRCIntRunsList(TList* const CRCL, Int_t r) {this->fCRCIntRunsList[r] = CRCL;};
712  void SetCRCVZList(TList* const CRCL) {this->fCRCVZList = CRCL;};
713  void SetCRCZDCList(TList* const CRCL) {this->fCRCZDCList = CRCL;};
714  void SetCRCZDCRbRList(TList* const CRCL) {this->fCRCZDCRbRList = CRCL;};
715  void SetCRCZDCRunsList(TList* const CRCL, Int_t r) {this->fCRCZDCRunsList[r] = CRCL;};
716  void SetCRCPtList(TList* const CRCL) {this->fCRCPtList = CRCL;};
717  void SetCRC2List(TList* const CRCL) {this->fCRC2List = CRCL;};
718  void SetCRCQVecList(TList* const CRCL) {this->fCRCQVecList = CRCL;};
719  void SetCRCQVecListRun(TList* const CRCL, Int_t r) {this->fCRCQVecListRun[r] = CRCL;};
720  void SetCRCFlags(TProfile* const CRCF) {this->fCRCFlags = CRCF;};
721  TProfile* GetCRCFlags() const {return this->fCRCFlags;};
722  void SetCalculateCRC(Bool_t const cCRC) {this->fCalculateCRC = cCRC;};
723  Bool_t GetCalculateCRC() const {return this->fCalculateCRC;};
724  void SetCalculateCRCPt(Bool_t const cCRC) {this->fCalculateCRCPt = cCRC;};
725  Bool_t GetCalculateCRCPt() const {return this->fCalculateCRCPt;};
726  void SetCalculateCME(Bool_t const cCRC) {this->fCalculateCME = cCRC;};
727  Bool_t GetCalculateCME() const {return this->fCalculateCME;};
728  void SetCalculateFlowQC(Bool_t const cCRC) {this->fCalculateFlowQC = cCRC;};
729  Bool_t GetCalculateFlowQC() const {return this->fCalculateFlowQC;};
730  void SetCalculateFlowZDC(Bool_t const cCRC) {this->fCalculateFlowZDC = cCRC;};
732  void SetCalculateFlowVZ(Bool_t const cCRC) {this->fCalculateFlowVZ = cCRC;};
733  Bool_t GetCalculateFlowVZ() const {return this->fCalculateFlowVZ;};
734  void SetCalculateCRCInt(Bool_t const cCRC) {this->fCalculateCRCInt = cCRC;};
735  Bool_t GetCalculateCRCInt() const {return this->fCalculateCRCInt;};
736  void SetCalculateCRC2(Bool_t const cCRC) {this->fCalculateCRC2 = cCRC;};
737  Bool_t GetCalculateCRC2() const {return this->fCalculateCRC2;};
738  void SetCalculateCRCVZ(Bool_t const cCRC) {this->fCalculateCRCVZ = cCRC;};
739  Bool_t GetCalculateCRCVZ() const {return this->fCalculateCRCVZ;};
740  void SetCalculateCRCZDC(Bool_t const cCRC) {this->fCalculateCRCZDC = cCRC;};
741  Bool_t GetCalculateCRCZDC() const {return this->fCalculateCRCZDC;};
742  void SetCalculateEbEFlow(Bool_t const cCRC) {this->fCalculateEbEFlow = cCRC;};
744  void SetStoreZDCQVecVtxPos(Bool_t const cCRC) {this->fStoreZDCQVecVtxPos = cCRC;};
746  void SetUseVZERO(Bool_t const cCRC) {this->fUseVZERO = cCRC;};
747  Bool_t GetUseVZERO() const {return this->fUseVZERO;};
748  void SetUseZDC(Bool_t const cCRC) {this->fUseZDC = cCRC;};
749  Bool_t GetUseZDC() const {return this->fUseZDC;};
750  void SetRecenterZDC(Bool_t const cCRC) {this->fRecenterZDC = cCRC;};
751  Bool_t GetRecenterZDC() const {return this->fRecenterZDC;};
752  void SetDivSigma(Bool_t const cCRC) {this->fDivSigma = cCRC;};
753  Bool_t GetDivSigma() const {return this->fDivSigma;};
754  void SetInvertZDC(Bool_t const cCRC) {this->fInvertZDC = cCRC;};
755  Bool_t GetInvertZDC() const {return this->fInvertZDC;};
756  void SetQAZDCCuts(Bool_t const cCRC) {this->fQAZDCCuts = cCRC;};
757  Bool_t GetQAZDCCuts() const {return this->fQAZDCCuts;};
758  void SetUseTracklets(Bool_t const cCRC) {this->fUseTracklets = cCRC;};
759  void SetTestSin(Bool_t const cCRC) {this->fCRCTestSin = cCRC;};
760  Bool_t GetTestSin() const {return this->fCRCTestSin;};
761  void SetRecenterZDCVtxRbR(Bool_t const cCRC) {this->fVtxRbR = cCRC;};
762  Bool_t GetRecenterZDCVtxRbR() const {return this->fVtxRbR;};
763  void SetNUAforCRC(Bool_t const cCRC) {this->fNUAforCRC = cCRC;};
764  Bool_t GetNUAforCRC() const {return this->fNUAforCRC;};
765  void SetUseCRCRecenter(Bool_t const cCRC) {this->fUseCRCRecenter = cCRC;};
766  Bool_t GetUseCRCRecenter() const {return this->fUseCRCRecenter;};
768  void SetCRCQVecWeightsList(TList* const wlist) {this->fCRCQVecWeightsList = wlist;}
770  void SetCRCZDCCalibList(TList* const wlist) {this->fCRCZDCCalibList = wlist;}
771  TList* GetCRCZDCCalibList() const {return this->fCRCZDCCalibList;}
772  void SetCRCVZEROCalibList(TList* const wlist) {this->fCRCVZEROCalibList = wlist;}
774  void SetCRCZDCResList(TList* const wlist) {this->fCRCZDCResList = wlist;}
775  TList* GetCRCZDCResList() const {return this->fCRCZDCResList;}
776  void SetZDCESEList(TList* const kList) {this->fZDCESEList = kList;};
777  TList* GetZDCESEList() const {return this->fZDCESEList;};
778  // 12.a) EbE Corr:
779  void SetCRCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProdTempHist[c][eg][h] = TH;};
780  TH1D* GetCRCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProdTempHist[c][eg][h];};
781  // 12.b) Final histo:
782  void SetCRCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrHist[c][eg][h] = TH;};
783  TH1D* GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrHist[c][eg][h];};
784  void SetCRCCumHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCumHist[c][eg][h] = TH;};
785  TH1D* GetCRCCumHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCumHist[c][eg][h];};
786  void SetCRCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCCFunHist[eg][h] = TH;};
787  TH1D* GetCRCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCCFunHist[eg][h];};
788  // 12.c) Covariances:
789  void SetCRCCorrProd2p2pPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProd2p2pPro[c][eg][h] = TP;};
790  TProfile* GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProd2p2pPro[c][eg][h];};
791  void SetCRCCovHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCovHist[c][eg][h] = TH;};
792  TH1D* GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCovHist[c][eg][h];};
793  // 12.d) NUA corrections:
794  void SetCRCNUATermsHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCNUATermsHist[c][eg][h] = TH;};
795  TH1D* GetCRCNUATermsHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCNUATermsHist[c][eg][h];};
796 
797  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;};
798  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];};
799  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;};
800  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];};
801  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;};
802  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];};
803 
804  // 12.e) Q Vectors:
805  void SetCRCQnReHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnRe[r][h] = TH;};
806  TProfile* GetCRCQnReHist(Int_t const r, Int_t const h) const {return this->fCRCQnRe[r][h];};
807  void SetCRCQnImHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnIm[r][h] = TH;};
808  TProfile* GetCRCQnImHist(Int_t const r, Int_t const h) const {return this->fCRCQnIm[r][h];};
809  void SetCRCQnReCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnReCorr[r][h] = TH;};
810  TProfile* GetCRCQnReCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnReCorr[r][h];};
811  void SetCRCQnImCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnImCorr[r][h] = TH;};
812  TProfile* GetCRCQnImCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnImCorr[r][h];};
813 
814  void SetCRCVZQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecA[r][c] = TH;};
815  TProfile* GetCRCVZQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecA[r][c];};
816  void SetCRCVZQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecC[r][c] = TH;};
817  TProfile* GetCRCVZQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecC[r][c];};
818 
819  void SetCRCZDCQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecA[r][c] = TH;};
820  TProfile* GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecA[r][c];};
821  void SetCRCZDCQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecC[r][c] = TH;};
822  TProfile* GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecC[r][c];};
823  void SetCRCZDCQVecACorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecACorr[r][c] = TH;};
824  TProfile* GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecACorr[r][c];};
825  void SetCRCZDCQVecCCorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecCCorr[r][c] = TH;};
826  TProfile* GetCRCZDCQVecCCorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecCCorr[r][c];};
827 // void SetCRCZDCQVecEP(TH2D* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecEP[r][c] = TH;};
828 // TH2D* GetCRCZDCQVecEP(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecEP[r][c];};
829  void SetCRCZDCQVecRes(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecRes[r][c] = TH;};
830  TProfile* GetCRCZDCQVecRes(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecRes[r][c];};
831  void SetCRCZDCQVecCov(TProfile2D* const TH, Int_t const r, Int_t const i) {this->fCRCZDCQVecCov[r][i] = TH;};
832  TProfile2D* GetCRCZDCQVecCov(Int_t const r, Int_t const i) const {return this->fCRCZDCQVecCov[r][i];};
833 
834  // void SetCRCVZvsZDCCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCVZvsZDCCov[r][i] = TH;};
835  // TProfile* GetCRCVZvsZDCCov(Int_t const r, Int_t const i) const {return this->fCRCVZvsZDCCov[r][i];};
836 
838 
839  // CRC VZERO:
840  void SetCRCVZEROetaPro(TProfile* const TP, Int_t const c, Int_t const r) {this->fCRCVZEROetaPro[c][r] = TP;};
841  TProfile* GetCRCVZEROetaPro(Int_t const c, Int_t const r) const {return this->fCRCVZEROetaPro[c][r];};
842  void SetCRCVZEROetaHist(TH1D* const TP, Int_t const c, Int_t const r) {this->fCRCVZEROetaHist[c][r] = TP;};
843  TH1D* GetCRCVZEROetaHist(Int_t const c, Int_t const r) const {return this->fCRCVZEROetaHist[c][r];};
844 
845  // CRC ZDC:
846  // 12.a) EbE Corr:
847  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;};
848  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];};
849  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;};
850  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];};
851  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;};
852  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];};
853  // 12.b) Final histo:
854  void SetCRCZDCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrHist[c][eg][h] = TH;};
855  TH1D* GetCRCZDCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrHist[c][eg][h];};
856  void SetCRCZDCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCCFunHist[eg][h] = TH;};
857  TH1D* GetCRCZDCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCZDCCFunHist[eg][h];};
858  void SetCRCZDCSpectra(TProfile* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCSpectra[eg][h] = TH;};
859  TProfile* GetCRCZDCSpectra(Int_t const eg, Int_t const h) const {return this->fCRCZDCSpectra[eg][h];};
860 
861  // 12.c) Covariances:
862  void SetCRCZDCCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCovHist[c][eg][h] = TH;};
863  TH2D* GetCRCZDCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCovHist[c][eg][h];};
864  void SetCRCZDCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrProdTempHist[c][eg][h] = TH;};
865  TH1D* GetCRCZDCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrProdTempHist[c][eg][h];};
866 
867  // CRC2:
868  void SetCRC2nEtaBins(Int_t NB) {this->fCRC2nEtaBins = NB;};
870  void SetCRC2CorPro(TProfile* const TP, Int_t const h, Int_t const c) {this->fCRC2CorPro[h][c] = TP;};
871  TProfile* GetCRC2CorPro(Int_t const h, Int_t const c) const {return this->fCRC2CorPro[h][c];};
872  void SetCRC2NUAPro(TProfile* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAPro[h][c][e] = TP;};
873  TProfile* GetCRC2NUAPro(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAPro[h][c][e];};
874  void SetCRC2CorHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2CorHist[h][c][e] = TP;};
875  TH1D* GetCRC2CorHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2CorHist[h][c][e];};
876  void SetCRC2NUAHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAHist[h][c][e] = TP;};
877  TH1D* GetCRC2NUAHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAHist[h][c][e];};
878  void SetCRC2CovPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovPro[r][h][c] = TP;};
879  TProfile* GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovPro[r][h][c];};
880  void SetCRC2CovHist(TH1D* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovHist[r][h][c] = TP;};
881  TH1D* GetCRC2CovHist(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovHist[r][h][c];};
882 
883  void SetCenWeightsHist(TH1D* const n) {this->fCenWeightsHist = n;};
884  TH1D* GetCenWeightsHist() const {return this->fCenWeightsHist;};
885  void SetRefMultRbRPro(TProfile2D* const n) {this->fRefMultRbRPro = n;};
886  void SetAvEZDCRbRPro(TProfile2D* const A, TProfile2D* const B) {this->fAvEZDCCRbRPro = A; this->fAvEZDCARbRPro = B;};
887  void SetPhiExclZoneHist(TH2D* const n) {this->fPhiExclZoneHist = n;};
888  TH2D* GetPhiExclZoneHist() const {return this->fPhiExclZoneHist;};
889  void SetPtWeightsHist(TH1D* const n, Int_t c) {this->fPtWeightsHist[c] = n;};
890  TH1D* GetPtWeightsHist(Int_t c) const {return this->fPtWeightsHist[c];};
891  void SetEtaWeightsHist(TH1D* const n, Int_t h, Int_t b, Int_t c) {this->fEtaWeightsHist[h][b][c] = n;};
892  TH1D* GetEtaWeightsHist(Int_t h, Int_t b, Int_t c) const {return this->fEtaWeightsHist[h][b][c];};
893  void SetNvsCenCut(TH1D* const n, Int_t c, Int_t h) {this->fNvsCenCut[c][h] = n;};
894  TH1D* GetNvsCenCut(Int_t c, Int_t h) const {return this->fNvsCenCut[c][h];};
895  void SetZNCvsZNA(TH2F* const n, Int_t const h) {this->fhZNCvsZNA[h] = n;};
896  TH2F* GetZNCvsZNA(Int_t const h) const {return this->fhZNCvsZNA[h];};
897  void SetZNvsCen(TH2F* const n, Int_t const h) {this->fhZNvsCen[h] = n;};
898  TH2F* GetZNvsCen(Int_t const h) const {return this->fhZNvsCen[h];};
899  void SetZDCESEMultWeightsHist(TH2F* const n, Int_t h) {this->fZDCESEMultWeightsHist[h] = n;};
901  void SetZDCESESpecWeightsHist(TH2F* const n, Int_t h) {this->fZDCESESpecWeightsHist[h] = n;};
903  void SetZNvsTCen(TH2F* const n, Int_t const h) {this->fhZNvsTCen[h] = n;};
904  TH2F* GetZNvsTCen(Int_t const h) const {return this->fhZNvsTCen[h];};
905  void SetCenvsMul(TH2F* const n, Int_t const h) {this->fhCenvsMul[h] = n;};
906  TH2F* GetCenvsMul(Int_t const h) const {return this->fhCenvsMul[h];};
907  void SetCenvsSpec(TH2F* const n, Int_t const h) {this->fhCenvsSpec[h] = n;};
908  TH2F* GetCenvsSpec(Int_t const h) const {return this->fhCenvsSpec[h];};
909  void SetZNvsMul(TH2F* const n) {this->fhZNvsMul = n;};
910  TH2F* GetZNvsMul() const {return this->fhZNvsMul;};
911 
912  void SetZNCenvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCenvsMul[eg][h] = n;};
913  TH2F* GetZNCenvsMul(Int_t const eg, Int_t const h) const {return this->fhZNCenvsMul[eg][h];};
914  void SetZNResvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsMul[eg][h] = n;};
915  TH2F* GetZNResvsMul(Int_t const eg, Int_t const h) const {return this->fhZNResvsMul[eg][h];};
916  void SetZNResvsCen(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsCen[eg][h] = n;};
917  TH2F* GetZNResvsCen(Int_t const eg, Int_t const h) const {return this->fhZNResvsCen[eg][h];};
918 
920 
921  // Flow QC
922  void SetFlowQCList(TList* const TL) {this->fFlowQCList = TL;};
923  void SetFlowQCVtxList(TList* const TL, Int_t r) {this->fFlowQCVtxList[r] = TL;};
924  void SetFlowQCCenBin(Int_t const TL) {this->fFlowQCCenBin = TL;};
925  Int_t GetFlowQCCenBin() const {return this->fFlowQCCenBin;};
926  void SetFlowQCDeltaEta(Double_t const TL) {this->fFlowQCDeltaEta = TL;};
927  Double_t GetFlowQCDeltaEta() const {return this->fFlowQCDeltaEta;};
928  void SetFlowQCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorPro[c][eg][h] = TP;};
929  TProfile* GetFlowQCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorPro[c][eg][h];};
930  void SetFlowQCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorHist[c][eg][h] = TH;};
931  TH1D* GetFlowQCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorHist[c][eg][h];};
932  void SetFlowQCCorNUAHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAHist[c][eg][h] = TH;};
933  TH1D* GetFlowQCCorNUAHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAHist[c][eg][h];};
934  void SetFlowQCCorNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAPro[c][eg][h] = TP;};
935  TProfile* GetFlowQCCorNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAPro[c][eg][h];};
936  void SetFlowQCCorCovPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorCovPro[c][eg][h] = TP;};
937  TProfile* GetFlowQCCorCovPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorCovPro[c][eg][h];};
938  void SetFlowQCCorCovHist(TH1D* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorCovHist[c][eg][h] = TP;};
939  TH1D* GetFlowQCCorCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorCovHist[c][eg][h];};
940  void SetFlowQCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCFinalPtDifHist[c][eg][h] = TH;};
941  TH1D* GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCFinalPtDifHist[c][eg][h];};
942  void SetFlowQCCorProPhi(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorProPhi[c][eg][h] = TP;};
943  TProfile* GetFlowQCCorProPhi(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorProPhi[c][eg][h];};
944  void SetFlowQCIntCorProVtx(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCIntCorProVtx[r][c][eg][h] = TP;};
945  TProfile* GetFlowQCIntCorProVtx(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorProVtx[r][c][eg][h];};
946 
947  TProfile* GetFlowQCIntCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorPro[eg][h];};
948  void SetFlowQCIntCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorPro[eg][k] = TP;};
949  TProfile* GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAPro[eg][h];};
950  void SetFlowQCIntCorNUAPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAPro[eg][k] = TP;};
951  TH1D* GetFlowQCIntCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorHist[eg][h];};
952  void SetFlowQCIntCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorHist[eg][k] = TP;};
953  TH1D* GetFlowQCIntCumHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCumHist[eg][h];};
954  void SetFlowQCIntCumHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCumHist[eg][k] = TP;};
955  TH1D* GetFlowQCIntCorNUAHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAHist[eg][h];};
956  void SetFlowQCIntCorNUAHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAHist[eg][k] = TP;};
957  TProfile* GetFlowQCIntCorProEG(Int_t const eg) const {return this->fFlowQCIntCorProEG[eg];};
958  void SetFlowQCIntCorProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCIntCorProEG[eg] = TP;};
959  TProfile* GetFlowQCIntCorNUAProEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAProEG[eg][h];};
960  void SetFlowQCIntCorNUAProEG(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAProEG[eg][k] = TP;};
961  TH1D* GetFlowQCIntCorNUAHistEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAHistEG[eg][h];};
962  void SetFlowQCIntCorNUAHistEG(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAHistEG[eg][k] = TP;};
963  TH1D* GetFlowQCIntCorHistEG(Int_t const eg) const {return this->fFlowQCIntCorHistEG[eg];};
964  void SetFlowQCIntCorHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCIntCorHistEG[eg] = TP;};
965 
966  void SetFlowQCSpectra(TH2D* const TH) {this->fFlowQCSpectra = TH;};
967  TH2D* GetFlowQCSpectra() const {return this->fFlowQCSpectra;};
968  void SetFlowQCIntCorProTest(TProfile2D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorProTest[eg][k] = TP;};
969  TProfile2D* GetFlowQCIntCorProTest(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorProTest[eg][h];};
970  void SetFlowQCIntCorHistTest(TH2D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorHistTest[eg][k] = TP;};
971  TH2D* GetFlowQCIntCorHistTest(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorHistTest[eg][h];};
972  void SetFlowQCIntCumHistTest(TH2D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCumHistTest[eg][k] = TP;};
973  TH2D* GetFlowQCIntCumHistTest(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCumHistTest[eg][h];};
974  void SetFlowQCIntFinHistTest(TH2D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntFinHistTest[eg][k] = TP;};
975  TH2D* GetFlowQCIntFinHistTest(Int_t const eg, Int_t const h) const {return this->fFlowQCIntFinHistTest[eg][h];};
976 
977  TProfile* GetFlowQCRefCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorPro[eg][h];};
978  void SetFlowQCRefCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorPro[eg][k] = TP;};
979  TH1D* GetFlowQCRefCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorHist[eg][h];};
980  void SetFlowQCRefCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorHist[eg][k] = TP;};
981  TH1D* GetFlowQCRefCorFinal(Int_t const eg, Int_t const h) const {return this->fFlowQCRefCorFinal[eg][h];};
982  void SetFlowQCRefCorFinal(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCRefCorFinal[eg][k] = TP;};
983 
984  void SetFlowSCv2vsZNv1Pro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Pro[c][eg] = TP;};
985  TProfile* GetFlowSCv2vsZNv1Pro(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Pro[c][eg];};
986  void SetFlowSCv2vsZNv1Hist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Hist[c][eg] = TP;};
987  TH1D* GetFlowSCv2vsZNv1Hist(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Hist[c][eg];};
988  void SetFlowSCv2vsZNv1FinalHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1FinalHist[c][eg] = TP;};
989  TH1D* GetFlowSCv2vsZNv1FinalHist(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1FinalHist[c][eg];};
990 
991  void SetFlowSCv2vsZNv1PtPro(TProfile* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtPro[c][pt][eg] = TP;};
992  TProfile* GetFlowSCv2vsZNv1PtPro(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtPro[c][pt][eg];};
993  void SetFlowSCv2vsZNv1PtHist(TH1D* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtHist[c][pt][eg] = TP;};
994  TH1D* GetFlowSCv2vsZNv1PtHist(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtHist[c][pt][eg];};
995  void SetFlowSCv2vsZNv1PtFinalHist(TH1D* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtFinalHist[c][pt][eg] = TP;};
996  TH1D* GetFlowSCv2vsZNv1PtFinalHist(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtFinalHist[c][pt][eg];};
997 
998  // Flow QC high orders
999  void SetFlowQCHOList(TList* const TL) {this->fFlowQCHOList = TL;};
1000  void SetFlowQCIntCorHOPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntCorHOPro[c][eg] = TP;};
1001  TProfile* GetFlowQCIntCorHOPro(Int_t const c, Int_t const eg) const {return this->fFlowQCIntCorHOPro[c][eg];};
1002  void SetFlowQCIntCorHOHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntCorHOHist[c][eg] = TP;};
1003  TH1D* GetFlowQCIntCorHOHist(Int_t const c, Int_t const eg) const {return this->fFlowQCIntCorHOHist[c][eg];};
1004  void SetFlowQCIntQCHOHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntQCHOHist[c][eg] = TP;};
1005  TH1D* GetFlowQCIntQCHOHist(Int_t const c, Int_t const eg) const {return this->fFlowQCIntQCHOHist[c][eg];};
1006 
1007  // Flow SP ZDC
1008  void SetFlowSPZDCList(TList* const TL) {this->fFlowSPZDCList = TL;};
1009 
1010  void SetFlowSPZDCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorPro[c][eg][h] = TP;};
1011  TProfile* GetFlowSPZDCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorPro[c][eg][h];};
1012  void SetFlowSPZDCCorNUA(TProfile* const TP, Int_t const c, Int_t const h) {this->fFlowSPZDCCorNUA[c][h] = TP;};
1013  TProfile* GetFlowSPZDCCorNUA(Int_t const c, Int_t const h) const {return this->fFlowSPZDCCorNUA[c][h];};
1014  void SetFlowSPZDCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorHist[c][eg][h] = TH;};
1015  TH1D* GetFlowSPZDCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorHist[c][eg][h];};
1016 
1017  void SetFlowSPZDCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCFinalPtDifHist[c][eg][h] = TH;};
1018  TH1D* GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCFinalPtDifHist[c][eg][h];};
1019  void SetFlowSPZDCIntHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntHist[c][eg] = TH;};
1020  TH1D* GetFlowSPZDCIntHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntHist[c][eg];};
1021  void SetFlowSPZDCIntFinalHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntFinalHist[c][eg] = TH;};
1022  TH1D* GetFlowSPZDCIntFinalHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntFinalHist[c][eg];};
1023 
1024  void SetFlowSPZDCIntPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntPro[c][eg] = TP;};
1025  TProfile* GetFlowSPZDCIntPro(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntPro[c][eg];};
1026  void SetFlowSPZDCIntNUA(TProfile* const TP, Int_t const eg) {this->fFlowSPZDCIntNUA[eg] = TP;};
1027  TProfile* GetFlowSPZDCIntNUA(Int_t const eg) const {return this->fFlowSPZDCIntNUA[eg];};
1028 
1029  // v1
1030  void SetFlowSPZDCv1Pro(TProfile* const TP, Int_t const r) {this->fFlowSPZDCv1Pro[r] = TP;};
1031  TProfile* GetFlowSPZDCv1Pro(Int_t const r) const {return this->fFlowSPZDCv1Pro[r];};
1032  void SetFlowSPZDCv1etaPro(TProfile* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaPro[c][k][r] = TP;};
1033  TProfile* GetFlowSPZDCv1etaPro(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaPro[c][k][r];};
1034  void SetFlowSPZDCv1etaHist(TH1D* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaHist[c][k][r] = TP;};
1035  TH1D* GetFlowSPZDCv1etaHist(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaHist[c][k][r];};
1036  void SetFlowSPZDCv1etaNUAPro(TProfile* const TP, Int_t const c, Int_t const k, Int_t const r) {this->fFlowSPZDCv1etaNUAPro[c][k][r] = TP;};
1037  TProfile* GetFlowSPZDCv1etaNUAPro(Int_t const c, Int_t const k, Int_t const r) const {return this->fFlowSPZDCv1etaNUAPro[c][k][r];};
1038 
1039  void SetFlowSPZDCv1etaPtPro(TProfile2D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaPtPro[c][k] = TP;};
1040  TProfile2D* GetFlowSPZDCv1etaPtPro(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaPtPro[c][k];};
1041  void SetFlowSPZDCv1etaPtHist(TH2D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaPtHist[c][k] = TP;};
1042  TH2D* GetFlowSPZDCv1etaPtHist(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaPtHist[c][k];};
1043 
1044  void SetFlowSPZDCv1etaCovPro(TProfile* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaCovPro[c][k] = TP;};
1045  TProfile* GetFlowSPZDCv1etaCovPro(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaCovPro[c][k];};
1046  void SetFlowSPZDCv1etaCovHist(TH1D* const TP, Int_t const c, Int_t const k) {this->fFlowSPZDCv1etaCovHist[c][k] = TP;};
1047  TH1D* GetFlowSPZDCv1etaCovHist(Int_t const c, Int_t const k) const {return this->fFlowSPZDCv1etaCovHist[c][k];};
1048 
1049  // Flow SP VZ
1050  void SetFlowSPVZList(TList* const TL) {this->fFlowSPVZList = TL;};
1051  void SetFlowSPVZCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorPro[c][eg][h] = TP;};
1052  TProfile* GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorPro[c][eg][h];};
1053  void SetFlowSPVZNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZNUAPro[c][eg][h] = TP;};
1054  TProfile* GetFlowSPVZNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZNUAPro[c][eg][h];};
1055  void SetFlowSPVZCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorHist[c][eg][h] = TH;};
1056  TH1D* GetFlowSPVZCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorHist[c][eg][h];};
1057 
1058  Int_t GetnRun() const {return this->fCRCnRun;};
1059  Int_t GetCRCPtnCen() const {return this->fCRCPtnCenBin;};
1060  Double_t GetCRCPtwCen() const {return this->fCRCPtwCenBin;};
1061  Int_t GetnEG() const {return this->fCRCnEtaGap;};
1062  Int_t GetCRCPtnPt() const {return this->fCRCPtnPtBin;};
1063  Double_t GetCRCPtwPt() const {return this->fCRCPtwPtBin;};
1064  Double_t GetCRCPtMinPt() const {return this->fCRCPtMinPt;};
1065  Int_t GetnCR() const {return this->fCRCnCR;};
1066  Double_t* GetCRCPtvarPtBins() const {return this->fCRCPtvarPtBins;};
1067  Int_t GetCRCZDCnCR() const {return this->fCRCZDCnCR;};
1068  Int_t GetCRCZDCnEtaBin() const {return this->fCRCZDCnEtaBin;};
1069 
1070  // CME:
1071  void SetCMEList(TList* const TL) {this->fCMEList = TL;};
1072  void SetCMETPCList(TList* const TL) {this->fCMETPCList = TL;};
1073  void SetCMEZDCList(TList* const TL) {this->fCMEZDCList = TL;};
1074  // CME TPC only:
1075  void SetCMETPCCorPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCCorPro[c][h] = TP;};
1076  TProfile* GetCMETPCCorPro(Int_t const c, Int_t const h) const {return this->fCMETPCCorPro[c][h];};
1077  void SetCMETPCCorHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCCorHist[c][h] = TH;};
1078  TH1D* GetCMETPCCorHist(Int_t const c, Int_t const h) const {return this->fCMETPCCorHist[c][h];};
1079  void SetCMETPCFinalHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCFinalHist[c][h] = TH;};
1080  TH1D* GetCMETPCFinalHist(Int_t const c, Int_t const h) const {return this->fCMETPCFinalHist[c][h];};
1081  void SetCMETPCCorPro2D(TProfile2D* const TP, Int_t const c) {this->fCMETPCCorPro2D[c] = TP;};
1082  TProfile2D* GetCMETPCCorPro2D(Int_t const c) const {return this->fCMETPCCorPro2D[c];};
1083 
1084  void SetCMETPCSCPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCSCPro[c][h] = TP;};
1085  TProfile* GetCMETPCSCPro(Int_t const c, Int_t const h) const {return this->fCMETPCSCPro[c][h];};
1086  void SetCMETPCSCHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCSCHist[c][h] = TH;};
1087  TH1D* GetCMETPCSCHist(Int_t const c, Int_t const h) const {return this->fCMETPCSCHist[c][h];};
1088 
1089  // CME TPC-ZDCs:
1090  void SetCMEZDCCorPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCorPro[eg][h] = TP;};
1091  TProfile* GetCMEZDCCorPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorPro[eg][h];};
1092  void SetCMEZDCCovPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCovPro[eg][h] = TP;};
1093  TProfile* GetCMEZDCCovPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovPro[eg][h];};
1094  void SetCMEZDCNUAPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCNUAPro[eg][h] = TP;};
1095  TProfile* GetCMEZDCNUAPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCNUAPro[eg][h];};
1096  void SetCMEZDCCorHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCorHist[eg][h] = TH;};
1097  TH1D* GetCMEZDCCorHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorHist[eg][h];};
1098  void SetCMEZDCCovHist(TH2D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCovHist[eg][h] = TH;};
1099  TH2D* GetCMEZDCCovHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovHist[eg][h];};
1100  void SetCMEZDCDistHist(TH1D* const TH, Int_t const eg, Int_t const h, Int_t const k) {this->fCMEZDCDistHist[eg][h][k] = TH;};
1101  TH1D* GetCMEZDCDistHist(Int_t const eg, Int_t const h, Int_t const k) const {return this->fCMEZDCDistHist[eg][h][k];};
1102 
1103  // EbE Flow
1104  void SetEbEFlowList(TList* const TL) {this->fEbEFlowList = TL;};
1105 
1106 
1107  // 15.) Various
1108  void SetVariousList(TList* const Various) {this->fVariousList = Various;};
1109  void SetMultHist(TH1D* const TH) {this->fMultHist = TH;};
1110  TH1D* GetMultHist() const {return this->fMultHist;}
1111  void SetCenHist(TH1D* const TH) {this->fCenHist = TH;};
1112  TH1D* GetCenHist() const {return this->fCenHist;}
1113  void SetVtxHist(TH3D* const TH, Int_t const c) {this->fVtxHist[c] = TH;};
1114  TH3D* GetVtxHist(Int_t const c) const {return this->fVtxHist[c];}
1115  void SetRunNumber(Int_t const n) {this->fRunNum = n;};
1116  Int_t GetRunNumber() const {return this->fRunNum;}
1117  void SetDataSet(DataSet set) {this->fDataSet = set;};
1118  DataSet GetDataSet() const {return this->fDataSet;}
1121  void SetSelectCharge(SelectCharge set) {this->fSelectCharge = set;};
1125  void SetCorrWeightTPC(CorrelationWeights weights) {this->fCorrWeightTPC = weights;};
1127  void SetCorrWeightVZ(CorrelationWeights weights) {this->fCorrWeightVZ = weights;};
1129  void SetCorrWeightZDC(CorrelationWeights weights) {this->fCorrWeightZDC = weights;};
1131  void SetMinMulZN(Int_t weights) {this->fMinMulZN = weights;};
1132  Int_t GetMinMulZN() const {return this->fMinMulZN;};
1133  void SetMaxDevZN(Float_t weights) {this->fMaxDevZN = weights;};
1134  Float_t GetMaxDevZN() const {return this->fMaxDevZN;};
1135 
1136 private:
1137 
1138  AliFlowAnalysisCRC(const AliFlowAnalysisCRC& afawQc);
1140 
1141  // 0.) base:
1143 
1144  // 1.) common:
1145  Bool_t fBookOnlyBasicCCH; // book only basis common control histrograms (by default book them all)
1155  Int_t fnBinsPhi; // number of phi bins
1156  Double_t fPhiMin; // minimum phi
1157  Double_t fPhiMax; // maximum phi
1158  Double_t fPhiBinWidth; // bin width for phi histograms
1159  Int_t fnBinsPt; // number of pt bins
1160  Double_t fPtMin; // minimum pt
1161  Double_t fPtMax; // maximum pt
1162  Double_t fPtBinWidth; // bin width for pt histograms
1163  Int_t fnBinsEta; // number of eta bins
1164  Double_t fEtaMin; // minimum eta
1165  Double_t fEtaMax; // maximum eta
1166  Double_t fEtaBinWidth; // bin width for eta histograms
1167  TProfile *fCommonConstants;
1168  Bool_t fFillMultipleControlHistograms; // fill separately control histos for events with >= 2, 4, 6 and 8 particles
1169  Int_t fHarmonic; // harmonic
1171  Bool_t fPrintFinalResults[4]; // print on the screen the final results (0=RF, 1=RP, 2=POI, 3=RF rebinned in M)
1172 
1173  // 2a.) particle weights:
1174  TList *fWeightsList; // list to hold all histograms with particle weights: fUseParticleWeights, fPhiWeights, fPtWeights and fEtaWeights
1175  Bool_t fUsePhiWeights; // use phi weights
1176  Bool_t fUsePtWeights; // use pt weights
1177  Bool_t fUseEtaWeights; // use eta weights
1178  Bool_t fUseTrackWeights; // use track weights (e.g. VZERO sector weights)
1179  Bool_t fUsePhiEtaWeights; // use phi,eta weights
1180  Bool_t fUsePhiEtaWeightsChDep; // use phi,eta weights charge dependent
1181  Bool_t fUsePhiEtaWeightsVtxDep; // use phi,eta weights vertex dependent (vz)
1182  Bool_t fUsePhiEtaWeightsChPtDep; // use phi,eta weights vertex dependent (vz)
1183  Bool_t fUsePhiEtaCuts; // use phi,eta cuts (for NUA)
1184  Bool_t fUseZDCESEMulWeights; // use ZDC-ESE mult. weights
1185  Bool_t fUseZDCESESpecWeights; // use ZDC-ESE spec. weights
1187  // TH1F *fPhiWeightsPOIs[2]; //! histogram holding phi weights
1188  // TH1D *fPtWeightsPOIs[2]; //! histogram holding pt weights
1189  // TH1D *fEtaWeightsPOIs[2]; //! histogram holding eta weights
1190  // TH2D *fPhiEtaWeightsPOIs[2]; //! histogram holding phi,eta weights
1192  // TH1D *fPtWeightsRPs; //!
1193  // TH1D *fEtaWeightsRPs; //!
1194  // TH1F *fPhiDistrRefPOIs[2]; //! histogram holding phi weights
1195  // TH1D *fPtDistrRefPOIs[2]; //! histogram holding pt weights
1196  // TH1D *fEtaDistrRefPOIs[2]; //! histogram holding eta weights
1197  // TH2D *fPhiEtaDistrRefPOIs[2]; //! histogram holding phi,eta weights
1198  // TH1F *fPhiDistrRefRPs; //!
1199  // TH1D *fPtDistrRefRPs; //!
1200  // TH1D *fEtaDistrRefRPs; //!
1201  // TH2D *fPhiEtaDistrRefRPs; //!
1202  // TH1D *fPtWeights[2]; //! histogram holding pt weights
1203 
1204  // 2b.) event weights:
1207 
1208  // 3.) integrated flow
1209  // 3a.) lists:
1214  // 3b.) flags:
1215  TProfile *fIntFlowFlags;
1216  Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance
1217  Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M
1218  Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity
1219  Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity
1220  Double_t fMaxMult; // maximal multiplicity for flow analysis versus multiplicity
1221  Bool_t fPropagateErrorAlsoFromNIT; // propagate error by taking into account also non-isotropic terms (not sure if resulting error then is correct - to be improved)
1222  Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity
1223  Bool_t fCalculateAllCorrelationsVsM; // calculate all correlations versus multiplicity
1224  Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default)
1225  Bool_t fForgetAboutCovariances; // when propagating error forget about the covariances
1226  Bool_t fStoreVarious; // store phi distribution for one event to illustrate flow
1227  Int_t fExactNoRPs; // when shuffled, select only this number of RPs for the analysis
1228  Bool_t fUse2DHistograms; // use TH2D instead of TProfile to improve numerical stability in reference flow calculation
1229  Bool_t fFillProfilesVsMUsingWeights; // if the width of multiplicity bin is 1, weights are not needed
1230  Bool_t fUseQvectorTerms; // use TH2D with separate Q-vector terms instead of TProfile to improve numerical stability in reference flow calculation
1231 
1232  // 3c.) event-by-event quantities:
1233  TMatrixD *fReQ;
1234  TMatrixD *fImQ;
1235  TMatrixD *fSpk;
1241  Double_t fNumberOfRPsEBE; // # of Reference Particles
1242  Double_t fNumberOfPOIsEBE; // # of Particles of Interest
1243  Double_t fReferenceMultiplicityEBE; // reference multiplicity
1244  Double_t fReferenceMultiplicityRecEBE; // reference multiplicity - <reference multiplicity>
1245  Double_t fCentralityEBE; // centrality percentile
1246  Double_t fNewCentralityEBE; // new centrality percentile
1247  Double_t fNewMetricLEBE; // new metric L
1248  Double_t fNewMetricDEBE; // new metric D
1249  Double_t fNewMetricL2EBE; // new metric L
1250  Double_t fNewMetricD2EBE; // new metric D
1251  Double_t fCentralityCL1EBE; // centrality (CL1) percentile
1252  Double_t fNITSCL1EBE; // centrality (TRK) percentile
1253  Double_t fCentralityTRKEBE; // centrality (TRK) percentile
1254  // 3d.) profiles:
1255  TProfile *fAvMultiplicity;
1265  // [0=<<2><4>>,1=<<2><6>>,2=<<2><8>>,3=<<4><6>>,4=<<4><8>>,5=<<6><8>>]
1269 
1270  // 3e.) histograms with final results:
1279  // [0=Cov(2,4),1=Cov(2,6),2=Cov(2,8),3=Cov(4,6),4=Cov(4,8),5=Cov(6,8)]
1281  // [0=sum{w_{<2>}},1=sum{w_{<4>}},2=sum{w_{<6>}},3=sum{w_{<8>}}][0=linear 1,1=quadratic]
1283  // [0=sum{w_{<2>}w_{<4>}},1=sum{w_{<2>}w_{<6>}},2=sum{w_{<2>}w_{<8>}},
1284  // 3=sum{w_{<4>}w_{<6>}},4=sum{w_{<4>}w_{<8>}},5=sum{w_{<6>}w_{<8>}}]
1297  // 4.) differential flow
1298  // 4a.) lists:
1303  // 4aa.) nested list in list fDiffFlowProfiles:
1308  // 4ab.) nested list in list fDiffFlowResults:
1317  // 4b.) flags:
1318  TProfile *fDiffFlowFlags;
1319  Bool_t fCalculateDiffFlow; // if you set kFALSE only reference flow will be calculated
1320  Bool_t fCalculate2DDiffFlow; // calculate 2D differential flow vs (pt,eta) (Remark: this is expensive in terms of CPU time)
1321  Bool_t fCalculateDiffFlowVsEta; // if you set kFALSE only differential flow vs pt is calculated
1322  // 4c.) event-by-event quantities:
1323  // 1D:
1324  TProfile *fReRPQ1dEBE[3][2][4][9];
1325  TProfile *fImRPQ1dEBE[3][2][4][9];
1326  TProfile *fs1dEBE[3][2][9];
1330 
1331  // 2D:
1332  TProfile2D *fReRPQ2dEBE[3][4][9];
1333  TProfile2D *fImRPQ2dEBE[3][4][9];
1334  TProfile2D *fs2dEBE[3][9];
1335  // 4d.) profiles:
1336  // 1D:
1337  TProfile *fDiffFlowCorrelationsPro[2][2][4];
1338  TProfile *fDiffFlowSquaredCorrelationsPro[2][2][4];
1339  TProfile *fDiffFlowProductOfCorrelationsPro[2][2][8][8];
1340  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1341  TProfile *fDiffFlowCorrectionTermsForNUAPro[2][2][2][10];
1342  // 2D:
1343  TProfile2D *f2DDiffFlowCorrelationsPro[2][4];
1344  // Other differential correlators:
1346  TProfile *fOtherDiffCorrelators[2][2][2][1];
1347  // 4e.) histograms holding final results:
1348  // 1D:
1353  TH1D *fDiffFlow[2][2][4];
1356  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1358  // 2D:
1361  // 6.) distributions:
1364  Bool_t fStoreDistributions; // store or not distributions of correlations
1366  Int_t fnBinsForCorrelations; // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]
1367  Double_t fMinValueOfCorrelation[4]; // min values of <2>, <4>, <6> and <8>
1368  Double_t fMaxValueOfCorrelation[4]; // max values of <2>, <4>, <6> and <8>
1369  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
1370  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
1371  Double_t fMinValueOfQvectorTerms[4]; // MinValueOfQvectorTerms
1372  Double_t fMaxValueOfQvectorTerms[4]; // MaxValueOfQvectorTerms
1373 
1374  // 8.) debugging and cross-checking:
1376  Bool_t fEvaluateIntFlowNestedLoops; // evaluate nested loops relevant for integrated flow
1377  Bool_t fEvaluateDiffFlowNestedLoops; // evaluate nested loops relevant for differential flow
1378  Int_t fMaxAllowedMultiplicity; // nested loops will be evaluated only for events with multiplicity <= fMaxAllowedMultiplicity
1380  // integrated flow:
1384  // differential flow:
1385  Int_t fCrossCheckInPtBinNo; // cross-check results for reduced correlations and corrections in this pt bin
1386  Int_t fCrossCheckInEtaBinNo; // cross-check results for reduced correlations and corrections in this eta bin
1387  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
1388  TProfile *fDiffFlowDirectCorrelations[2][2][4];
1389  TProfile *fDiffFlowDirectCorrectionTermsForNUA[2][2][2][10];
1390  // other differential correlators:
1391  TProfile *fOtherDirectDiffCorrelators[2][2][2][1];
1392  // mixed harmonics:
1394 
1395  // 9.) mixed harmonics:
1396  // 9a.) lists:
1401  //TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
1402  // 9b.) flags:
1404  Bool_t fCalculateMixedHarmonics; // calculate or not mixed harmonics
1405  Bool_t fCalculateMixedHarmonicsVsM; // calculate or not mixed harmonics vs multiplicity
1406  // 9c.) profiles:
1407  TProfile *f2pCorrelations;
1408  TProfile *f3pCorrelations;
1409  TProfile *f4pCorrelations;
1410  TProfile *f5pCorrelations;
1411  TProfile *f6pCorrelations;
1412  TProfile *f7pCorrelations;
1413  TProfile *f8pCorrelations;
1414  // 9d.) results:
1422  // 9e.) statistical error propagation:
1426  // 10.) Control histograms:
1427  // 10a.) list:
1428  TList *fControlHistogramsList; // list to hold all control histograms
1429  // 10b.) flags:
1430  TProfile *fControlHistogramsFlags; // profile to hold all flags for control histograms
1431  Bool_t fStoreControlHistograms; // store or not control histograms
1432  // 10c.) histograms:
1439  // 11.) Bootstrap:
1440  // 11a) lists:
1444  // 11b) flags:
1445  TProfile *fBootstrapFlags;
1446  Bool_t fUseBootstrap; // use bootstrap to estimate statistical spread
1447  Bool_t fUseBootstrapVsM; // use bootstrap to estimate statistical spread for results vs M
1448  Int_t fnSubsamples; // number of subsamples (SS), by default 10
1449  TRandom3 *fRandom;
1450  // 11c) profiles:
1452  TProfile2D *fBootstrapCorrelationsVsM[4];
1453  // 11d) histograms:
1456 
1457  // 12.) CRC
1458 
1461  TProfile *fCRCFlags;
1462  Bool_t fCalculateCRC; // calculate CRC
1490 
1492  const static Int_t fCRCnCR = 16;
1493  const static Int_t fCRCnNUA = 14;
1494  const static Int_t fCRCnEtaGap = 7;
1495  const static Int_t fCRCnCorr = 4;
1496  const static Int_t fCRCnEtaBins = 32;
1497  const static Int_t fCRCMaxnCen = 10;
1500  const static Int_t fCRCnHar = 3;
1501  const static Int_t fCRCMaxnRun = 211;
1502 
1508 
1517 
1525 
1526  // Q vectors
1527  const static Int_t fCRCQVecnCR = 64;
1533  TArrayI fRunList; // Run list
1534  TArrayD fAvVtxPosX; // Run list
1535  TArrayD fAvVtxPosY; // Run list
1536  TArrayD fAvVtxPosZ; // Run list
1537  TArrayI fnEvRbR; // number of events in each run
1556 // TH3D* fCRCQVecPhiRbRHist[fCRCMaxnRun]; //! phi ditribution POIs run-by-run
1557 // TH3D* fCRCQVecPhiRbRHistCh[fCRCMaxnRun][2]; //! phi ditribution POIs bins ch run-by-run
1558  TProfile3D* fCRCQVecHarCosProCh[2];
1559  TProfile3D* fCRCQVecHarSinProCh[2];
1560 // TH3D* fCRCQVecPhiHistVtxDep[fCRCMaxnRun][fCRCMaxnCen]; //! phi ditribution POIs, vtx dep
1566  const static Int_t fkNRbRFlowHar = 2;
1567  const static Int_t fkNRbRIntFlow = 2;
1570 
1571  // temp
1572  TProfile *fTPCQHist[fCRCnHar][2];
1573  TProfile *fZDCQHist[8];
1575  const static Int_t fkNZDCResHist = 4;
1577  TH1D *fZDCEPHist[20][3];
1578  TF1* fFitPol0EP;
1579  TProfile3D *fZDCVtxHist[4];
1580  TProfile2D *fZDCEcomHist[4];
1581  TProfile2D *fZDCEcomTotHist[4];
1582  TProfile3D *fZDCEcomTotvsVtxHist[12];
1583 
1584 // TProfile2D *fCRCZDCQVecCenEComTot[fCRCMaxnRun][4]; //!
1586 // TProfile2D *fCRCTPCQVecCenEComTot[fCRCMaxnRun][4]; //!
1589  TProfile2D *fhAvRefMulRbR;
1590  TProfile2D *fhAvQMCRbR;
1591  TProfile2D *fhAvQMARbR;
1592  TProfile *fhAvAbsOrbit;
1593  TProfile3D *fCRCTPCQVecCenEtaRefMulTot[2][4];
1594  TProfile2D *fCRCTPCQVecCenRefMulTotCheck[2][4];
1595 
1596  TProfile3D *fZDCVtxCenHist[10][4];
1597  TProfile3D *fZDCVtxCenHistMagPol[10][8];
1598  TProfile2D *fVZEROCenHist[3];
1604  TProfile2D *fZDCBinsCenRefMultRbR[4];
1605  TProfile2D *fZDCBinsCenRefMultTot[4];
1606  TProfile *fZDCBinsCenRefMultRbRProf[10][4];
1607  TProfile *fZDCBinsCenRefMultTotProf[10][4];
1614 
1615  TF1 *fZDCFitSec[4];
1622 
1623  TProfile *fCRCVZQVecA[fCRCMaxnRun][2];
1624  TProfile *fCRCVZQVecC[fCRCMaxnRun][2];
1625  const static Int_t fCRCQVecnCov = 12;
1627 
1628  TProfile *fCRCZDCQVecA[fCRCMaxnRun][2];
1629  TProfile *fCRCZDCQVecC[fCRCMaxnRun][2];
1632 // TH2D *fCRCZDCQVecEP[fCRCMaxnRun][4]; //! ZN event planes
1633 // TH3D* fhZNCenDis[2]; //! ZDC 2D Q-vector distribution vs centrality
1634  TProfile *fCRCZDCQVecRes[fCRCMaxnRun][4];
1636  const static Int_t fkCRCnCQVecVtxPos = 8;
1638  TProfile3D *fCRCZDCQVecVtxPos[fCRCMaxnRun][4];
1641  const static Int_t fknEZDCBins = 10;
1644 // TProfile2D *fCRCZDCQVecECom[fCRCMaxnRun][fkCRCnCQVecVtxPos]; //! re-centering Qvec vs Energy common tower
1645  const static Int_t fkCRCnCQVecEcomPos = 12;
1646 // TProfile3D *fCRCZDCQVecEComTot[fkCRCnCQVecEcomPos]; //! re-centering Qvec vs Energy common tower
1647  const static Int_t fkNsteps = 12;
1648  TProfile2D *fCRCZDCQVecCorSteps[4];
1649  // TProfile2D *fCRCZDCResCenEn; //!
1650  // TProfile2D *fCRCZDCQ2[8]; //! Q2
1655 
1656  // test
1657  TProfile3D *fCRCZDCQVecResVtx[2][3];
1658  TProfile2D *fCRCZDCQVecResEZDC[2][3];
1659  TProfile2D *fCRCZDCQVecResv1QA[2][3];
1660  TProfile2D *fCRCZDCQVecResv1QC[2][3];
1661  TProfile2D *fCRCZDCQVecResv1Cross[2][3];
1662 
1663  // TProfile *fCRCVZvsZDCCov[fCRCMaxnRun][16]; //! ZDC vs VZ Q Vectors correlations
1664 
1665  // CRCVZERO
1668  const static Int_t fkNHistCRCVZ = 27;
1671 // TProfile2D *fCRCVZEROQVec[fCRCMaxnRun][fCRCnHar]; //!
1672 
1673  // CRCZDC
1675  const static Int_t fCRCZDCnCR = 13;
1676  const static Int_t fCRCZDCnEtaBin = 5;
1691 
1692  // CRC Pt differential
1694 
1696  const static Int_t fCRCPtnPtBinMax = 48;
1705 
1706  // CME
1707  const static Int_t fCMETPCnCR = 20;
1708  const static Int_t fCMEnEtaBin = 2;
1709  const static Int_t fCMETPCnDist = 4;
1710  const static Int_t fCMEZDCnCR = 20;
1711  const static Int_t fCMEZDCnDist = 4;
1712  const static Int_t fCMETPCnSC = 8;
1725  const static Int_t fCMETPCnHist = 19;
1726  const static Int_t fZDCESEnCl = 5;
1731  TProfile *fCMETPCSCPro[fCMETPCnSC][2];
1733  const static Int_t fCMETPCnHist2D = 3;
1735 
1736  // CRC2
1737  const static Int_t fkNCorCRC2 = 6;
1739  Int_t fCRC2nEtaBins; // CRC2 n eta bins
1749 
1750  // Flow all
1751  const static Int_t fFlowNHarm = 6;
1752  const static Int_t fFlowNHarmMax = 14; // WARNING: MIN (2*fFlowNHarm+2)
1753  const static Int_t fQVecPower = 5;
1755  const static Int_t fkEtaDiffNBins = 5;
1756  const static Int_t fkEtaDiffMaxNBins = 10;
1781  const static Int_t fZDCPtDiffNBins = 3;
1783 
1784  // Flow SP ZDC
1786  const static Int_t fFlowNPro = 9;
1787  const static Int_t fFlowNNUA = 4;
1788  const static Int_t fFlowNHarmZDC = 1;
1789 
1794 
1799 
1800  TProfile *fFlowSPZDCv1Pro[4];
1801  const static Int_t fkNHistv1eta = 14;
1802  const static Int_t fkNHarv1eta = 3;
1805  const static Int_t fkNHistv1etaCov = 13;
1809  const static Int_t fkNHistv2eta = 4;
1811  const static Int_t fkNITStypes = 16;
1816  const static Int_t fkNHistv1etaPt = 6;
1819  const static Int_t fkNHistQVecCorrv1eta = 6;
1820 // TProfile2D *fCRCQVecEtaHist[fCRCMaxnRun][fkNHistQVecCorrv1eta]; //!
1821  TProfile2D *fCRCTPCQVecCenVtxTime[fCRCMaxnRun][3][4];
1822  TProfile2D *fCRCZDCQVecCenVtxTime[fCRCMaxnRun][3][4];
1823 // TProfile2D *fTPCEtaHist[fkNHistQVecCorrv1eta]; //!
1825  TProfile2D *fTPCQVecProTemp[2][4];
1826  const static Int_t fkNv1evenCor = 6;
1828 
1829  // Flow QC
1831  const static Int_t fFlowQCNPro = 4;
1832  const static Int_t fFlowQCNNUA = 12;
1833  const static Int_t fFlowQCNCov = 8;
1845 
1847  const static Int_t fkFlowQCnVtx = 6;
1848  const static Int_t fkFlowQCnHarVtx = 3;
1850 
1851  const static Int_t fkFlowQCnIntCorPro = 5;
1857 
1858  const static Int_t fkFlowQCnIntCorTest = 6;
1863 
1864 // TList* fFlowQCOrdMagList;
1865 // const static Int_t fkNOrdMag = 20;
1866 // const static Int_t fkNHistOrdMag = 4;
1867 // TH1D *fFlowQCIntCorHistOrdMag[fFlowNHarm][fkNOrdMag][fkNHistOrdMag]; //!
1868 
1873 
1874  const static Int_t fFlowQCNRef = 14;
1878 
1885 
1886  // flow QC high order
1888  const static Int_t fFlowNHarmHighOrd = 2;
1889  const static Int_t fFlowQCHONHist = 4;
1890  const static Int_t fFlowQCHOCenBin = 100;
1894 
1895  // SC w ZDC
1896  const static Int_t fSCv2vsZNPtBins = 3;
1897  const static Int_t fSCv2vsZNHarm = 2;
1905  TProfile2D *fFlowSCAvPtvsZN;
1906 
1907  // Flow SP VZ
1908  const static Int_t fkFlowSPVZnHist = 4;
1913 
1914  // EbE Flow
1923  const static Int_t fEBEFlowNResPro=18;
1925  TF1* FourierExp;
1928 
1929  // Various:
1937  TProfile2D* fRefMultRbRPro;
1938  TProfile2D* fAvEZDCCRbRPro;
1939  TProfile2D* fAvEZDCARbRPro;
1943  TH1D* fEtaWeightsHist[10][21][2];
1944  TH1D* fNvsCenCut[2][2];
1960  TH1F* fMultCutMin;
1961  TH1F* fMultCutMax;
1962  TH1F* fMultCutAv;
1963  TH1F* fRMSRefMulCenBins[10];
1964  TH1F* fEZNCutMin;
1965  TH1F* fEZNCutMax;
1966  Double_t fVtxPos[3]; // primary vertex position (x,y,z)
1967  TF1 *fPolMin[2];
1968  TF1 *fPolMax[2];
1969  TF1 *fPolAv[2];
1970  TF1 *fPolDer[2];
1971  TF1 *fPolInt[2];
1972  TF1 *fPolDist[2];
1973  TF1 *fPolSlope[2];
1975  Double_t fZNCen; // total energy from ZNC-C
1976  Double_t fZNAen; // total energy from ZNC-A
1977  Double_t fEnNucl; // energy per nucleon (GeV)
1981 
1982  const static Int_t fZDCESEnPol=4;
1985 
1993 
1995 
1996 };
1997 
1998 //================================================================================================================
1999 
2000 #endif
2001 
2002 
2003 
2004 
2005 
Double_t GetMinMult() const
static const Int_t fFlowQCHOCenBin
virtual void GetPointersForIntFlowHistograms()
void SetCorrelation2468VsMult(TH2D *const c2468vm, Int_t const ci)
Bool_t GetBookOnlyBasicCCH() const
TProfile2D * fCRCZDCQVecCenVtxTime[fCRCMaxnRun][3][4]
TH2D * GetQvectorTermsVsMult(Int_t qvti) const
TH1D * GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const
static const Int_t fkFlowSPVZnHist
TProfile * GetDistributionsFlags() const
static const Int_t fkNHistQVecCorrv1eta
TH2F * GetZDCESESpecWeightsHist(Int_t h) const
TProfile * Get2pCorrelations() const
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 SetPOIExtraWeights(POIExtraWeights set)
void SetFlowQCSpectra(TH2D *const TH)
TProfile * fFlowSCv2vsZNv1PtPro[fSCv2vsZNHarm][fSCv2vsZNPtBins][3]
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()
TProfile * GetFlowSCv2vsZNv1PtPro(Int_t const c, Int_t const pt, Int_t const eg) const
void Set5pCorrelations(TProfile *const p5pCorr)
TProfile * GetDiffFlowFlags() const
SelectCharge GetSelectCharge() const
TList * GetHistList() const
void SetUsePhiEtaCuts(Bool_t const uPhiEtaW)
TH2D * GetCMEZDCCovHist(Int_t const eg, Int_t const h) const
void SetTestSin(Bool_t const cCRC)
TProfile * f4pCorrelations
profile to hold all 3-particle correlations
TProfile * Get4pCorrelations() const
void SetIntFlowSumOfProductOfEventWeights(TH1D *const intFlowSumOfProductOfEventWeights)
TH1D * fIntFlowCorrelationsHist
average correction terms for non-uniform acceptance (with wrong errors!) [0=sin terms,1=cos terms][correction term index] vs multiplicity
TProfile * GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const
static const Int_t fkFlowQCnHarVtx
TH2D * fFlowSPZDCv1etaPtHist[fCRCMaxnCen][fkNHistv1etaPt]
void SetDiffFlowDetectorBias(TH1D *const dfdb, Int_t const i, Int_t const j, Int_t const k)
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)
void SetFlowQCIntCumHist(TH1D *const TP, Int_t const eg, Int_t const k)
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 #
static const Int_t fCRCMaxnRun
POIExtraWeights GetPOIExtraWeights() const
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 * GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const
void SetFlowSPZDCv1Pro(TProfile *const TP, Int_t const r)
TH2D * fPOIEtaPtMul[2][fFlowNHarmMax]
Bool_t GetUsePhiEtaCuts() const
Bool_t GetInvertZDC() const
TH1D * GetIntFlowQcumulants() const
virtual void WriteHistograms(TString outputFileName)
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]
ClassDef(AliFlowAnalysisCRC, 58)
TH2F * fhZNResvsMul[fCRCMaxnCen][2]
rad vs mul
static const Int_t fCRCnEtaGap
TH2D * GetMixedHarmonicProductOfEventWeights() const
void SetIntFlowSumOfProductOfEventWeightsNUA(TH1D *const ifsopoewNUA)
TH1D * fPOIPtDiffQImEG[2][fQVecPower][fFlowNHarmMax]
real part [0=pos,1=neg][0=back,1=forw][m]
double Double_t
Definition: External.C:58
TProfile * fControlHistogramsFlags
virtual void FillCommonHistResultsDiffFlow(TString type)
static const Int_t fkNRbRIntFlow
virtual void ResetEventByEventQuantities()
TProfile * GetMixedHarmonicsFlags() const
Definition: External.C:260
TH2F * fhZNResvsCen[fCRCMaxnCen][2]
res vs mul
Bool_t GetCalculateFlowQC() const
TProfile * GetCRC2NUAPro(Int_t const h, Int_t const c, Int_t const e) 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] ...
TH1D * fIntFlowQcumulantsVsM[4]
final results for integrated Q-cumulants QC{2}, QC{4}, QC{6} and QC{8}
TProfile * fFlowQCCorProPhi[fCRCMaxnCen][fFlowNHarm][fFlowQCNPro]
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]
TProfile2D * fFlowSPZDCv1etaProPhi[fkNHistv1eta]
void SetFlowSCv2vsZNv1PtHist(TH1D *const TP, Int_t const c, Int_t const pt, Int_t const eg)
static const Int_t fFlowNNUA
TH2D * fZDCQHist2
Run-by-run ZDCQvecHist.
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
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
void SetEvaluateNestedLoops(TProfile *const enl)
TProfile * fFlowQCCorCovPro[fCRCMaxnCen][fFlowNHarm][fFlowQCNCov]
final NUA terms
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)
TH1D * fPOIPhiDiffQRe[fQVecPower][fFlowNHarmMax]
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
Bool_t GetStoreZDCQVecVtxPos() const
void SetCRCZDCList(TList *const CRCL)
Bool_t GetPropagateErrorAlsoFromNIT() const
TProfile * GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * fZDCBinsCenRefMultTotProf[10][4]
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
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 * fFlowSCv2vsZNv1FinalHist[fSCv2vsZNHarm][3]
TH1D * GetIntFlowCovariancesNUA() const
TProfile2D * fFlowSCAvPtvsZN
Double_t GetMinValueOfQvectorTerms(Int_t qvti) const
TH1D * fZDCBinsCenRefMultTotProj[10][4]
void SetFlowSCv2vsZNv1PtFinalHist(TH1D *const TP, Int_t const c, Int_t const pt, Int_t const eg)
TH1D * GetDiffFlow(Int_t i, Int_t j, Int_t k) const
TProfile * GetFlowQCIntCorHOPro(Int_t const c, Int_t const eg) const
TProfile3D * fCRCQVecHarSinProCh[2]
phi ditribution POIs
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 SetCRCZDCQVecCov(TProfile2D *const TH, Int_t const r, Int_t const i)
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
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)