AliPhysics  7273240 (7273240)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFlowAnalysisCRC.h
Go to the documentation of this file.
1 /*************************************************************************
2  * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 /*************************************************
17  * Charge-rapidity correlations with Q-cumulants *
18  * *
19  * author: Jacopo Margutti *
20  * (margutti@nikhef.nl) *
21  *************************************************/
22 
23 #ifndef AliFlowAnalysisCRC_H
24 #define AliFlowAnalysisCRC_H
25 
26 #include "TMatrixD.h"
27 #include "TH2D.h"
28 #include "TH3D.h"
29 #include "TRandom3.h"
30 #include "AliFlowCommonConstants.h"
31 #include "TNamed.h"
32 
33 class TObjArray;
34 class TList;
35 class TFile;
36 class TGraph;
37 class TH1;
38 class TH3;
39 class TProfile;
40 class TProfile2D;
41 class TProfile3D;
42 class TDirectoryFile;
43 class TRandom3;
44 class TNtuple;
45 class THnSparse;
46 
47 class AliFlowEventSimple;
48 class AliFlowTrackSimple;
50 class AliFlowCommonHist;
52 class AliFlowVector;
53 
54 //==============================================================================================================
55 
56 class AliFlowAnalysisCRC : public TNamed {
57 public:
58  AliFlowAnalysisCRC(const char* name="AliFlowAnalysisCRC",
59  Int_t nCen=7,
60  Double_t CenWidth=10.);
61  virtual ~AliFlowAnalysisCRC();
62 
65  };
66 
67  enum DataSet { k2010,
71  };
72 
73  enum MagnetPol { kMAll,
76  };
77 
78  // 0.) methods called in the constructor:
79  virtual void InitializeArraysForIntFlow();
80  virtual void InitializeArraysForDiffFlow();
81  virtual void InitializeArraysForDistributions();
82  virtual void InitializeArraysForVarious();
84  virtual void InitializeArraysForNestedLoops();
85  virtual void InitializeArraysForMixedHarmonics();
87  virtual void InitializeArraysForBootstrap();
88  virtual void InitializeCostantsForCRC();
89  virtual void InitializeArraysForCRC();
90  virtual void InitializeArraysForCRCVZ();
91  virtual void InitializeArraysForCRCZDC();
92  virtual void InitializeArraysForCRCPt();
93  virtual void InitializeArraysForCME();
94  virtual void InitializeArraysForCRC2();
95  virtual void InitializeArraysForFlowEbE();
96  virtual void InitializeArraysForFlowQC();
98  virtual void InitializeArraysForFlowSPZDC();
99  virtual void InitializeArraysForFlowSPVZ();
100  virtual void InitializeArraysForEbEFlow();
101 
102  // 1.) method Init() and methods called within Init():
103  virtual void Init();
104  virtual void InitializeArraysForQVec();
105  virtual void CrossCheckSettings();
106  virtual void CommonConstants(TString method);
107  virtual void BookAndNestAllLists();
109  virtual void BookCommonHistograms();
110  virtual void BookAndFillWeightsHistograms();
111  virtual void BookEverythingForIntegratedFlow();
112  virtual void BookEverythingForDifferentialFlow();
114  virtual void BookEverythingForDistributions();
115  virtual void BookEverythingForVarious();
116  virtual void BookEverythingForNestedLoops();
117  virtual void BookEverythingForMixedHarmonics();
118  virtual void BookEverythingForControlHistograms();
119  virtual void BookEverythingForBootstrap();
120  virtual void SetRunList();
121  virtual void BookEverythingForCRC();
122  virtual void BookEverythingForCRCVZ();
123  virtual void BookEverythingForCRCZDC();
124  virtual void BookEverythingForCRCPt();
125  virtual void BookEverythingForQVec();
126  virtual void BookEverythingForCME();
127  virtual void BookEverythingForCRC2();
128  virtual void BookEverythingForFlowEbE();
129  virtual void BookEverythingForFlowQC();
130  virtual void BookEverythingForFlowQCHighOrders();
131  virtual void BookEverythingForFlowSPZDC();
132  virtual void BookEverythingForFlowSPVZ();
133  virtual void BookEverythingForEbEFlow();
134  virtual void StoreIntFlowFlags();
135  virtual void StoreDiffFlowFlags();
136  virtual void StoreFlagsForDistributions();
137  virtual void StoreHarmonic();
138  virtual void StoreMixedHarmonicsFlags();
139  virtual void StoreControlHistogramsFlags();
140  virtual void StoreBootstrapFlags();
141  virtual void StoreCRCFlags();
142  virtual void SetCentralityWeights();
143 
144  // 2.) method Make() and methods called within Make():
145  virtual void Make(AliFlowEventSimple *anEvent);
146  // 2a.) Common:
147  virtual void CheckPointersUsedInMake();
148  virtual void FillAverageMultiplicities(Int_t nRP);
149  virtual void FillCommonControlHistograms(AliFlowEventSimple *anEvent);
150  virtual void FillControlHistograms(AliFlowEventSimple *anEvent);
151  virtual void ResetEventByEventQuantities();
152  // 2b.) Reference flow:
153  virtual void CalculateIntFlowCorrelations();
156  virtual void CalculateIntFlowSumOfEventWeights();
165  virtual void CalculateMixedHarmonics();
166  // 2c.) Cross-checking reference flow correlations with nested loops:
167  virtual void EvaluateIntFlowNestedLoops(AliFlowEventSimple* const anEvent);
172  virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple* const anEvent);
173  // 2d.) Differential flow:
174  virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta); // type = RP or POI
175  virtual void CalculateDiffFlowCorrelationsUsingParticleWeights(TString type, TString ptOrEta); // type = RP or POI
176  virtual void CalculateDiffFlowProductOfCorrelations(TString type, TString ptOrEta); // type = RP or POI
177  virtual void CalculateDiffFlowSumOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
178  virtual void CalculateDiffFlowSumOfProductOfEventWeights(TString type, TString ptOrEta); // type = RP or POI
179  virtual void CalculateDiffFlowCorrectionsForNUACosTerms(TString type, TString ptOrEta);
181  virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta);
183  // 2e.) 2D differential flow:
184  virtual void Calculate2DDiffFlowCorrelations(TString type); // type = RP or POI
185  // 2f.) Other differential correlators (i.e. Teaney-Yan correlator):
186  virtual void CalculateOtherDiffCorrelators(TString type, TString ptOrEta); // type = RP or POI
187  // 2g.) Distributions of reference flow correlations:
188  virtual void StoreDistributionsOfCorrelations();
189  // 2h.) Cross-checking differential flow correlations with nested loops:
190  virtual void EvaluateDiffFlowNestedLoops(AliFlowEventSimple* const anEvent);
191  virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
195  virtual void EvaluateOtherDiffCorrelatorsWithNestedLoops(AliFlowEventSimple* const anEvent, TString type, TString ptOrEta);
196  // 2i.) Charge-Rapidity Correlations
197  virtual void RecenterCRCQVec();
198  virtual void RecenterCRCQVecZDC();
199  virtual Bool_t PassQAZDCCuts();
200  virtual void CalculateCRCCorr();
201  virtual void CalculateCRCVZERO();
202  virtual void CalculateCRCZDC();
203  virtual void CalculateCRCPtCorr();
204  virtual void CalculateCRCQVec();
205  virtual void CalculateVZvsZDC();
206  virtual void CalculateCMETPC();
207  virtual void CalculateCMEZDC();
208  virtual void CalculateCRC2Cor();
209  virtual void CalculateFlowQC();
210  virtual void CalculateFlowQCHighOrders();
211  virtual void CalculateFlowSPZDC();
212  virtual void CalculateFlowSPVZ();
213  virtual void FitEbEFlow();
214  // 2h.) Various
215  virtual void FillVarious();
216 
217  // 3.) method Finish() and methods called within Finish():
218  virtual void Finish();
219  virtual void CheckPointersUsedInFinish();
220  // 3a.) integrated flow:
221  virtual void FinalizeCorrelationsIntFlow();
223  virtual void CalculateCovariancesIntFlow();
224  virtual void CalculateCovariancesNUAIntFlow();
225  virtual void CalculateCumulantsIntFlow();
226  virtual void CalculateReferenceFlow();
227  virtual void FillCommonHistResultsIntFlow();
228  // nua:
230  virtual void PrintFinalResultsForIntegratedFlow(TString type);
231  virtual void CrossCheckIntFlowCorrelations();
232  virtual void CrossCheckIntFlowExtraCorrelations(); // extra correlations which appear only when particle weights are used
234  // 3b.) differential flow:
235  virtual void FinalizeReducedCorrelations(TString type, TString ptOrEta);
236  virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta);
237  virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta);
238  virtual void CalculateDiffFlow(TString type, TString ptOrEta);
239  virtual void FinalizeCorrectionTermsForNUADiffFlow(TString type, TString ptOrEta);
240  virtual void CalculateDiffFlowCumulantsCorrectedForNUA(TString type, TString ptOrEta);
241  virtual void CalculateDiffFlowCorrectedForNUA(TString type, TString ptOrEta);
242  virtual void CalculateFinalResultsForRPandPOIIntegratedFlow(TString type); // to be improved (add also possibility to integrate over eta yield)
243  virtual void FillCommonHistResultsDiffFlow(TString type);
244  virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta);
246  virtual void CrossCheckDiffFlowCorrectionTermsForNUA(TString type, TString ptOrEta);
247  // 3c.) 2D:
248  virtual void Calculate2DDiffFlowCumulants(TString type);
249  virtual void Calculate2DDiffFlow(TString type);
250  // 3d.) Other differential correlators:
251  virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta);
252  // 3e.) Mixed harmonics:
253  virtual void CalculateCumulantsMixedHarmonics();
254  // 3f.) Bootstrap:
255  virtual void CalculateCumulantsForBootstrap();
256  // 3g.) CRC:
257  virtual void FinalizeCRCCorr();
258  virtual void FinalizeCRCVZERO();
259  virtual void FinalizeCRCZDC();
260  virtual void FinalizeCRCPtCorr();
261  virtual void FinalizeCMETPC();
262  virtual void FinalizeCMEZDC();
263  virtual void FinalizeCRC2Cor();
264  virtual void FinalizeFlowQC();
265  virtual void FinalizeFlowQCHighOrders();
266  virtual void FinalizeFlowSPZDC();
267  virtual void FinalizeFlowSPVZ();
268  virtual Bool_t CheckRunFullTPCFlow(Int_t RunNum);
269  // 3h.) Various:
270  virtual void FinalizeVarious();
271 
272  // 4.) method GetOutputHistograms() and methods called within GetOutputHistograms():
273  virtual void GetOutputHistograms(TList *outputListHistos);
274  virtual void GetPointersForCommonHistograms();
276  virtual void GetPointersForIntFlowHistograms();
277  virtual void GetPointersForDiffFlowHistograms();
278  virtual void GetPointersFor2DDiffFlowHistograms();
279  virtual void GetPointersForOtherDiffCorrelators();
282  virtual void GetPointersForControlHistograms();
283  virtual void GetPointersForBootstrap();
284  virtual void GetPointersForCRC();
285  virtual void GetPointersForCRCVZ();
286  virtual void GetPointersForCRCZDC();
287  virtual void GetPointersForCRC2();
288  virtual void GetPointersForCRCPt();
289  virtual void GetPointersForQVec();
290  virtual void GetPointersForCME();
291  virtual void GetPointersForFlowQC();
292  virtual void GetPointersForFlowQCHighOrders();
293  virtual void GetPointersForFlowSPZDC();
294  virtual void GetPointersForFlowSPVZ();
295  virtual void GetPointersForEbEFlow();
296  virtual void GetPointersForVarious();
297 
298  // 5.) other methods:
299  TProfile* MakePtProjection(TProfile2D *profilePtEta) const;
300  TProfile* MakeEtaProjection(TProfile2D *profilePtEta) const;
301  virtual void WriteHistograms(TString outputFileName);
302  virtual void WriteHistograms(TDirectoryFile *outputFileName);
303  virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2);
304  virtual Int_t GetCRCVZBin(Int_t c, Int_t c2);
305  virtual Int_t GetCRCQVecBin(Int_t c, Int_t y);
306  virtual Int_t GetCRCRunBin(Int_t RunNum);
307  virtual Int_t GetCRCCenBin(Double_t Centrality);
308  virtual Int_t GetCRCPtBin(Double_t pt);
309 
310  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);
311 
312  // **** SETTERS and GETTERS ****
313 
314  // 0.) base:
315  void SetHistList(TList* const hlist) {this->fHistList = hlist;}
316  TList* GetHistList() const {return this->fHistList;}
317 
318  // 1.) common:
319  void SetBookOnlyBasicCCH(Bool_t const bobcch) {this->fBookOnlyBasicCCH = bobcch;};
321  void SetCommonHists(AliFlowCommonHist* const ch) {this->fCommonHists = ch;};
323  void SetCommonHists2nd(AliFlowCommonHist* const ch2nd) {this->fCommonHists2nd = ch2nd;};
325  void SetCommonHists4th(AliFlowCommonHist* const ch4th) {this->fCommonHists4th = ch4th;};
327  void SetCommonHists6th(AliFlowCommonHist* const ch6th) {this->fCommonHists6th = ch6th;};
329  void SetCommonHists8th(AliFlowCommonHist* const ch8th) {this->fCommonHists8th = ch8th;};
339  void SetCommonConstants(TProfile* const cc) {this->fCommonConstants = cc;};
340  TProfile* GetCommonConstants() const {return this->fCommonConstants;};
343  void SetHarmonic(Int_t const harmonic) {this->fHarmonic = harmonic;};
344  Int_t GetHarmonic() const {return this->fHarmonic;};
345  void SetAnalysisLabel(const char *aLabel) {this->fAnalysisLabel->Append(*aLabel);}; // to be improved (Append(*aLabel) changed into Append(aLabel))
346  TString *GetAnalysisLabel() const {return this->fAnalysisLabel;};
347  void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i) {this->fPrintFinalResults[i] = printOrNot;};
349 
350  // 2a.) particle weights:
351  void SetWeightsList(TList* const wlist) {this->fWeightsList = wlist;}
352  TList* GetWeightsList() const {return this->fWeightsList;}
353  void SetUsePhiWeights(Bool_t const uPhiW) {this->fUsePhiWeights = uPhiW;};
354  Bool_t GetUsePhiWeights() const {return this->fUsePhiWeights;};
355  void SetUsePtWeights(Bool_t const uPtW) {this->fUsePtWeights = uPtW;};
356  Bool_t GetUsePtWeights() const {return this->fUsePtWeights;};
357  void SetUseEtaWeights(Bool_t const uEtaW) {this->fUseEtaWeights = uEtaW;};
358  Bool_t GetUseEtaWeights() const {return this->fUseEtaWeights;};
359  void SetUseTrackWeights(Bool_t const uTrackW) {this->fUseTrackWeights = uTrackW;};
360  Bool_t GetUseTrackWeights() const {return this->fUseTrackWeights;};
361  void SetUsePhiEtaWeights(Bool_t const uPhiEtaW) {this->fUsePhiEtaWeights = uPhiEtaW;};
363  void SetPhiEtaCutsList(TList* const wlist) {this->fPhiEtaCutsList = wlist;}
364  TList* GetPhiEtaCutsList() const {return this->fPhiEtaCutsList;}
365  void SetUsePhiEtaCuts(Bool_t const uPhiEtaW) {this->fUsePhiEtaCuts = uPhiEtaW;};
366  Bool_t GetUsePhiEtaCuts() const {return this->fUsePhiEtaCuts;};
367  void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW) {this->fUseZDCESEMulWeights = uPhiEtaW;};
369  void SetUseZDCESESpecWeights(Bool_t const uPhiEtaW) {this->fUseZDCESESpecWeights = uPhiEtaW;};
371  void SetUseParticleWeights(TProfile* const uPW) {this->fUseParticleWeights = uPW;};
372  TProfile* GetUseParticleWeights() const {return this->fUseParticleWeights;};
373  void SetPhiWeights(TH1F* const histPhiWeights) {this->fPhiWeightsRPs = histPhiWeights;};
374  TH1F* GetPhiWeights() const {return this->fPhiWeightsRPs;};
375 
376  // 2b.) event weights:
377  void SetMultiplicityWeight(const char *multiplicityWeight) {*this->fMultiplicityWeight = multiplicityWeight;};
379 
380  // 3.) Reference flow:
381  // Flags:
382  void SetIntFlowFlags(TProfile* const intFlowFlags) {this->fIntFlowFlags = intFlowFlags;};
383  TProfile* GetIntFlowFlags() const {return this->fIntFlowFlags;};
384  void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;};
386  void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;};
388  void SetnBinsMult(Int_t const nbm) {this->fnBinsMult = nbm;};
389  Int_t GetnBinsMult() const {return this->fnBinsMult;};
390  void SetMinMult(Double_t const minm) {this->fMinMult = minm;};
391  Double_t GetMinMult() const {return this->fMinMult;};
392  void SetMaxMult(Double_t const maxm) {this->fMaxMult = maxm;};
393  Double_t GetMaxMult() const {return this->fMaxMult;};
394  void SetPropagateErrorAlsoFromNIT(Bool_t const peafNIT) {this->fPropagateErrorAlsoFromNIT = peafNIT;};
396  void SetCalculateCumulantsVsM(Bool_t const ccvm) {this->fCalculateCumulantsVsM = ccvm;};
404  void SetStoreVarious(Bool_t const spdfoe) {this->fStoreVarious = spdfoe;};
405  Bool_t GetStoreVarious() const {return this->fStoreVarious;};
406  void SetExactNoRPs(Int_t const enr) {this->fExactNoRPs = enr;};
407  Int_t GetExactNoRPs() const {return this->fExactNoRPs;};
408  void SetUse2DHistograms(Bool_t const u2dh){this->fUse2DHistograms = u2dh;if(u2dh){this->fStoreControlHistograms = kTRUE;}};
409  Bool_t GetUse2DHistograms() const {return this->fUse2DHistograms;};
412  void SetUseQvectorTerms(Bool_t const uqvt){this->fUseQvectorTerms = uqvt;if(uqvt){this->fStoreControlHistograms = kTRUE;}};
413  Bool_t GetUseQvectorTerms() const {return this->fUseQvectorTerms;};
414 
415  // Reference flow profiles:
416  void SetAvMultiplicity(TProfile* const avMultiplicity) {this->fAvMultiplicity = avMultiplicity;};
417  TProfile* GetAvMultiplicity() const {return this->fAvMultiplicity;};
418  void SetIntFlowCorrelationsPro(TProfile* const intFlowCorrelationsPro) {this->fIntFlowCorrelationsPro = intFlowCorrelationsPro;};
419  TProfile* GetIntFlowCorrelationsPro() const {return this->fIntFlowCorrelationsPro;};
420  void SetIntFlowSquaredCorrelationsPro(TProfile* const ifscp) {this->fIntFlowSquaredCorrelationsPro = ifscp;};
422  void SetIntFlowCorrelationsVsMPro(TProfile* const ifcvp, Int_t const ci) {this->fIntFlowCorrelationsVsMPro[ci] = ifcvp;};
423  TProfile* GetIntFlowCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowCorrelationsVsMPro[ci];};
424  void SetIntFlowSquaredCorrelationsVsMPro(TProfile* const ifscvp, Int_t const ci) {this->fIntFlowSquaredCorrelationsVsMPro[ci] = ifscvp;};
425  TProfile* GetIntFlowSquaredCorrelationsVsMPro(Int_t const ci) const {return this->fIntFlowSquaredCorrelationsVsMPro[ci];};
426  void SetIntFlowCorrelationsAllPro(TProfile* const intFlowCorrelationsAllPro) {this->fIntFlowCorrelationsAllPro = intFlowCorrelationsAllPro;};
427  TProfile* GetIntFlowCorrelationsAllPro() const {return this->fIntFlowCorrelationsAllPro;};
428  void SetIntFlowExtraCorrelationsPro(TProfile* const intFlowExtraCorrelationsPro) {this->fIntFlowExtraCorrelationsPro = intFlowExtraCorrelationsPro;};
430  void SetIntFlowProductOfCorrelationsPro(TProfile* const intFlowProductOfCorrelationsPro) {this->fIntFlowProductOfCorrelationsPro = intFlowProductOfCorrelationsPro;};
432  void SetIntFlowProductOfCorrelationsVsMPro(TProfile* const ifpocvm, Int_t const pi) {this->fIntFlowProductOfCorrelationsVsMPro[pi] = ifpocvm;};
434  void SetIntFlowProductOfCorrectionTermsForNUAPro(TProfile* const ifpoctfNUA) {this->fIntFlowProductOfCorrectionTermsForNUAPro = ifpoctfNUA;};
436  void SetIntFlowCorrectionTermsForNUAPro(TProfile* const ifctfnp, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAPro[sc] = ifctfnp;};
438  void SetIntFlowCorrectionTermsForNUAVsMPro(TProfile* const ifctfnpvm, Int_t const sc, Int_t const ci) {this->fIntFlowCorrectionTermsForNUAVsMPro[sc][ci] = ifctfnpvm;};
440  // integrated flow histograms holding all results:
441  void SetIntFlowCorrelationsHist(TH1D* const intFlowCorrelationsHist) {this->fIntFlowCorrelationsHist = intFlowCorrelationsHist;};
443  void SetIntFlowCorrelationsVsMHist(TH1D* const ifcvmh, Int_t const ci) {this->fIntFlowCorrelationsVsMHist[ci] = ifcvmh;};
445  void SetIntFlowCorrelationsAllHist(TH1D* const intFlowCorrelationsAllHist) {this->fIntFlowCorrelationsAllHist = intFlowCorrelationsAllHist;};
447  void SetIntFlowCorrectionTermsForNUAHist(TH1D* const ifctfnh, Int_t const sc) {this->fIntFlowCorrectionTermsForNUAHist[sc] = ifctfnh;};
449  void SetIntFlowCovariances(TH1D* const intFlowCovariances) {this->fIntFlowCovariances = intFlowCovariances;};
451  void SetIntFlowSumOfEventWeights(TH1D* const intFlowSumOfEventWeights, Int_t const power) {this->fIntFlowSumOfEventWeights[power] = intFlowSumOfEventWeights;};
452  TH1D* GetIntFlowSumOfEventWeights(Int_t power) const {return this->fIntFlowSumOfEventWeights[power];};
453  void SetIntFlowSumOfProductOfEventWeights(TH1D* const intFlowSumOfProductOfEventWeights) {this->fIntFlowSumOfProductOfEventWeights = intFlowSumOfProductOfEventWeights;};
455  void SetIntFlowCovariancesVsM(TH1D* const ifcvm, Int_t ci) {this->fIntFlowCovariancesVsM[ci] = ifcvm;};
457  void SetIntFlowSumOfEventWeightsVsM(TH1D* const ifsoewvm, Int_t si, Int_t lc) {this->fIntFlowSumOfEventWeightsVsM[si][lc] = ifsoewvm;};
461  void SetIntFlowCovariancesNUA(TH1D* const intFlowCovariancesNUA) {this->fIntFlowCovariancesNUA = intFlowCovariancesNUA;};
463  void SetIntFlowSumOfEventWeightsNUA(TH1D* const ifsoewNUA, Int_t const sc, Int_t const power) {this->fIntFlowSumOfEventWeightsNUA[sc][power] = ifsoewNUA;};
464  TH1D* GetIntFlowSumOfEventWeightsNUA(Int_t sc, Int_t power) const {return this->fIntFlowSumOfEventWeightsNUA[sc][power];};
467  void SetIntFlowQcumulants(TH1D* const intFlowQcumulants) {this->fIntFlowQcumulants = intFlowQcumulants;};
468  TH1D* GetIntFlowQcumulants() const {return this->fIntFlowQcumulants;};
469  void SetIntFlowQcumulantsVsM(TH1D* const intFlowQcumulantsVsM, Int_t co) {this->fIntFlowQcumulantsVsM[co] = intFlowQcumulantsVsM;};
470  TH1D* GetIntFlowQcumulantsVsM(Int_t co) const {return this->fIntFlowQcumulantsVsM[co];};
471  void SetIntFlowQcumulantsRebinnedInM(TH1D* const ifqcrim) {this->fIntFlowQcumulantsRebinnedInM = ifqcrim;};
475  void SetIntFlow(TH1D* const intFlow) {this->fIntFlow = intFlow;};
476  TH1D* GetIntFlow() const {return this->fIntFlow;};
477  void SetIntFlowVsM(TH1D* const intFlowVsM, Int_t co) {this->fIntFlowVsM[co] = intFlowVsM;};
478  TH1D* GetIntFlowVsM(Int_t co) const {return this->fIntFlowVsM[co];};
479  void SetIntFlowRebinnedInM(TH1D* const ifrim) {this->fIntFlowRebinnedInM = ifrim;};
481  void SetIntFlowDetectorBias(TH1D* const ifdb) {this->fIntFlowDetectorBias = ifdb;};
483  void SetIntFlowDetectorBiasVsM(TH1D* const ifdbvm, Int_t ci) {this->fIntFlowDetectorBiasVsM[ci] = ifdbvm;};
485 
486  // 4.) Differential flow:
487  // Flags:
488  void SetDiffFlowFlags(TProfile* const diffFlowFlags) {this->fDiffFlowFlags = diffFlowFlags;};
489  TProfile* GetDiffFlowFlags() const {return this->fDiffFlowFlags;};
490  void SetCalculateDiffFlow(Bool_t const cdf) {this->fCalculateDiffFlow = cdf;};
492  void SetCalculate2DDiffFlow(Bool_t const c2ddf) {this->fCalculate2DDiffFlow = c2ddf;};
494  void SetCalculateDiffFlowVsEta(Bool_t const cdfve) {this->fCalculateDiffFlowVsEta = cdfve;};
496  // Profiles:
497  // 1D:
498  void SetDiffFlowCorrelationsPro(TProfile* const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsPro[i][j][k] = diffFlowCorrelationsPro;};
499  TProfile* GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsPro[i][j][k];};
500  void SetDiffFlowSquaredCorrelationsPro(TProfile* const diffFlowSquaredCorrelationsPro, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowSquaredCorrelationsPro[i][j][k] = diffFlowSquaredCorrelationsPro;};
501  TProfile* GetDiffFlowSquaredCorrelationsPro(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowSquaredCorrelationsPro[i][j][k];};
502  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;};
503  TProfile* GetDiffFlowProductOfCorrelationsPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowProductOfCorrelationsPro[i][j][k][l];};
504  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;};
505  TProfile* GetDiffFlowCorrectionTermsForNUAPro(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowCorrectionTermsForNUAPro[i][j][k][l];};
506  // 2D:
507  void Set2DDiffFlowCorrelationsPro(TProfile2D* const p2ddfcp, Int_t const i, Int_t const k) {this->f2DDiffFlowCorrelationsPro[i][k] = p2ddfcp;};
508  TProfile2D* Get2DDiffFlowCorrelationsPro(Int_t i, Int_t k) const {return this->f2DDiffFlowCorrelationsPro[i][k];};
509  // Other differential correlators:
510  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;};
511  TProfile* GetOtherDiffCorrelators(Int_t i,Int_t j,Int_t k,Int_t l) const {return this->fOtherDiffCorrelators[i][j][k][l];};
512  // histograms:
513  void SetDiffFlowCorrelationsHist(TH1D* const diffFlowCorrelationsHist, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCorrelationsHist[i][j][k] = diffFlowCorrelationsHist;};
514  TH1D* GetDiffFlowCorrelationsHist(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCorrelationsHist[i][j][k];};
515  void SetDiffFlowCovariances(TH1D* const diffFlowCovariances, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCovariances[i][j][k] = diffFlowCovariances;};
516  TH1D* GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCovariances[i][j][k];};
517  void SetDiffFlowCumulants(TH1D* const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowCumulants[i][j][k] = diffFlowCumulants;};
518  TH1D* GetDiffFlowCumulants(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowCumulants[i][j][k];};
519  void SetDiffFlowDetectorBias(TH1D* const dfdb, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlowDetectorBias[i][j][k] = dfdb;};
520  TH1D* GetDiffFlowDetectorBias(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDetectorBias[i][j][k];};
521  void SetDiffFlow(TH1D* const diffFlow, Int_t const i, Int_t const j, Int_t const k) {this->fDiffFlow[i][j][k] = diffFlow;};
522  TH1D* GetDiffFlow(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlow[i][j][k];};
523  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;};
524  TH1D* GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fDiffFlowSumOfEventWeights[i][j][k][l];};
525  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;};
527  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;};
529  // 2D:
530  void Set2DDiffFlowCumulants(TH2D* const h2ddfc, Int_t const i, Int_t const j) {this->f2DDiffFlowCumulants[i][j] = h2ddfc;};
531  TH2D* Get2DDiffFlowCumulants(Int_t i, Int_t j) const {return this->f2DDiffFlowCumulants[i][j];};
532  void Set2DDiffFlow(TH2D* const h2ddf, Int_t const i, Int_t const j) {this->f2DDiffFlow[i][j] = h2ddf;};
533  TH2D* Get2DDiffFlow(Int_t i, Int_t j) const {return this->f2DDiffFlow[i][j];};
534 
535  // 5.) distributions of correlations:
536  // profile:
537  void SetDistributionsFlags(TProfile* const distributionsFlags) {this->fDistributionsFlags = distributionsFlags;};
538  TProfile* GetDistributionsFlags() const {return this->fDistributionsFlags;};
539  // flags:
540  void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;};
542  // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]:
545  // histograms:
546  void SetDistributions(TH1D* const distributions, Int_t const i) {this->fDistributions[i] = distributions;};
547  TH1D* GetDistributions(Int_t i) const {return this->fDistributions[i];};
548  // min and max values of correlations (ci is correlations index [0=<2>,1=<4>,2=<6>,3=<8>]):
549  void SetMinValueOfCorrelation(Int_t const ci, Double_t const minValue) {this->fMinValueOfCorrelation[ci] = minValue;};
551  void SetMaxValueOfCorrelation(Int_t const ci, Double_t const maxValue) {this->fMaxValueOfCorrelation[ci] = maxValue;};
553  // min and max values of correlation products:
554  void SetMinValueOfCorrelationProduct(Int_t const cpi, Double_t const minValue) {this->fMinValueOfCorrelationProduct[cpi] = minValue;};
556  void SetMaxValueOfCorrelationProduct(Int_t const cpi, Double_t const maxValue) {this->fMaxValueOfCorrelationProduct[cpi] = maxValue;};
558  // min and max values of QvectorTerms:
559  void SetMinValueOfQvectorTerms(Int_t const qvti, Double_t const minValue) {this->fMinValueOfQvectorTerms[qvti] = minValue;};
561  void SetMaxValueOfQvectorTerms(Int_t const qvti, Double_t const maxValue) {this->fMaxValueOfQvectorTerms[qvti] = maxValue;};
563 
564  // x.) debugging and cross-checking:
565  void SetNestedLoopsList(TList* const nllist) {this->fNestedLoopsList = nllist;};
566  TList* GetNestedLoopsList() const {return this->fNestedLoopsList;};
571  void SetMaxAllowedMultiplicity(Int_t const maxAllowedMultiplicity) {this->fMaxAllowedMultiplicity = maxAllowedMultiplicity;};
573  void SetEvaluateNestedLoops(TProfile* const enl) {this->fEvaluateNestedLoops = enl;};
574  TProfile* GetEvaluateNestedLoops() const {return this->fEvaluateNestedLoops;};
575  void SetIntFlowDirectCorrelations(TProfile* const ifdc) {this->fIntFlowDirectCorrelations = ifdc;};
576  TProfile* GetIntFlowDirectCorrelations() const {return this->fIntFlowDirectCorrelations;};
577  void SetIntFlowExtraDirectCorrelations(TProfile* const ifedc) {this->fIntFlowExtraDirectCorrelations = ifedc;};
579  void SetIntFlowDirectCorrectionTermsForNUA(TProfile* const ifdctfn, Int_t const sc) {this->fIntFlowDirectCorrectionTermsForNUA[sc] = ifdctfn;};
581  void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo) {this->fCrossCheckInPtBinNo = crossCheckInPtBinNo;};
583  void SetCrossCheckInEtaBinNo(Int_t const crossCheckInEtaBinNo) {this->fCrossCheckInEtaBinNo = crossCheckInEtaBinNo;};
585  void SetNoOfParticlesInBin(TH1D* const noOfParticlesInBin) {this->fNoOfParticlesInBin = noOfParticlesInBin;};
587  void SetDiffFlowDirectCorrelations(TProfile* const diffFlowDirectCorrelations,Int_t const i,Int_t const j,Int_t const k){this->fDiffFlowDirectCorrelations[i][j][k]=diffFlowDirectCorrelations;};
588  TProfile* GetDiffFlowDirectCorrelations(Int_t i, Int_t j, Int_t k) const {return this->fDiffFlowDirectCorrelations[i][j][k];};
589  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;};
591  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;};
592  TProfile* GetOtherDirectDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const {return this->fOtherDirectDiffCorrelators[i][j][k][l];};
593  void SetMixedHarmonicsNestedLoops(TProfile* const mhnl) {this->fMixedHarmonicsNestedLoops = mhnl;};
594  TProfile* GetMixedHarmonicsNestedLoops() const {return this->fMixedHarmonicsNestedLoops;};
595 
596  // 9.) Mixed harmonics:
597  void SetMixedHarmonicsList(TList* const mhlist) {this->fMixedHarmonicsList = mhlist;};
598  void SetMixedHarmonicsFlags(TProfile* const mhFlags) {this->fMixedHarmonicsFlags = mhFlags;};
599  TProfile* GetMixedHarmonicsFlags() const {return this->fMixedHarmonicsFlags;};
604  void Set2pCorrelations(TProfile* const p2pCorr) {this->f2pCorrelations = p2pCorr;};
605  TProfile* Get2pCorrelations() const {return this->f2pCorrelations;};
606  void Set3pCorrelations(TProfile* const p3pCorr) {this->f3pCorrelations = p3pCorr;};
607  TProfile* Get3pCorrelations() const {return this->f3pCorrelations;};
608  void Set4pCorrelations(TProfile* const p4pCorr) {this->f4pCorrelations = p4pCorr;};
609  TProfile* Get4pCorrelations() const {return this->f4pCorrelations;};
610  void Set5pCorrelations(TProfile* const p5pCorr) {this->f5pCorrelations = p5pCorr;};
611  TProfile* Get5pCorrelations() const {return this->f5pCorrelations;};
612  void Set6pCorrelations(TProfile* const p6pCorr) {this->f6pCorrelations = p6pCorr;};
613  TProfile* Get6pCorrelations() const {return this->f6pCorrelations;};
614  void Set7pCorrelations(TProfile* const p7pCorr) {this->f7pCorrelations = p7pCorr;};
615  TProfile* Get7pCorrelations() const {return this->f7pCorrelations;};
616  void Set8pCorrelations(TProfile* const p8pCorr) {this->f8pCorrelations = p8pCorr;};
617  TProfile* Get8pCorrelations() const {return this->f8pCorrelations;};
618  void Set2pCumulants(TH1D* const p2pC) {this->f2pCumulants = p2pC;};
619  TH1D* Get2pCumulants() const {return this->f2pCumulants;};
620  void Set3pCumulants(TH1D* const p3pC) {this->f3pCumulants = p3pC;};
621  TH1D* Get3pCumulants() const {return this->f3pCumulants;};
622  void Set4pCumulants(TH1D* const p4pC) {this->f4pCumulants = p4pC;};
623  TH1D* Get4pCumulants() const {return this->f4pCumulants;};
624  void Set5pCumulants(TH1D* const p5pC) {this->f5pCumulants = p5pC;};
625  TH1D* Get5pCumulants() const {return this->f5pCumulants;};
626  void Set6pCumulants(TH1D* const p6pC) {this->f6pCumulants = p6pC;};
627  TH1D* Get6pCumulants() const {return this->f6pCumulants;};
628  void Set7pCumulants(TH1D* const p7pC) {this->f7pCumulants = p7pC;};
629  TH1D* Get7pCumulants() const {return this->f7pCumulants;};
630  void Set8pCumulants(TH1D* const p8pC) {this->f8pCumulants = p8pC;};
631  TH1D* Get8pCumulants() const {return this->f8pCumulants;};
632  void SetMixedHarmonicEventWeights(TH1D* const mhew, Int_t const power) {this->fMixedHarmonicEventWeights[power] = mhew;};
636  void SetMixedHarmonicProductOfCorrelations(TProfile2D* const mhpoc) {this->fMixedHarmonicProductOfCorrelations = mhpoc;};
638 
639  // 10.) Control histograms:
640  void SetControlHistogramsList(TList* const chl) {this->fControlHistogramsList = chl;};
641  void SetControlHistogramsFlags(TProfile* const chf) {this->fControlHistogramsFlags = chf;};
642  TProfile* GetControlHistogramsFlags() const {return this->fControlHistogramsFlags;};
645  void SetCorrelationNoRPsVsRefMult(TH2D* const cnrvrm) {this->fCorrelationNoRPsVsRefMult = cnrvrm;};
647  void SetCorrelationNoPOIsVsRefMult(TH2D* const cnpvrm) {this->fCorrelationNoPOIsVsRefMult = cnpvrm;};
649  void SetCorrelationNoRPsVsNoPOIs(TH2D* const cnrvnp) {this->fCorrelationNoRPsVsNoPOIs = cnrvnp;};
651  void SetCorrelation2468VsMult(TH2D* const c2468vm, Int_t const ci) {this->fCorrelation2468VsMult[ci] = c2468vm;};
653  void SetCorrelationProduct2468VsMult(TH2D* const cp2468vm, Int_t const ci) {this->fCorrelationProduct2468VsMult[ci] = cp2468vm;};
655  void SetQvectorTermsVsMult(TH2D* const qvtvm, Int_t const qvti) {this->fQvectorTermsVsMult[qvti] = qvtvm;};
656  TH2D* GetQvectorTermsVsMult(Int_t qvti) const {return this->fQvectorTermsVsMult[qvti];};
657 
658  // 11.) Bootstrap:
659  void SetBootstrapList(TList* const bl) {this->fBootstrapList = bl;};
660  void SetBootstrapProfilesList(TList* const bpl) {this->fBootstrapProfilesList = bpl;};
661  void SetBootstrapResultsList(TList* const brl) {this->fBootstrapResultsList = brl;};
662  void SetBootstrapFlags(TProfile* const bf) {this->fBootstrapFlags = bf;};
663  TProfile* GetBootstrapFlags() const {return this->fBootstrapFlags;};
664  void SetUseBootstrap(Bool_t const ub) {this->fUseBootstrap = ub;};
665  Bool_t GetUseBootstrap() const {return this->fUseBootstrap;};
666  void SetUseBootstrapVsM(Bool_t const ubVsM) {this->fUseBootstrapVsM = ubVsM;};
667  Bool_t GetUseBootstrapVsM() const {return this->fUseBootstrapVsM;};
668  void SetnSubsamples(Int_t const ns) {this->fnSubsamples = ns;};
669  Int_t GetnSubsamples() const {return this->fnSubsamples;};
670  void SetBootstrapCorrelations(TProfile2D* const bcp) {this->fBootstrapCorrelations = bcp;};
671  TProfile2D* GetBootstrapCorrelations() const {return this->fBootstrapCorrelations;};
672  void SetBootstrapCorrelationsVsM(TProfile2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCorrelationsVsM[qvti] = bcpVsM;};
673  TProfile2D* GetBootstrapCorrelationsVsM(Int_t qvti) const {return this->fBootstrapCorrelationsVsM[qvti];};
674  void SetBootstrapCumulants(TH2D* const bc) {this->fBootstrapCumulants = bc;};
676  void SetBootstrapCumulantsVsM(TH2D* const bcpVsM, Int_t const qvti) {this->fBootstrapCumulantsVsM[qvti] = bcpVsM;};
677  TH2D* GetBootstrapCumulantsVsM(Int_t qvti) const {return this->fBootstrapCumulantsVsM[qvti];};
678 
679  // 12.) CRC
680  void SetCRCList(TList* const CRCL) {this->fCRCList = CRCL;};
681  void SetCRCIntList(TList* const CRCL) {this->fCRCIntList = CRCL;};
682  void SetCRCIntRbRList(TList* const CRCL) {this->fCRCIntRbRList = CRCL;};
683  void SetCRCIntRunsList(TList* const CRCL, Int_t r) {this->fCRCIntRunsList[r] = CRCL;};
684  void SetCRCVZList(TList* const CRCL) {this->fCRCVZList = CRCL;};
685  void SetCRCVZRbRList(TList* const CRCL) {this->fCRCVZRbRList = CRCL;};
686  void SetCRCVZRunsList(TList* const CRCL, Int_t r) {this->fCRCVZRunsList[r] = CRCL;};
687  void SetCRCZDCList(TList* const CRCL) {this->fCRCZDCList = CRCL;};
688  void SetCRCZDCRbRList(TList* const CRCL) {this->fCRCZDCRbRList = CRCL;};
689  void SetCRCZDCRunsList(TList* const CRCL, Int_t r) {this->fCRCZDCRunsList[r] = CRCL;};
690  void SetCRCPtList(TList* const CRCL) {this->fCRCPtList = CRCL;};
691  void SetCRC2List(TList* const CRCL) {this->fCRC2List = CRCL;};
692  void SetCRC2RbRList(TList* const CRCL) {this->fCRC2RbRList = CRCL;};
693  void SetCRC2RunsList(TList* const CRCL, Int_t r) {this->fCRC2RunsList[r] = CRCL;};
694  void SetCRCQVecList(TList* const CRCL) {this->fCRCQVecList = CRCL;};
695  void SetCRCQVecListRun(TList* const CRCL, Int_t r) {this->fCRCQVecListRun[r] = CRCL;};
696  void SetCRCFlags(TProfile* const CRCF) {this->fCRCFlags = CRCF;};
697  TProfile* GetCRCFlags() const {return this->fCRCFlags;};
698  void SetCalculateCRC(Bool_t const cCRC) {this->fCalculateCRC = cCRC;};
699  Bool_t GetCalculateCRC() const {return this->fCalculateCRC;};
700  void SetCalculateCRCPt(Bool_t const cCRC) {this->fCalculateCRCPt = cCRC;};
701  Bool_t GetCalculateCRCPt() const {return this->fCalculateCRCPt;};
702  void SetCalculateCME(Bool_t const cCRC) {this->fCalculateCME = cCRC;};
703  Bool_t GetCalculateCME() const {return this->fCalculateCME;};
704  void SetCalculateFlowQC(Bool_t const cCRC) {this->fCalculateFlowQC = cCRC;};
705  Bool_t GetCalculateFlowQC() const {return this->fCalculateFlowQC;};
706  void SetCalculateFlowZDC(Bool_t const cCRC) {this->fCalculateFlowZDC = cCRC;};
708  void SetCalculateFlowVZ(Bool_t const cCRC) {this->fCalculateFlowVZ = cCRC;};
709  Bool_t GetCalculateFlowVZ() const {return this->fCalculateFlowVZ;};
710  void SetCalculateCRC2(Bool_t const cCRC) {this->fCalculateCRC2 = cCRC;};
711  Bool_t GetCalculateCRC2() const {return this->fCalculateCRC2;};
712  void SetCalculateCRCVZ(Bool_t const cCRC) {this->fCalculateCRCVZ = cCRC;};
713  Bool_t GetCalculateCRCVZ() const {return this->fCalculateCRCVZ;};
714  void SetCalculateCRCZDC(Bool_t const cCRC) {this->fCalculateCRCZDC = cCRC;};
715  Bool_t GetCalculateCRCZDC() const {return this->fCalculateCRCZDC;};
716  void SetCalculateEbEFlow(Bool_t const cCRC) {this->fCalculateEbEFlow = cCRC;};
718  void SetUseVZERO(Bool_t const cCRC) {this->fUseVZERO = cCRC;};
719  Bool_t GetUseVZERO() const {return this->fUseVZERO;};
720  void SetUseZDC(Bool_t const cCRC) {this->fUseZDC = cCRC;};
721  Bool_t GetUseZDC() const {return this->fUseZDC;};
722  void SetRecenterZDC(Bool_t const cCRC) {this->fRecenterZDC = cCRC;};
723  Bool_t GetRecenterZDC() const {return this->fRecenterZDC;};
724  void SetDivSigma(Bool_t const cCRC) {this->fDivSigma = cCRC;};
725  Bool_t GetDivSigma() const {return this->fDivSigma;};
726  void SetInvertZDC(Bool_t const cCRC) {this->fInvertZDC = cCRC;};
727  Bool_t GetInvertZDC() const {return this->fInvertZDC;};
728  void SetQAZDCCuts(Bool_t const cCRC) {this->fQAZDCCuts = cCRC;};
729  Bool_t GetQAZDCCuts() const {return this->fQAZDCCuts;};
730  void SetTestSin(Bool_t const cCRC) {this->fCRCTestSin = cCRC;};
731  Bool_t GetTestSin() const {return this->fCRCTestSin;};
732  void SetNUAforCRC(Bool_t const cCRC) {this->fNUAforCRC = cCRC;};
733  Bool_t GetNUAforCRC() const {return this->fNUAforCRC;};
734  void SetUseCRCRecenter(Bool_t const cCRC) {this->fUseCRCRecenter = cCRC;};
735  Bool_t GetUseCRCRecenter() const {return this->fUseCRCRecenter;};
737  void SetCRCQVecWeightsList(TList* const wlist) {this->fCRCQVecWeightsList = wlist;}
739  void SetCRCZDCCalibList(TList* const wlist) {this->fCRCZDCCalibList = wlist;}
740  TList* GetCRCZDCCalibList() const {return this->fCRCZDCCalibList;}
741  void SetZDCESEList(TList* const kList) {this->fZDCESEList = kList;};
742  TList* GetZDCESEList() const {return this->fZDCESEList;};
743  // 12.a) EbE Corr:
744  void SetCRCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProdTempHist[c][eg][h] = TH;};
745  TH1D* GetCRCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProdTempHist[c][eg][h];};
746  // 12.b) Final histo:
747  void SetCRCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrHist[c][eg][h] = TH;};
748  TH1D* GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrHist[c][eg][h];};
749  void SetCRCCumHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCumHist[c][eg][h] = TH;};
750  TH1D* GetCRCCumHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCumHist[c][eg][h];};
751  void SetCRCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCCFunHist[eg][h] = TH;};
752  TH1D* GetCRCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCCFunHist[eg][h];};
753  // 12.c) Covariances:
754  void SetCRCCorrProd2p2pPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCorrProd2p2pPro[c][eg][h] = TP;};
755  TProfile* GetCRCCorrProd2p2pPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCorrProd2p2pPro[c][eg][h];};
756  void SetCRCCovHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCCovHist[c][eg][h] = TH;};
757  TH1D* GetCRCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCCovHist[c][eg][h];};
758  // 12.d) NUA corrections:
759  void SetCRCNUATermsHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCNUATermsHist[c][eg][h] = TH;};
760  TH1D* GetCRCNUATermsHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCNUATermsHist[c][eg][h];};
761 
762  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;};
763  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];};
764  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;};
765  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];};
766  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;};
767  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];};
768 
769  // 12.e) Q Vectors:
770  void SetCRCQnReHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnRe[r][h] = TH;};
771  TProfile* GetCRCQnReHist(Int_t const r, Int_t const h) const {return this->fCRCQnRe[r][h];};
772  void SetCRCQnImHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnIm[r][h] = TH;};
773  TProfile* GetCRCQnImHist(Int_t const r, Int_t const h) const {return this->fCRCQnIm[r][h];};
774  void SetCRCQnReCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnReCorr[r][h] = TH;};
775  TProfile* GetCRCQnReCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnReCorr[r][h];};
776  void SetCRCQnImCorrHist(TProfile* const TH, Int_t const r, Int_t const h) {this->fCRCQnImCorr[r][h] = TH;};
777  TProfile* GetCRCQnImCorrHist(Int_t const r, Int_t const h) const {return this->fCRCQnImCorr[r][h];};
778 
779  void SetCRCVZQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecA[r][c] = TH;};
780  TProfile* GetCRCVZQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecA[r][c];};
781  void SetCRCVZQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCVZQVecC[r][c] = TH;};
782  TProfile* GetCRCVZQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCVZQVecC[r][c];};
783 
784  void SetCRCZDCQVecAHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecA[r][c] = TH;};
785  TProfile* GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecA[r][c];};
786  void SetCRCZDCQVecCHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecC[r][c] = TH;};
787  TProfile* GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecC[r][c];};
788  void SetCRCZDCQVecACorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecACorr[r][c] = TH;};
789  TProfile* GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecACorr[r][c];};
790  void SetCRCZDCQVecCCorrHist(TProfile* const TH, Int_t const r, Int_t const c) {this->fCRCZDCQVecCCorr[r][c] = TH;};
791  TProfile* GetCRCZDCQVecCCorrHist(Int_t const r, Int_t const c) const {return this->fCRCZDCQVecCCorr[r][c];};
792  void SetCRCZDCQVecCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCZDCQVecCov[r][i] = TH;};
793  TProfile* GetCRCZDCQVecCov(Int_t const r, Int_t const i) const {return this->fCRCZDCQVecCov[r][i];};
794 
795  // void SetCRCVZvsZDCCov(TProfile* const TH, Int_t const r, Int_t const i) {this->fCRCVZvsZDCCov[r][i] = TH;};
796  // TProfile* GetCRCVZvsZDCCov(Int_t const r, Int_t const i) const {return this->fCRCVZvsZDCCov[r][i];};
797 
798  // CRC VZERO:
799  // 12.a) EbE Corr:
800  void SetCRCVZCorrPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrPro[r][c][eg][h] = TP;};
801  TProfile* GetCRCVZCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrPro[r][c][eg][h];};
802  void SetCRCVZCorrProd2p2pHist(TProfile* const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrProd2p2pHist[r][c][eg][h] = TH;};
803  TProfile* GetCRCVZCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrProd2p2pHist[r][c][eg][h];};
804  void SetCRCVZNUAPro(TProfile* const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZNUAPro[r][c][eg][h] = TP;};
805  TProfile* GetCRCVZNUAPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZNUAPro[r][c][eg][h];};
806  // 12.b) Final histo:
807  void SetCRCVZCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrHist[c][eg][h] = TH;};
808  TH1D* GetCRCVZCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrHist[c][eg][h];};
809  void SetCRCVZCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCVZCFunHist[eg][h] = TH;};
810  TH1D* GetCRCVZCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCVZCFunHist[eg][h];};
811  // 12.c) Covariances:
812  void SetCRCVZCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCovHist[c][eg][h] = TH;};
813  TH2D* GetCRCVZCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCovHist[c][eg][h];};
814  void SetCRCVZCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCVZCorrProdTempHist[c][eg][h] = TH;};
815  TH1D* GetCRCVZCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCVZCorrProdTempHist[c][eg][h];};
816 
817  // CRC ZDC:
818  // 12.a) EbE Corr:
819  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;};
820  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];};
821  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;};
822  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];};
823  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;};
824  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];};
825  // 12.b) Final histo:
826  void SetCRCZDCCorrHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrHist[c][eg][h] = TH;};
827  TH1D* GetCRCZDCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrHist[c][eg][h];};
828  void SetCRCZDCCFunHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCCFunHist[eg][h] = TH;};
829  TH1D* GetCRCZDCCFunHist(Int_t const eg, Int_t const h) const {return this->fCRCZDCCFunHist[eg][h];};
830  void SetCRCZDCSpectra(TProfile* const TH, Int_t const eg, Int_t const h) {this->fCRCZDCSpectra[eg][h] = TH;};
831  TProfile* GetCRCZDCSpectra(Int_t const eg, Int_t const h) const {return this->fCRCZDCSpectra[eg][h];};
832 
833  // 12.c) Covariances:
834  void SetCRCZDCCovHist(TH2D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCovHist[c][eg][h] = TH;};
835  TH2D* GetCRCZDCCovHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCovHist[c][eg][h];};
836  void SetCRCZDCCorrProdTempHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fCRCZDCCorrProdTempHist[c][eg][h] = TH;};
837  TH1D* GetCRCZDCCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fCRCZDCCorrProdTempHist[c][eg][h];};
838 
839  // CRC2:
840  void SetCRC2nEtaBins(Int_t NB) {this->fCRC2nEtaBins = NB;};
842  void SetCRC2CorPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CorPro[r][h][c] = TP;};
843  TProfile* GetCRC2CorPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CorPro[r][h][c];};
844  void SetCRC2NUAPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAPro[r][h][c][e] = TP;};
845  TProfile* GetCRC2NUAPro(Int_t const r, Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAPro[r][h][c][e];};
846  void SetCRC2CorHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2CorHist[h][c][e] = TP;};
847  TH1D* GetCRC2CorHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2CorHist[h][c][e];};
848  void SetCRC2NUAHist(TH1D* const TP, Int_t const h, Int_t const c, Int_t const e) {this->fCRC2NUAHist[h][c][e] = TP;};
849  TH1D* GetCRC2NUAHist(Int_t const h, Int_t const c, Int_t const e) const {return this->fCRC2NUAHist[h][c][e];};
850  void SetCRC2CovPro(TProfile* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovPro[r][h][c] = TP;};
851  TProfile* GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovPro[r][h][c];};
852  void SetCRC2CovHist(TH1D* const TP, Int_t const r, Int_t const h, Int_t const c) {this->fCRC2CovHist[r][h][c] = TP;};
853  TH1D* GetCRC2CovHist(Int_t const r, Int_t const h, Int_t const c) const {return this->fCRC2CovHist[r][h][c];};
854 
855  // 13.) CRC Pt differential
856  void SetCRCPtTPCTNt(TNtuple* const TH) {this->fCRCPtTPCTNt = TH;};
857  TNtuple* GetCRCPtTPCTNt() const {return this->fCRCPtTPCTNt;};
858  void SetCRCPtVZTNt(TNtuple* const TH) {this->fCRCPtVZTNt = TH;};
859  TNtuple* GetCRCPtVZTNt() const {return this->fCRCPtVZTNt;};
860  void SetCRCPtZDCTNt(TNtuple* const TH) {this->fCRCPtZDCTNt = TH;};
861  TNtuple* GetCRCPtZDCTNt() const {return this->fCRCPtZDCTNt;};
862 
863  void SetCenWeightsHist(TH1D* const n) {this->fCenWeightsHist = n;};
864  TH1D* GetCenWeightsHist() const {return this->fCenWeightsHist;};
865  void SetPtWeightsHist(TH1D* const n, Int_t c) {this->fPtWeightsHist[c] = n;};
866  TH1D* GetPtWeightsHist(Int_t c) const {return this->fPtWeightsHist[c];};
867  void SetEtaWeightsHist(TH1D* const n, Int_t h, Int_t b, Int_t c) {this->fEtaWeightsHist[h][b][c] = n;};
868  TH1D* GetEtaWeightsHist(Int_t h, Int_t b, Int_t c) const {return this->fEtaWeightsHist[h][b][c];};
869  void SetNvsCenCut(TH1D* const n, Int_t c, Int_t h) {this->fNvsCenCut[c][h] = n;};
870  TH1D* GetNvsCenCut(Int_t c, Int_t h) const {return this->fNvsCenCut[c][h];};
871  void SetZNCentroid(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCentroid[eg][h] = n;};
872  TH2F* GetZNCentroid(Int_t const eg, Int_t const h) const {return this->fhZNCentroid[eg][h];};
873  void SetZNSpectra(TH1F* const n, Int_t const eg, Int_t const h) {this->fhZNSpectra[eg][h] = n;};
874  TH1F* GetZNSpectra(Int_t const eg, Int_t const h) const {return this->fhZNSpectra[eg][h];};
875  void SetZNCvsZNA(TH2F* const n, Int_t const h) {this->fhZNCvsZNA[h] = n;};
876  TH2F* GetZNCvsZNA(Int_t const h) const {return this->fhZNCvsZNA[h];};
877  void SetZNvsCen(TH2F* const n, Int_t const h) {this->fhZNvsCen[h] = n;};
878  TH2F* GetZNvsCen(Int_t const h) const {return this->fhZNvsCen[h];};
879  void SetZDCESEMultWeightsHist(TH2F* const n, Int_t h) {this->fZDCESEMultWeightsHist[h] = n;};
881  void SetZDCESESpecWeightsHist(TH2F* const n, Int_t h) {this->fZDCESESpecWeightsHist[h] = n;};
883  void SetZNvsTCen(TH2F* const n, Int_t const h) {this->fhZNvsTCen[h] = n;};
884  TH2F* GetZNvsTCen(Int_t const h) const {return this->fhZNvsTCen[h];};
885  void SetCenvsMul(TH2F* const n, Int_t const h) {this->fhCenvsMul[h] = n;};
886  TH2F* GetCenvsMul(Int_t const h) const {return this->fhCenvsMul[h];};
887  void SetCenvsSpec(TH2F* const n, Int_t const h) {this->fhCenvsSpec[h] = n;};
888  TH2F* GetCenvsSpec(Int_t const h) const {return this->fhCenvsSpec[h];};
889  void SetZNvsMul(TH2F* const n) {this->fhZNvsMul = n;};
890  TH2F* GetZNvsMul() const {return this->fhZNvsMul;};
891 
892  void SetZNCenvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNCenvsMul[eg][h] = n;};
893  TH2F* GetZNCenvsMul(Int_t const eg, Int_t const h) const {return this->fhZNCenvsMul[eg][h];};
894  void SetZNResvsMul(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsMul[eg][h] = n;};
895  TH2F* GetZNResvsMul(Int_t const eg, Int_t const h) const {return this->fhZNResvsMul[eg][h];};
896  void SetZNResvsCen(TH2F* const n, Int_t const eg, Int_t const h) {this->fhZNResvsCen[eg][h] = n;};
897  TH2F* GetZNResvsCen(Int_t const eg, Int_t const h) const {return this->fhZNResvsCen[eg][h];};
898 
900 
901  // Flow QC
902  void SetFlowQCList(TList* const TL) {this->fFlowQCList = TL;};
903  void SetFlowQCCenBin(Int_t const TL) {this->fFlowQCCenBin = TL;};
904  Int_t GetFlowQCCenBin() const {return this->fFlowQCCenBin;};
905  void SetFlowQCDeltaEta(Double_t const TL) {this->fFlowQCDeltaEta = TL;};
906  Double_t GetFlowQCDeltaEta() const {return this->fFlowQCDeltaEta;};
907  void SetFlowQCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorPro[c][eg][h] = TP;};
908  TProfile* GetFlowQCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorPro[c][eg][h];};
909  void SetFlowQCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorHist[c][eg][h] = TH;};
910  TH1D* GetFlowQCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorHist[c][eg][h];};
911  void SetFlowQCCorNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCCorNUAPro[c][eg][h] = TP;};
912  TProfile* GetFlowQCCorNUAPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCCorNUAPro[c][eg][h];};
913 
914  TProfile* GetFlowQCIntCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorPro[eg][h];};
915  void SetFlowQCIntCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorPro[eg][k] = TP;};
916  TProfile* GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAPro[eg][h];};
917  void SetFlowQCIntCorNUAPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAPro[eg][k] = TP;};
918  TH1D* GetFlowQCIntCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorHist[eg][h];};
919  void SetFlowQCIntCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorHist[eg][k] = TP;};
920  TProfile* GetFlowQCNewCenPro(Int_t const eg, Int_t const h) const {return this->fFlowQCNewCenPro[eg][h];};
921  void SetFlowQCNewCenPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCNewCenPro[eg][k] = TP;};
922  TH1D* GetFlowQCNewCenHist(Int_t const eg, Int_t const h) const {return this->fFlowQCNewCenHist[eg][h];};
923  void SetFlowQCNewCenHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCNewCenHist[eg][k] = TP;};
924  TProfile* GetFlowQCMetricCorPro(Int_t const eg, Int_t const h) const {return this->fFlowQCMetricCorPro[eg][h];};
925  void SetFlowQCMetricCorPro(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCMetricCorPro[eg][k] = TP;};
926  TH1D* GetFlowQCMetricCorHist(Int_t const eg, Int_t const h) const {return this->fFlowQCMetricCorHist[eg][h];};
927  void SetFlowQCMetricCorHist(TH1D* const TP, Int_t const eg, Int_t const k) {this->fFlowQCMetricCorHist[eg][k] = TP;};
928  TProfile* GetFlowQCIntCorProEG(Int_t const eg) const {return this->fFlowQCIntCorProEG[eg];};
929  void SetFlowQCIntCorProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCIntCorProEG[eg] = TP;};
930  TProfile* GetFlowQCIntCorNUAProEG(Int_t const eg, Int_t const h) const {return this->fFlowQCIntCorNUAProEG[eg][h];};
931  void SetFlowQCIntCorNUAProEG(TProfile* const TP, Int_t const eg, Int_t const k) {this->fFlowQCIntCorNUAProEG[eg][k] = TP;};
932  TH1D* GetFlowQCIntCorHistEG(Int_t const eg) const {return this->fFlowQCIntCorHistEG[eg];};
933  void SetFlowQCIntCorHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCIntCorHistEG[eg] = TP;};
934  TProfile* GetFlowQCNewCenProEG(Int_t const eg) const {return this->fFlowQCNewCenProEG[eg];};
935  void SetFlowQCNewCenProEG(TProfile* const TP, Int_t const eg) {this->fFlowQCNewCenProEG[eg] = TP;};
936  TH1D* GetFlowQCNewCenHistEG(Int_t const eg) const {return this->fFlowQCNewCenHistEG[eg];};
937  void SetFlowQCNewCenHistEG(TH1D* const TP, Int_t const eg) {this->fFlowQCNewCenHistEG[eg] = TP;};
938 
939  TProfile2D* GetFlowQCMetric2DProEG(Int_t const eg, Int_t const bng) const {return this->fFlowQCMetric2DProEG[eg][bng];};
940  void SetFlowQCMetric2DProEG(TProfile2D* const TP, Int_t const eg, Int_t const bng) {this->fFlowQCMetric2DProEG[eg][bng] = TP;};
941  TH2D* GetFlowQCMetric2DHistEG(Int_t const eg, Int_t const bng) const {return this->fFlowQCMetric2DHistEG[eg][bng];};
942  void SetFlowQCMetric2DHistEG(TH2D* const TP, Int_t const eg, Int_t const bng) {this->fFlowQCMetric2DHistEG[eg][bng] = TP;};
943 
944  void SetFlowQCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowQCFinalPtDifHist[c][eg][h] = TH;};
945  TH1D* GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowQCFinalPtDifHist[c][eg][h];};
946  void SetFlowQCSpectra(TH1D* const TH, Int_t const c) {this->fFlowQCSpectra[c] = TH;};
947  TH1D* GetFlowQCSpectra(Int_t const c) const {return this->fFlowQCSpectra[c];};
948 
949  void SetFlowSCv2vsZNv1Pro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Pro[c][eg] = TP;};
950  TProfile* GetFlowSCv2vsZNv1Pro(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Pro[c][eg];};
951  void SetFlowSCv2vsZNv1Hist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1Hist[c][eg] = TP;};
952  TH1D* GetFlowSCv2vsZNv1Hist(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1Hist[c][eg];};
953  void SetFlowSCv2vsZNv1FinalHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowSCv2vsZNv1FinalHist[c][eg] = TP;};
954  TH1D* GetFlowSCv2vsZNv1FinalHist(Int_t const c, Int_t const eg) const {return this->fFlowSCv2vsZNv1FinalHist[c][eg];};
955 
956  void SetFlowSCv2vsZNv1PtPro(TProfile* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtPro[c][pt][eg] = TP;};
957  TProfile* GetFlowSCv2vsZNv1PtPro(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtPro[c][pt][eg];};
958  void SetFlowSCv2vsZNv1PtHist(TH1D* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtHist[c][pt][eg] = TP;};
959  TH1D* GetFlowSCv2vsZNv1PtHist(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtHist[c][pt][eg];};
960  void SetFlowSCv2vsZNv1PtFinalHist(TH1D* const TP, Int_t const c, Int_t const pt, Int_t const eg) {this->fFlowSCv2vsZNv1PtFinalHist[c][pt][eg] = TP;};
961  TH1D* GetFlowSCv2vsZNv1PtFinalHist(Int_t const c, Int_t const pt, Int_t const eg) const {return this->fFlowSCv2vsZNv1PtFinalHist[c][pt][eg];};
962 
963  // Flow QC high orders
964  void SetFlowQCHOList(TList* const TL) {this->fFlowQCHOList = TL;};
965  void SetFlowQCIntCorHOPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntCorHOPro[c][eg] = TP;};
966  TProfile* GetFlowQCIntCorHOPro(Int_t const c, Int_t const eg) const {return this->fFlowQCIntCorHOPro[c][eg];};
967  void SetFlowQCIntCorHOHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntCorHOHist[c][eg] = TP;};
968  TH1D* GetFlowQCIntCorHOHist(Int_t const c, Int_t const eg) const {return this->fFlowQCIntCorHOHist[c][eg];};
969  void SetFlowQCIntQCHOHist(TH1D* const TP, Int_t const c, Int_t const eg) {this->fFlowQCIntQCHOHist[c][eg] = TP;};
970  TH1D* GetFlowQCIntQCHOHist(Int_t const c, Int_t const eg) const {return this->fFlowQCIntQCHOHist[c][eg];};
971 
972  // Flow SP ZDC
973  void SetFlowSPZDCList(TList* const TL) {this->fFlowSPZDCList = TL;};
974 
975  void SetFlowSPZDCCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorPro[c][eg][h] = TP;};
976  TProfile* GetFlowSPZDCCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorPro[c][eg][h];};
977  void SetFlowSPZDCCorNUA(TProfile* const TP, Int_t const c, Int_t const h) {this->fFlowSPZDCCorNUA[c][h] = TP;};
978  TProfile* GetFlowSPZDCCorNUA(Int_t const c, Int_t const h) const {return this->fFlowSPZDCCorNUA[c][h];};
979  void SetFlowSPZDCCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCCorHist[c][eg][h] = TH;};
980  TH1D* GetFlowSPZDCCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCCorHist[c][eg][h];};
981 
982  void SetFlowSPZDCFinalPtDifHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPZDCFinalPtDifHist[c][eg][h] = TH;};
983  TH1D* GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPZDCFinalPtDifHist[c][eg][h];};
984  void SetFlowSPZDCIntHist(TH1D* const TH, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntHist[c][eg] = TH;};
985  TH1D* GetFlowSPZDCIntHist(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntHist[c][eg];};
986  void SetFlowSPZDCIntPro(TProfile* const TP, Int_t const c, Int_t const eg) {this->fFlowSPZDCIntPro[c][eg] = TP;};
987  TProfile* GetFlowSPZDCIntPro(Int_t const c, Int_t const eg) const {return this->fFlowSPZDCIntPro[c][eg];};
988  void SetFlowSPZDCIntNUA(TProfile* const TP, Int_t const eg) {this->fFlowSPZDCIntNUA[eg] = TP;};
989  TProfile* GetFlowSPZDCIntNUA(Int_t const eg) const {return this->fFlowSPZDCIntNUA[eg];};
990 
991  // v1
992  void SetFlowSPZDCv1Pro(TProfile* const TP, Int_t const r) {this->fFlowSPZDCv1Pro[r] = TP;};
993  TProfile* GetFlowSPZDCv1Pro(Int_t const r) const {return this->fFlowSPZDCv1Pro[r];};
994  void SetFlowSPZDCv1etaPro(TProfile* const TP, Int_t const r) {this->fFlowSPZDCv1etaPro[r] = TP;};
995  TProfile* GetFlowSPZDCv1etaPro(Int_t const r) const {return this->fFlowSPZDCv1etaPro[r];};
996  void SetFlowSPZDCv1etaHist(TH1D* const TP, Int_t const r) {this->fFlowSPZDCv1etaHist[r] = TP;};
997  TH1D* GetFlowSPZDCv1etaHist(Int_t const r) const {return this->fFlowSPZDCv1etaHist[r];};
998 
999  // Flow SP VZ
1000  void SetFlowSPVZList(TList* const TL) {this->fFlowSPVZList = TL;};
1001  void SetFlowSPVZCorPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorPro[c][eg][h] = TP;};
1002  TProfile* GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorPro[c][eg][h];};
1003  void SetFlowSPVZNUAPro(TProfile* const TP, Int_t const c, Int_t const eg, Int_t const h, Int_t const k) {this->fFlowSPVZNUAPro[c][eg][h][k] = TP;};
1004  TProfile* GetFlowSPVZNUAPro(Int_t const c, Int_t const eg, Int_t const h, Int_t const k) const {return this->fFlowSPVZNUAPro[c][eg][h][k];};
1005  void SetFlowSPVZCorHist(TH1D* const TH, Int_t const c, Int_t const eg, Int_t const h) {this->fFlowSPVZCorHist[c][eg][h] = TH;};
1006  TH1D* GetFlowSPVZCorHist(Int_t const c, Int_t const eg, Int_t const h) const {return this->fFlowSPVZCorHist[c][eg][h];};
1007 
1008  Int_t GetnRun() const {return this->fCRCnRun;};
1009  Int_t GetCRCPtnCen() const {return this->fCRCPtnCenBin;};
1010  Double_t GetCRCPtwCen() const {return this->fCRCPtwCenBin;};
1011  Int_t GetnEG() const {return this->fCRCnEtaGap;};
1012  Int_t GetCRCPtnPt() const {return this->fCRCPtnPtBin;};
1013  Double_t GetCRCPtwPt() const {return this->fCRCPtwPtBin;};
1014  Double_t GetCRCPtMinPt() const {return this->fCRCPtMinPt;};
1015  Int_t GetnCR() const {return this->fCRCnCR;};
1016  Double_t* GetCRCPtvarPtBins() const {return this->fCRCPtvarPtBins;};
1017  Int_t GetCRCZDCnCR() const {return this->fCRCZDCnCR;};
1018  Int_t GetCRCZDCnEtaBin() const {return this->fCRCZDCnEtaBin;};
1019 
1020  // CME:
1021  void SetCMEList(TList* const TL) {this->fCMEList = TL;};
1022  void SetCMETPCList(TList* const TL) {this->fCMETPCList = TL;};
1023  void SetCMEZDCList(TList* const TL) {this->fCMEZDCList = TL;};
1024  // CME TPC only:
1025  void SetCMETPCCorPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCCorPro[c][h] = TP;};
1026  TProfile* GetCMETPCCorPro(Int_t const c, Int_t const h) const {return this->fCMETPCCorPro[c][h];};
1027  void SetCMETPCCorHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCCorHist[c][h] = TH;};
1028  TH1D* GetCMETPCCorHist(Int_t const c, Int_t const h) const {return this->fCMETPCCorHist[c][h];};
1029  void SetCMETPCFinalHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCFinalHist[c][h] = TH;};
1030  TH1D* GetCMETPCFinalHist(Int_t const c, Int_t const h) const {return this->fCMETPCFinalHist[c][h];};
1031  void SetCMETPCCorPro2D(TProfile2D* const TP, Int_t const c) {this->fCMETPCCorPro2D[c] = TP;};
1032  TProfile2D* GetCMETPCCorPro2D(Int_t const c) const {return this->fCMETPCCorPro2D[c];};
1033 
1034  void SetCMETPCSCPro(TProfile* const TP, Int_t const c, Int_t const h) {this->fCMETPCSCPro[c][h] = TP;};
1035  TProfile* GetCMETPCSCPro(Int_t const c, Int_t const h) const {return this->fCMETPCSCPro[c][h];};
1036  void SetCMETPCSCHist(TH1D* const TH, Int_t const c, Int_t const h) {this->fCMETPCSCHist[c][h] = TH;};
1037  TH1D* GetCMETPCSCHist(Int_t const c, Int_t const h) const {return this->fCMETPCSCHist[c][h];};
1038 
1039  // CME TPC-ZDCs:
1040  void SetCMEZDCCorPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCorPro[eg][h] = TP;};
1041  TProfile* GetCMEZDCCorPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorPro[eg][h];};
1042  void SetCMEZDCCovPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCCovPro[eg][h] = TP;};
1043  TProfile* GetCMEZDCCovPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovPro[eg][h];};
1044  void SetCMEZDCNUAPro(TProfile* const TP, Int_t const eg, Int_t const h) {this->fCMEZDCNUAPro[eg][h] = TP;};
1045  TProfile* GetCMEZDCNUAPro(Int_t const eg, Int_t const h) const {return this->fCMEZDCNUAPro[eg][h];};
1046  void SetCMEZDCCorHist(TH1D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCorHist[eg][h] = TH;};
1047  TH1D* GetCMEZDCCorHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCorHist[eg][h];};
1048  void SetCMEZDCCovHist(TH2D* const TH, Int_t const eg, Int_t const h) {this->fCMEZDCCovHist[eg][h] = TH;};
1049  TH2D* GetCMEZDCCovHist(Int_t const eg, Int_t const h) const {return this->fCMEZDCCovHist[eg][h];};
1050  void SetCMEZDCDistHist(TH1D* const TH, Int_t const eg, Int_t const h, Int_t const k) {this->fCMEZDCDistHist[eg][h][k] = TH;};
1051  TH1D* GetCMEZDCDistHist(Int_t const eg, Int_t const h, Int_t const k) const {return this->fCMEZDCDistHist[eg][h][k];};
1052 
1053  // EbE Flow
1054  void SetEbEFlowList(TList* const TL) {this->fEbEFlowList = TL;};
1055 
1056 
1057  // 15.) Various
1058  void SetVariousList(TList* const Various) {this->fVariousList = Various;};
1059  void SetMultHist(TH1D* const TH) {this->fMultHist = TH;};
1060  TH1D* GetMultHist() const {return this->fMultHist;}
1061  void SetCenHist(TH1D* const TH) {this->fCenHist = TH;};
1062  TH1D* GetCenHist() const {return this->fCenHist;}
1063  void SetVtxHist(TH2F* const TH, Int_t const c) {this->fVtxHist[c] = TH;};
1064  TH2F* GetVtxHist(Int_t const c) const {return this->fVtxHist[c];}
1065  void SetRunNumber(Int_t const n) {this->fRunNum = n;};
1066  Int_t GetRunNumber() const {return this->fRunNum;}
1067  void SetDataSet(DataSet set) {this->fDataSet = set;};
1068  DataSet GetDataSet() const {return this->fDataSet;}
1069  void SetMPolSelec(MagnetPol set) {this->fMPolSelec = set;};
1070  MagnetPol GetMPolSelec() const {return this->fMPolSelec;}
1071  void SetCorrWeightTPC(CorrelationWeights weights) {this->fCorrWeightTPC = weights;};
1073  void SetCorrWeightVZ(CorrelationWeights weights) {this->fCorrWeightVZ = weights;};
1075  void SetCorrWeightZDC(CorrelationWeights weights) {this->fCorrWeightZDC = weights;};
1077  void SetMinMulZN(Int_t weights) {this->fMinMulZN = weights;};
1078  Int_t GetMinMulZN() const {return this->fMinMulZN;};
1079  void SetMaxDevZN(Float_t weights) {this->fMaxDevZN = weights;};
1080  Float_t GetMaxDevZN() const {return this->fMaxDevZN;};
1081 
1082 private:
1083 
1084  AliFlowAnalysisCRC(const AliFlowAnalysisCRC& afawQc);
1086 
1087  // 0.) base:
1089 
1090  // 1.) common:
1091  Bool_t fBookOnlyBasicCCH; // book only basis common control histrograms (by default book them all)
1101  Int_t fnBinsPhi; // number of phi bins
1102  Double_t fPhiMin; // minimum phi
1103  Double_t fPhiMax; // maximum phi
1104  Double_t fPhiBinWidth; // bin width for phi histograms
1105  Int_t fnBinsPt; // number of pt bins
1106  Double_t fPtMin; // minimum pt
1107  Double_t fPtMax; // maximum pt
1108  Double_t fPtBinWidth; // bin width for pt histograms
1109  Int_t fnBinsEta; // number of eta bins
1110  Double_t fEtaMin; // minimum eta
1111  Double_t fEtaMax; // maximum eta
1112  Double_t fEtaBinWidth; // bin width for eta histograms
1113  TProfile *fCommonConstants;
1114  Bool_t fFillMultipleControlHistograms; // fill separately control histos for events with >= 2, 4, 6 and 8 particles
1115  Int_t fHarmonic; // harmonic
1117  Bool_t fPrintFinalResults[4]; // print on the screen the final results (0=RF, 1=RP, 2=POI, 3=RF rebinned in M)
1118 
1119  // 2a.) particle weights:
1120  TList *fWeightsList; // list to hold all histograms with particle weights: fUseParticleWeights, fPhiWeights, fPtWeights and fEtaWeights
1121  TList *fPhiEtaCutsList; // list for phi,eta cuts (for NUA)
1122  Bool_t fUsePhiWeights; // use phi weights
1123  Bool_t fUsePtWeights; // use pt weights
1124  Bool_t fUseEtaWeights; // use eta weights
1125  Bool_t fUseTrackWeights; // use track weights (e.g. VZERO sector weights)
1126  Bool_t fUsePhiEtaWeights; // use phi,eta weights
1127  Bool_t fUsePhiEtaCuts; // use phi,eta cuts (for NUA)
1128  Bool_t fUseZDCESEMulWeights; // use ZDC-ESE mult. weights
1129  Bool_t fUseZDCESESpecWeights; // use ZDC-ESE spec. weights
1131  // TH1F *fPhiWeightsPOIs[2]; //! histogram holding phi weights
1132  // TH1D *fPtWeightsPOIs[2]; //! histogram holding pt weights
1133  // TH1D *fEtaWeightsPOIs[2]; //! histogram holding eta weights
1134  // TH2D *fPhiEtaWeightsPOIs[2]; //! histogram holding phi,eta weights
1136  // TH1D *fPtWeightsRPs; //!
1137  // TH1D *fEtaWeightsRPs; //!
1138  // TH1F *fPhiDistrRefPOIs[2]; //! histogram holding phi weights
1139  // TH1D *fPtDistrRefPOIs[2]; //! histogram holding pt weights
1140  // TH1D *fEtaDistrRefPOIs[2]; //! histogram holding eta weights
1141  // TH2D *fPhiEtaDistrRefPOIs[2]; //! histogram holding phi,eta weights
1142  // TH1F *fPhiDistrRefRPs; //!
1143  // TH1D *fPtDistrRefRPs; //!
1144  // TH1D *fEtaDistrRefRPs; //!
1145  // TH2D *fPhiEtaDistrRefRPs; //!
1146  // TH1D *fPtWeights[2]; //! histogram holding pt weights
1147 
1148  // 2b.) event weights:
1151 
1152  // 3.) integrated flow
1153  // 3a.) lists:
1158  // 3b.) flags:
1159  TProfile *fIntFlowFlags;
1160  Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance
1161  Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M
1162  Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity
1163  Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity
1164  Double_t fMaxMult; // maximal multiplicity for flow analysis versus multiplicity
1165  Bool_t fPropagateErrorAlsoFromNIT; // propagate error by taking into account also non-isotropic terms (not sure if resulting error then is correct - to be improved)
1166  Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity
1167  Bool_t fCalculateAllCorrelationsVsM; // calculate all correlations versus multiplicity
1168  Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default)
1169  Bool_t fForgetAboutCovariances; // when propagating error forget about the covariances
1170  Bool_t fStoreVarious; // store phi distribution for one event to illustrate flow
1171  Int_t fExactNoRPs; // when shuffled, select only this number of RPs for the analysis
1172  Bool_t fUse2DHistograms; // use TH2D instead of TProfile to improve numerical stability in reference flow calculation
1173  Bool_t fFillProfilesVsMUsingWeights; // if the width of multiplicity bin is 1, weights are not needed
1174  Bool_t fUseQvectorTerms; // use TH2D with separate Q-vector terms instead of TProfile to improve numerical stability in reference flow calculation
1175 
1176  // 3c.) event-by-event quantities:
1177  TMatrixD *fReQ;
1178  TMatrixD *fImQ;
1179  TMatrixD *fSpk;
1185  Double_t fNumberOfRPsEBE; // # of Reference Particles
1186  Double_t fNumberOfPOIsEBE; // # of Particles of Interest
1187  Double_t fReferenceMultiplicityEBE; // reference multiplicity
1188  Double_t fCentralityEBE; // centrality percentile
1189  Double_t fNewCentralityEBE; // new centrality percentile
1190  Double_t fNewMetricLEBE; // new metric L
1191  Double_t fNewMetricDEBE; // new metric D
1192  Double_t fNewMetricL2EBE; // new metric L
1193  Double_t fNewMetricD2EBE; // new metric D
1194  Double_t fCentralityCL1EBE; // centrality (CL1) percentile
1195  Double_t fNITSCL1EBE; // centrality (TRK) percentile
1196  Double_t fCentralityTRKEBE; // centrality (TRK) percentile
1197  // 3d.) profiles:
1198  TProfile *fAvMultiplicity;
1208  // [0=<<2><4>>,1=<<2><6>>,2=<<2><8>>,3=<<4><6>>,4=<<4><8>>,5=<<6><8>>]
1212 
1213  // 3e.) histograms with final results:
1222  // [0=Cov(2,4),1=Cov(2,6),2=Cov(2,8),3=Cov(4,6),4=Cov(4,8),5=Cov(6,8)]
1224  // [0=sum{w_{<2>}},1=sum{w_{<4>}},2=sum{w_{<6>}},3=sum{w_{<8>}}][0=linear 1,1=quadratic]
1226  // [0=sum{w_{<2>}w_{<4>}},1=sum{w_{<2>}w_{<6>}},2=sum{w_{<2>}w_{<8>}},
1227  // 3=sum{w_{<4>}w_{<6>}},4=sum{w_{<4>}w_{<8>}},5=sum{w_{<6>}w_{<8>}}]
1240  // 4.) differential flow
1241  // 4a.) lists:
1246  // 4aa.) nested list in list fDiffFlowProfiles:
1251  // 4ab.) nested list in list fDiffFlowResults:
1260  // 4b.) flags:
1261  TProfile *fDiffFlowFlags;
1262  Bool_t fCalculateDiffFlow; // if you set kFALSE only reference flow will be calculated
1263  Bool_t fCalculate2DDiffFlow; // calculate 2D differential flow vs (pt,eta) (Remark: this is expensive in terms of CPU time)
1264  Bool_t fCalculateDiffFlowVsEta; // if you set kFALSE only differential flow vs pt is calculated
1265  // 4c.) event-by-event quantities:
1266  // 1D:
1267  TProfile *fReRPQ1dEBE[3][2][4][9];
1268  TProfile *fImRPQ1dEBE[3][2][4][9];
1269  TProfile *fs1dEBE[3][2][9];
1273 
1274  // 2D:
1275  TProfile2D *fReRPQ2dEBE[3][4][9];
1276  TProfile2D *fImRPQ2dEBE[3][4][9];
1277  TProfile2D *fs2dEBE[3][9];
1278  // 4d.) profiles:
1279  // 1D:
1280  TProfile *fDiffFlowCorrelationsPro[2][2][4];
1281  TProfile *fDiffFlowSquaredCorrelationsPro[2][2][4];
1282  TProfile *fDiffFlowProductOfCorrelationsPro[2][2][8][8];
1283  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1284  TProfile *fDiffFlowCorrectionTermsForNUAPro[2][2][2][10];
1285  // 2D:
1286  TProfile2D *f2DDiffFlowCorrelationsPro[2][4];
1287  // Other differential correlators:
1289  TProfile *fOtherDiffCorrelators[2][2][2][1];
1290  // 4e.) histograms holding final results:
1291  // 1D:
1296  TH1D *fDiffFlow[2][2][4];
1299  // [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>]
1301  // 2D:
1304  // 6.) distributions:
1307  Bool_t fStoreDistributions; // store or not distributions of correlations
1309  Int_t fnBinsForCorrelations; // # of bins for correlation axis in fDistributions[4], fCorrelation2468VsMult[4] and fCorrelationProduct2468VsMult[1]
1310  Double_t fMinValueOfCorrelation[4]; // min values of <2>, <4>, <6> and <8>
1311  Double_t fMaxValueOfCorrelation[4]; // max values of <2>, <4>, <6> and <8>
1312  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
1313  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
1314  Double_t fMinValueOfQvectorTerms[4]; // MinValueOfQvectorTerms
1315  Double_t fMaxValueOfQvectorTerms[4]; // MaxValueOfQvectorTerms
1316 
1317  // 8.) debugging and cross-checking:
1319  Bool_t fEvaluateIntFlowNestedLoops; // evaluate nested loops relevant for integrated flow
1320  Bool_t fEvaluateDiffFlowNestedLoops; // evaluate nested loops relevant for differential flow
1321  Int_t fMaxAllowedMultiplicity; // nested loops will be evaluated only for events with multiplicity <= fMaxAllowedMultiplicity
1323  // integrated flow:
1327  // differential flow:
1328  Int_t fCrossCheckInPtBinNo; // cross-check results for reduced correlations and corrections in this pt bin
1329  Int_t fCrossCheckInEtaBinNo; // cross-check results for reduced correlations and corrections in this eta bin
1330  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
1331  TProfile *fDiffFlowDirectCorrelations[2][2][4];
1332  TProfile *fDiffFlowDirectCorrectionTermsForNUA[2][2][2][10];
1333  // other differential correlators:
1334  TProfile *fOtherDirectDiffCorrelators[2][2][2][1];
1335  // mixed harmonics:
1337 
1338  // 9.) mixed harmonics:
1339  // 9a.) lists:
1344  //TList *fIntFlowAllCorrelationsVsM; // list to hold all profiles with correlations vs M
1345  // 9b.) flags:
1347  Bool_t fCalculateMixedHarmonics; // calculate or not mixed harmonics
1348  Bool_t fCalculateMixedHarmonicsVsM; // calculate or not mixed harmonics vs multiplicity
1349  // 9c.) profiles:
1350  TProfile *f2pCorrelations;
1351  TProfile *f3pCorrelations;
1352  TProfile *f4pCorrelations;
1353  TProfile *f5pCorrelations;
1354  TProfile *f6pCorrelations;
1355  TProfile *f7pCorrelations;
1356  TProfile *f8pCorrelations;
1357  // 9d.) results:
1365  // 9e.) statistical error propagation:
1369  // 10.) Control histograms:
1370  // 10a.) list:
1371  TList *fControlHistogramsList; // list to hold all control histograms
1372  // 10b.) flags:
1373  TProfile *fControlHistogramsFlags; // profile to hold all flags for control histograms
1374  Bool_t fStoreControlHistograms; // store or not control histograms
1375  // 10c.) histograms:
1382  // 11.) Bootstrap:
1383  // 11a) lists:
1387  // 11b) flags:
1388  TProfile *fBootstrapFlags;
1389  Bool_t fUseBootstrap; // use bootstrap to estimate statistical spread
1390  Bool_t fUseBootstrapVsM; // use bootstrap to estimate statistical spread for results vs M
1391  Int_t fnSubsamples; // number of subsamples (SS), by default 10
1392  TRandom3 *fRandom;
1393  // 11c) profiles:
1395  TProfile2D *fBootstrapCorrelationsVsM[4];
1396  // 11d) histograms:
1399 
1400  // 12.) CRC
1401 
1404  TProfile *fCRCFlags;
1405  Bool_t fCalculateCRC; // calculate CRC
1431 
1433  const static Int_t fCRCnCR = 16;
1434  const static Int_t fCRCnNUA = 14;
1435  const static Int_t fCRCnEtaGap = 7;
1436  const static Int_t fCRCnCorr = 4;
1437  const static Int_t fCRCnEtaBins = 32;
1438  const static Int_t fCRCMaxnCen = 10;
1441  const static Int_t fCRCnHar = 3;
1442  const static Int_t fCRCMaxnRun = 211;
1443 
1446 
1455 
1463 
1464  // Q vectors
1465  const static Int_t fCRCQVecnCR = 64;
1469  TArrayI fRunList; // Run list
1487 
1488  // temp
1489  TProfile *fTPCQHist[fCRCnHar][2];
1490  TProfile *fZDCQHist[8];
1491  TProfile3D *fZDCVtxHist[4];
1492  TProfile3D *fZDCVtxCenHist[10][4];
1493  TF1 *fZDCFitSec[4];
1500 
1501  TProfile *fCRCVZQVecA[fCRCMaxnRun][2];
1502  TProfile *fCRCVZQVecC[fCRCMaxnRun][2];
1503  const static Int_t fCRCQVecnCov = 12;
1505 
1506  TProfile *fCRCZDCQVecA[fCRCMaxnRun][2];
1507  TProfile *fCRCZDCQVecC[fCRCMaxnRun][2];
1510  TProfile3D *fCRCZDCQVecVtxPos[fCRCMaxnRun][4];
1512  // TProfile2D *fCRCZDCResCenEn; //!
1513  // TH3D *fCRCZDCEP[6]; //! EPs
1514  // TProfile2D *fCRCZDCQ2[8]; //! Q2
1519 
1520  // TProfile *fCRCVZvsZDCCov[fCRCMaxnRun][16]; //! ZDC vs VZ Q Vectors correlations
1521 
1522  // CRCVZERO
1524  const static Int_t fCRCVZnCR = 13;
1525  const static Int_t fCRCVZnEtaBin = 5;
1536 
1537  // CRCZDC
1539  const static Int_t fCRCZDCnCR = 13;
1540  const static Int_t fCRCZDCnEtaBin = 5;
1555 
1556  // CRC Pt differential
1558 
1560  const static Int_t fCRCPtnPtBinMax = 48;
1569 
1570  TNtuple *fCRCPtTPCTNt;
1571  TNtuple *fCRCPtVZTNt;
1572  TNtuple *fCRCPtZDCTNt;
1573  THnSparse *fCRCPtEbEQVec;
1574 
1575  // CME
1576  const static Int_t fCMETPCnCR = 20;
1577  const static Int_t fCMEnEtaBin = 2;
1578  const static Int_t fCMETPCnDist = 4;
1579  const static Int_t fCMEZDCnCR = 20;
1580  const static Int_t fCMEZDCnDist = 4;
1581  const static Int_t fCMETPCnSC = 8;
1594  const static Int_t fCMETPCnHist = 19;
1595  const static Int_t fZDCESEnCl = 5;
1600  TProfile *fCMETPCSCPro[fCMETPCnSC][2];
1602  const static Int_t fCMETPCnHist2D = 3;
1604 
1605  // CRC2
1606  const static Int_t fkNCorCRC2 = 6;
1608  Int_t fCRC2nEtaBins; // CRC2 n eta bins
1620 
1621  // Flow all
1622  const static Int_t fFlowNHarm = 3;
1623  const static Int_t fFlowNHarmMax = 12; // WARNING: MIN 8
1624  const static Int_t fQVecPower = 5;
1636 
1637  // Flow SP ZDC
1639  const static Int_t fFlowNPro = 14;
1640  const static Int_t fFlowNNUA = 4;
1648  TProfile *fFlowSPZDCv1Pro[4];
1649  TProfile *fFlowSPZDCv1etaPro[4];
1651 
1652  // Flow QC
1654  const static Int_t fFlowQCNPro = 4;
1655  const static Int_t fFlowQCNNUA = 4;
1661 
1670 
1677 
1683 
1684  // flow QC high order
1686  const static Int_t fFlowNHarmHighOrd = 2;
1687  const static Int_t fFlowQCHONHist = 4;
1688  const static Int_t fFlowQCHOCenBin = 100;
1692 
1693  const static Int_t fSCv2vsZNPtBins = 3;
1694  const static Int_t fSCv2vsZNHarm = 2;
1701 
1702  // Flow SP VZ
1707 
1708  // EbE Flow
1717  const static Int_t fEBEFlowNResPro=18;
1719  TF1* FourierExp;
1722 
1723  // Various:
1732  TH1D* fEtaWeightsHist[10][21][2];
1733  TH1D* fNvsCenCut[2][2];
1751  Double_t fVtxPos[3]; // primary vertex position (x,y,z)
1752  TF1 *fPolMin[2];
1753  TF1 *fPolMax[2];
1754  TF1 *fPolAv[2];
1755  TF1 *fPolDer[2];
1756  TF1 *fPolInt[2];
1757  TF1 *fPolDist[2];
1758  TF1 *fPolSlope[2];
1760  Double_t fZNCen; // total energy from ZNC-C
1761  Double_t fZNAen; // total energy from ZNC-A
1762  Double_t fEnNucl; // energy per nucleon (GeV)
1765 
1766  const static Int_t fZDCESEnPol=4;
1769 
1774 
1776 
1777 };
1778 
1779 //================================================================================================================
1780 
1781 #endif
1782 
1783 
1784 
1785 
1786 
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
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
TH1F * GetZNSpectra(Int_t const eg, Int_t const h) const
TProfile * GetDistributionsFlags() const
TH2F * GetZDCESESpecWeightsHist(Int_t h) const
TProfile * GetCRC2NUAPro(Int_t const r, Int_t const h, Int_t const c, Int_t const e) const
TProfile * Get2pCorrelations() const
void SetCRCVZRbRList(TList *const CRCL)
void SetCRCVZCFunHist(TH1D *const TH, Int_t const eg, Int_t const h)
virtual Int_t GetCRCBin(Int_t c, Int_t y, Int_t c2, Int_t y2)
void SetCRCQnReCorrHist(TProfile *const TH, Int_t const r, Int_t const h)
virtual Bool_t PassQAZDCCuts()
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()
TH1D * fFlowSPZDCCorHist[fCRCMaxnCen][fFlowNHarm][fFlowNPro]
NUA profile, [CRCBin][eg].
TProfile * GetFlowSCv2vsZNv1PtPro(Int_t const c, Int_t const pt, Int_t const eg) const
void Set5pCorrelations(TProfile *const p5pCorr)
TProfile * GetDiffFlowFlags() 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 * GetCRCVZCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
TProfile * f4pCorrelations
profile to hold all 3-particle correlations
TProfile * Get4pCorrelations() const
void SetIntFlowSumOfProductOfEventWeights(TH1D *const intFlowSumOfProductOfEventWeights)
TH1D * fIntFlowCorrelationsHist
average correction terms for non-uniform acceptance (with wrong errors!) [0=sin terms,1=cos terms][correction term index] vs multiplicity
TProfile * GetDiffFlowCorrelationsPro(Int_t i, Int_t j, Int_t k) const
void SetDiffFlowDetectorBias(TH1D *const dfdb, Int_t const i, Int_t const j, Int_t const k)
TProfile * fFlowQCMetricCorPro[fFlowNHarm][3]
TH1D * fDiffFlowSumOfProductOfEventWeights[2][2][8][8]
[0=RP,1=POI][0=pt,1=eta][0=linear 1,1=quadratic][0=<2'>,1=<4'>,2=<6'>,3=<8'>]
TH1D * fZDCESEMinHist[2]
Run-by-run fit ZDCQvecHist.
virtual void CheckPointersUsedInMake()
TProfile * fIntFlowCorrelationsPro
profile to hold average multiplicities and number of events for events with nRP>=0, nRP>=1, ... , and nRP>=8
Bool_t GetUseQvectorTerms() const
AliFlowCommonHistResults * GetCommonHistsResults4th() const
TH1D * fIntFlowCorrelationsEBE
fSM[p][k] = (sum_{i=1}^{M} w_{i}^{k})^{p+1}
void SetUseQvectorTerms(Bool_t const uqvt)
Bool_t fPrintFinalResults[4]
analysis label (all histograms and output file will have this label)
const Color_t cc[]
Definition: DrawKs.C:1
TProfile * fDiffFlowCorrectionTermsForNUAPro[2][2][2][10]
[0=RP,1=POI][0=pt,1=eta] [0=<2>,1=<2'>,2=<4>,3=<4'>,4=<6>,5=<6'>,6=<8>,7=<8'>] x
TH2D * fBootstrapCumulantsVsM[4]
x-axis => QC{2}, QC{4}, QC{6}, QC{8}; y-axis => subsample #
TH1D * fFlowQCIntCorHist[fFlowNHarm][3]
static const Int_t fCRCMaxnRun
TH2F * GetZNvsMul() const
Bool_t GetFillProfilesVsMUsingWeights() const
virtual void BookEverythingForDistributions()
Bool_t GetUsePtWeights() const
TH1D * GetDiffFlowCovariances(Int_t i, Int_t j, Int_t k) const
TList * fDiffFlowResults
list to hold all profiles relevant for differential flow
TProfile * GetBootstrapFlags() const
void SetNvsCenCut(TH1D *const n, Int_t c, Int_t h)
virtual void CrossCheckDiffFlowCorrelations(TString type, TString ptOrEta)
TList * fDiffFlowCorrectionsHistList[2][2]
list to hold histograms with sum of products of event weights [0=RP,1=POI][0=pt,1=eta] ...
TProfile * GetCRCZDCQVecAHist(Int_t const r, Int_t const c) const
void SetFlowSPZDCv1Pro(TProfile *const TP, Int_t const r)
Bool_t GetUsePhiEtaCuts() const
Bool_t GetInvertZDC() const
TH1D * GetIntFlowQcumulants() const
virtual void WriteHistograms(TString outputFileName)
TProfile * fFlowSPVZNUAPro[fCRCMaxnCen][fFlowNHarm][5][4]
correlation profile, [CRCBin][eg]
TProfile * fIntFlowProductOfCorrelationsPro
when particle weights are used some extra correlations appear
TH1D * fCRC2QIm[3][fCRCnHar]
real part [0=pos,1=neg][0=back,1=forw][m]
TH2F * fhZNResvsMul[fCRCMaxnCen][2]
rad vs mul
static const Int_t fCRCnEtaGap
TH2D * GetMixedHarmonicProductOfEventWeights() const
void SetIntFlowSumOfProductOfEventWeightsNUA(TH1D *const ifsopoewNUA)
double Double_t
Definition: External.C:58
TProfile * fControlHistogramsFlags
virtual void FillCommonHistResultsDiffFlow(TString type)
virtual void ResetEventByEventQuantities()
TProfile * GetMixedHarmonicsFlags() const
Definition: External.C:260
TH2F * fhZNResvsCen[fCRCMaxnCen][2]
res vs mul
Bool_t GetCalculateFlowQC() const
void SetIntFlowCorrectionTermsForNUAPro(TProfile *const ifctfnp, Int_t const sc)
void SetFlowQCIntCorHist(TH1D *const TP, Int_t const eg, Int_t const k)
void SetUseTrackWeights(Bool_t const uTrackW)
TH1D * fIntFlowSumOfProductOfEventWeights
sum of linear and quadratic event weights for <2>, <4>, <6> and <8>: [0=linear 1,1=quadratic] ...
TH1D * fIntFlowQcumulantsVsM[4]
final results for integrated Q-cumulants QC{2}, QC{4}, QC{6} and QC{8}
virtual void CalculateCRCPtCorr()
void SetDiffFlowFlags(TProfile *const diffFlowFlags)
TProfile2D * fReRPQ2dEBE[3][4][9]
[0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
TList * fDiffFlowCovariancesHistList[2][2]
list to hold histograms with correction term for NUA for differential flow [0=RP,1=POI][0=pt,1=eta]
TH1D * fEtaDiffQIm[fFlowNHarmMax]
real part [0=pos,1=neg][0=back,1=forw][eta]
void SetFlowSCv2vsZNv1PtHist(TH1D *const TP, Int_t const c, Int_t const pt, Int_t const eg)
static const Int_t fFlowNNUA
TProfile * GetCRCZDCQVecCHist(Int_t const r, Int_t const c) const
virtual void FinalizeFlowSPVZ()
static const Int_t fCRCQVecnCR
NUA terms final histo.
TH1D * GetDistributions(Int_t i) const
TH1D * fCMEMult[4][fCRCnHar]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
void SetCMEZDCList(TList *const TL)
virtual void GetPointersForMixedHarmonicsHistograms()
void SetCalculateAllCorrelationsVsM(Bool_t const cacvm)
TH1D * GetDiffFlowCorrectionTermsForNUAHist(Int_t i, Int_t j, Int_t k, Int_t l) const
void SetFlowQCNewCenHistEG(TH1D *const TP, Int_t const eg)
TProfile * f5pCorrelations
profile to hold all 4-particle correlations
virtual void StoreIntFlowFlags()
TH1D * GetFlowSPZDCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const
void SetDataSet(DataSet set)
Definition: External.C:236
TH1D * f4pCumulants
histogram to hold all 3-particle cumulants
TProfile * fFlowQCNewCenProEG[fFlowNHarm]
void SetEvaluateNestedLoops(TProfile *const enl)
void SetVtxHist(TH2F *const TH, Int_t const c)
void SetCRCCumHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
virtual void GetPointersForCRCZDC()
void SetZNCenvsMul(TH2F *const n, Int_t const eg, Int_t const h)
void SetCRCVZCorrProdTempHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
TH2F * GetZNvsTCen(Int_t const h) const
TH2D * fEBEFlowRChiSqHist[2]
mult. binned azim. dis.
TH1D * GetDiffFlowSumOfProductOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const
TList * fDiffFlowDetectorBiasHistList[2][2]
list to hold histograms with all cumulants for differential flow [0=RP,1=POI][0=pt,1=eta]
TH1D * fCMEZDCDistHist[fCMEnEtaBin][fCRCMaxnCen][fCMEZDCnDist]
correlation function histo, [CRCBin][eg]
Bool_t fStoreDistributions
profile to hold all flags for distributions of correlations
void SetCRCZDCList(TList *const CRCL)
TH1D * GetCRCVZCFunHist(Int_t const eg, Int_t const h) const
Bool_t GetPropagateErrorAlsoFromNIT() const
TProfile * GetFlowSPVZCorPro(Int_t const c, Int_t const eg, Int_t const h) const
void SetUseBootstrap(Bool_t const ub)
void SetCRCSumWeigHist(TH1D *const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
CorrelationWeights GetCorrWeightZDC() const
TProfile * GetOtherDiffCorrelators(Int_t i, Int_t j, Int_t k, Int_t l) const
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
Double_t GetMinValueOfQvectorTerms(Int_t qvti) const
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
void SetCRC2NUAHist(TH1D *const TP, Int_t const h, Int_t const c, Int_t const e)
void SetFlowQCCorHist(TH1D *const TH, Int_t const c, Int_t const eg, Int_t const h)
TH2D * fCRCZDCCovHist[2][fCRCZDCnEtaBin][fCRCMaxnCen]
correlation function histo, [CRCBin][eg]
void SetRecenterZDC(Bool_t const cCRC)
TProfile * GetCRCCorrPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
TH1D * fCRC2CorHist[fCRCMaxnCen][fkNCorCRC2][2]
NUA terms profile, [CRCBin][eg].
Bool_t GetEvaluateDiffFlowNestedLoops() const
void SetCRCPtTPCTNt(TNtuple *const TH)
TNtuple * GetCRCPtTPCTNt() const
virtual void EvaluateMixedHarmonicsWithNestedLoops(AliFlowEventSimple *const anEvent)
Definition: External.C:244
void SetBookOnlyBasicCCH(Bool_t const bobcch)
ClassDef(AliFlowAnalysisCRC, 25)
TProfile * GetCRCZDCCorrProd2p2pHist(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
TH1D * GetCRCCorrHist(Int_t const c, Int_t const eg, Int_t const h) const
TH2F * GetZNCvsZNA(Int_t const h) const
TProfile * fOtherDiffCorrelators[2][2][2][1]
list to hold profiles with other differential correlators
void SetCalculateFlowVZ(Bool_t const cCRC)
TProfile * GetControlHistogramsFlags() const
void SetCrossCheckInPtBinNo(Int_t const crossCheckInPtBinNo)
virtual void CalculateDiffFlowCovariances(TString type, TString ptOrEta)
AliFlowCommonHist * GetCommonHists2nd() const
void SetCMETPCSCPro(TProfile *const TP, Int_t const c, Int_t const h)
void Set3pCumulants(TH1D *const p3pC)
TH1F * GetPhiWeights() const
void SetDiffFlowCorrelationsPro(TProfile *const diffFlowCorrelationsPro, Int_t const i, Int_t const j, Int_t const k)
void SetCRCQVecListRun(TList *const CRCL, Int_t r)
void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA)
THnSparse * fCRCPtEbEQVec
TNtuple test.
virtual void FillControlHistograms(AliFlowEventSimple *anEvent)
void SetZNSpectra(TH1F *const n, Int_t const eg, Int_t const h)
void SetUsePhiEtaWeights(Bool_t const uPhiEtaW)
virtual void StoreFlagsForDistributions()
Double_t fNumberOfRPsEBE
[0=sin terms,1=cos terms], NUA = non-uniform acceptance
TH1D * fPtWeightsHist[10]
Centrality weights.
static const Int_t fZDCESEnPol
ZDC-ESE mult weights.
void SetFlowQCIntCorProEG(TProfile *const TP, Int_t const eg)
void SetPrintFinalResults(Bool_t const printOrNot, Int_t const i)
TH1D * f2pCumulants
profile to hold all 8-particle correlations
TH1D * fDiffFlowSumOfEventWeights[2][2][2][4]
[0=RP,1=POI][0=pt,1=eta][0=v'{2},1=v'{4},2=v'{6},3=v'{8}]
TH1D * fPtDiffMulEG[2][fQVecPower][fFlowNHarmMax]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
Int_t GetnBinsMult() const
void SetCRCQVecWeightsList(TList *const wlist)
virtual void InitializeArraysForDiffFlow()
void SetPhiWeights(TH1F *const histPhiWeights)
virtual void CalculateDiffFlowCumulants(TString type, TString ptOrEta)
void SetZDCESEList(TList *const kList)
void SetFlowSPZDCv1etaPro(TProfile *const TP, Int_t const r)
void SetOtherDiffCorrelators(TProfile *const odc, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
void SetUseZDCESEMulWeights(Bool_t const uPhiEtaW)
AliFlowCommonHistResults * GetCommonHistsResults8th() const
TProfile * fCMETPCSCPro[fCMETPCnSC][2]
<<2'>>, [CRCBin][eg]
TH2D * GetCorrelationNoRPsVsNoPOIs() const
void SetIntFlowDirectCorrelations(TProfile *const ifdc)
TProfile * GetCRCQnImHist(Int_t const r, Int_t const h) const
Bool_t fBookOnlyBasicCCH
base list to hold all output object
Bool_t GetPrintFinalResults(Int_t i) const
TH2D * GetBootstrapCumulantsVsM(Int_t qvti) const
TH1D * fFlowQCIntCorHOHist[fFlowNHarmHighOrd][fFlowQCHONHist]
TProfile2D * fMixedHarmonicProductOfCorrelations
sum of products of event weights for mixed harmonics
virtual void BookEverythingForCRCPt()
TList * fCRCList
index => QC{2}, QC{4}, QC{6}, QC{8}; x-axis => multiplicity; y-axis => subsample # ...
TProfile * fFlowQCNewCenPro[fFlowNHarm][3]
TH2F * GetZDCESEMultWeightsHist(Int_t h) const
void SetUseZDC(Bool_t const cCRC)
TNtuple * GetCRCPtVZTNt() const
void SetUseParticleWeights(TProfile *const uPW)
Int_t GetCRCPtnCen() const
void SetCRC2CovHist(TH1D *const TP, Int_t const r, Int_t const h, Int_t const c)
Bool_t GetUseBootstrap() const
void SetInvertZDC(Bool_t const cCRC)
virtual void CalculateDiffFlowCorrelations(TString type, TString ptOrEta)
virtual void CalculateReferenceFlow()
AliFlowAnalysisCRC(const char *name="AliFlowAnalysisCRC", Int_t nCen=7, Double_t CenWidth=10.)
TProfile * fCRCZDCQVecCov[fCRCMaxnRun][fCRCQVecnCov]
TH1D * fIntFlowCovariancesNUA
sum of products of event weights for correlations <2>, <4>, <6> and <8> vs M
void SetFlowQCHOList(TList *const TL)
TH1D * fEtaDiffQRe[fFlowNHarmMax]
imaginary part [0=pos,1=neg][0=back,1=forw][p][k]
TH2D * GetFlowQCMetric2DHistEG(Int_t const eg, Int_t const bng) const
void SetMPolSelec(MagnetPol set)
TH1D * fFlowQCIntCorHistEG[fFlowNHarm]
TH2D * GetCorrelationNoRPsVsRefMult() const
TList * fCRCQVecWeightsList
Q Vectors list per run.
TList * fCRCVZRunsList[fCRCMaxnRun]
virtual void InitializeArraysForVarious()
TProfile * fFlowQCIntCorNUAPro[fFlowNHarm][6]
void SetMinMulZN(Int_t weights)
void SetCRC2List(TList *const CRCL)
virtual void BookEverythingForIntegratedFlow()
TProfile * GetFlowQCIntCorNUAPro(Int_t const eg, Int_t const h) const
TH1D * GetIntFlowRebinnedInM() const
TH1D * fCRCZDCMult[4][fCRCnHar]
imaginary part [0=pos,1=neg][0=back,1=forw][m]
TProfile * GetIntFlowCorrelationsPro() const
TProfile * fZDCQHist[8]
Run-by-run TPCQvecHist.
TProfile * GetUseParticleWeights() const
virtual void GetPointersForControlHistograms()
void SetDiffFlowSumOfProductOfEventWeights(TH1D *const dfsopoew, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
Bool_t GetUsePhiWeights() const
TH1D * fIntFlowSumOfProductOfEventWeightsVsM[6]
sum of linear and quadratic event weights for <2>, <4>, <6> and <8> versum multiplicity ...
TH1D * GetCRCVZCorrProdTempHist(Int_t const c, Int_t const eg, Int_t const h) const
void SetDiffFlow(TH1D *const diffFlow, Int_t const i, Int_t const j, Int_t const k)
Int_t fnBinsForCorrelations
[0=distribution of <2>,1=distribution of <4>,2=distribution of <6>,3=distribution of <8>] ...
TProfile * GetFlowSPZDCv1Pro(Int_t const r) const
TProfile * fIntFlowCorrelationsAllVsMPro[64]
average all correlations for integrated flow (with wrong errors!)
void SetCMETPCSCHist(TH1D *const TH, Int_t const c, Int_t const h)
void SetCRCVZCorrProd2p2pHist(TProfile *const TH, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
TProfile * GetFlowQCNewCenPro(Int_t const eg, Int_t const h) const
AliFlowCommonHist * fCommonHists6th
common control histograms (taking into account only the events with 4 and more particles) ...
void SetUsePhiWeights(Bool_t const uPhiW)
void SetCMETPCCorPro(TProfile *const TP, Int_t const c, Int_t const h)
TH2F * fhCenvsSpec[fZDCESEnCl+1]
cen vs mul
CorrelationWeights fCorrWeightTPC
TH1D * fCRCNUATermsHist[fCRCnNUA][fCRCnEtaGap][fCRCMaxnCen]
correlation function histo, [CRCBin][eg]
TH1D * fFlowQCFinalPtDifHist[fCRCMaxnCen][fFlowNHarm][fFlowQCNPro]
static const Int_t fFlowQCHONHist
TH2D * Get2DDiffFlowCumulants(Int_t i, Int_t j) const
virtual void InitializeArraysForBootstrap()
TProfile * fIntFlowDirectCorrectionTermsForNUA[2]
when particle weights are used some extra correlations appear
TH1D * fIntFlowCorrectionTermsForNUAHist[2]
final results for all average correlations (with correct errors!)
virtual void BookEverythingForCME()
TProfile * Get7pCorrelations() const
TH1D * fIntFlowRebinnedInM
final results for integrated flow estimates v_n{2,QC}, v_n{4,QC}, v_n{6,QC} and v_n{8,QC} versus multiplicity
void SetQAZDCCuts(Bool_t const cCRC)
void SetFlowQCMetricCorHist(TH1D *const TP, Int_t const eg, Int_t const k)
TProfile * GetCRC2CovPro(Int_t const r, Int_t const h, Int_t const c) const
void SetCRCQnReHist(TProfile *const TH, Int_t const r, Int_t const h)
void SetOtherDirectDiffCorrelators(TProfile *const oddc, Int_t const i, Int_t const j, Int_t const k, Int_t const l)
void SetDiffFlowCumulants(TH1D *const diffFlowCumulants, Int_t const i, Int_t const j, Int_t const k)
void SetIntFlowCovariancesNUA(TH1D *const intFlowCovariancesNUA)
void SetCMEZDCNUAPro(TProfile *const TP, Int_t const eg, Int_t const h)
virtual void CalculateQcumulantsCorrectedForNUAIntFlow()
TProfile * fOtherDirectDiffCorrelators[2][2][2][1]
[0=RP,1=POI][0=pt,1=eta][0=sin terms,1=cos terms][correction term index]
virtual void EvaluateDiffFlowCorrelationsWithNestedLoops(AliFlowEventSimple *const anEvent, TString type, TString ptOrEta)
TProfile * fCMETPCCorPro[fZDCESEnCl][fCMETPCnHist]
void SetPtDiffNBins(Int_t nbins)
TList * GetPhiEtaCutsList() const
virtual void CalculateVZvsZDC()
void SetZNvsCen(TH2F *const n, Int_t const h)
void SetIntFlowSquaredCorrelationsPro(TProfile *const ifscp)
static const Int_t fCMETPCnDist
AliFlowCommonHist * GetCommonHists8th() const
void SetCRCPtList(TList *const CRCL)
TProfile * fDiffFlowDirectCorrelations[2][2][4]
TH1D * fNvsCenCut[2][2]
Eta weights.
TH1D * GetFlowQCFinalPtDifHist(Int_t const c, Int_t const eg, Int_t const h) const
TProfile * GetCRCVZNUAPro(Int_t const r, Int_t const c, Int_t const eg, Int_t const h) const
Bool_t fCalculateCRC
profile to hold all flags for CRC
virtual void InitializeArraysForCRCVZ()
TProfile * GetCRCVZQVecAHist(Int_t const r, Int_t const c) const
virtual void InitializeArraysForDistributions()
Double_t fMaxValueOfCorrelation[4]
TProfile * Get5pCorrelations() const
void SetnBinsForCorrelations(Int_t const nb)
AliFlowCommonHistResults * fCommonHistsResults6th
final results for 4th order int. and diff. flow for events with 4 and more particles ...
void SetCMEZDCCorHist(TH1D *const TH, Int_t const eg, Int_t const h)
TH1D * GetDiffFlowSumOfEventWeights(Int_t i, Int_t j, Int_t k, Int_t l) const
virtual void CalculateFlowSPVZ()
virtual void CrossCheckOtherDiffCorrelators(TString type, TString ptOrEta)
void SetUseVZERO(Bool_t const cCRC)
void SetCRC2CovPro(TProfile *const TP, Int_t const r, Int_t const h, Int_t const c)
CorrelationWeights fCorrWeightVZ
Double_t * fCRCPtBins
ZDC mult cuts.
void SetDivSigma(Bool_t const cCRC)
void SetCRCNUATermsPro(TProfile *const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
virtual void CalculateFlowSPZDC()
TProfile * fCRCQnRe[fCRCMaxnRun][fCRCnHar]
ZDC ESE.
TH1D * fIntFlowCorrelationsAllHist
average correlations <<2>>, <<4>>, <<6>> and <<8>> versus multiplicity (error is correct here!) ...
Double_t fMaxValueOfCorrelationProduct[1]
TH1D * fCRCCorrProdTempHist[fCRCnCorr][fCRCnEtaGap][fCRCMaxnCen]
NUA terms profile.
virtual void CalculateDiffFlowCorrectionsForNUASinTerms(TString type, TString ptOrEta)
void SetVariousList(TList *const Various)
void SetCRCZDCQVecAHist(TProfile *const TH, Int_t const r, Int_t const c)
Double_t fEvPlZDCCflat
Vtx positions re-centered Qvec in cen bins.
void SetZDCESEMultWeightsHist(TH2F *const n, Int_t h)
TCanvas * c
Definition: TestFitELoss.C:172
void SetFlowSPZDCIntNUA(TProfile *const TP, Int_t const eg)
void SetCRCZDCCorrPro(TProfile *const TP, Int_t const r, Int_t const c, Int_t const eg, Int_t const h)
TProfile * fCRCQnReCorr[fCRCMaxnRun][fCRCnHar]
Q Vectors Im.
static const Int_t fSCv2vsZNHarm
virtual void FinalizeFlowQCHighOrders()
TH1D * f7pCumulants
histogram to hold all 6-particle cumulants
void SetCorrWeightTPC(CorrelationWeights weights)
Int_t GetMinMulZN() const
void SetIntFlowQcumulants(TH1D *const intFlowQcumulants)
TList * fFlowSPZDCList
imaginary part [0=pos,1=neg][0=back,1=forw][p][k]
void SetCalculateCRCVZ(Bool_t const cCRC)
virtual void GetPointersForFlowQC()
static const Int_t fCRCMaxnCen
TProfile * GetCRCZDCQVecACorrHist(Int_t const r, Int_t const c) const
Bool_t GetApplyCorrectionForNUAVsM() const
TProfile * fCRCZDCCorrPro[fCRCMaxnRun][2][fCRCZDCnEtaBin][fCRCMaxnCen]
list of runs
TH1D * fIntFlowCovariancesVsM[6]
sum of products of event weights for correlations <2>, <4>, <6> and <8>
virtual void InitializeArraysForFlowEbE()
Bool_t GetUse2DHistograms() const
virtual void CheckPointersUsedInFinish()
void SetDiffFlowDirectCorrelations(TProfile *const diffFlowDirectCorrelations, Int_t const i, Int_t const j, Int_t const k)
TProfile * GetFlowSPZDCCorPro(Int_t const c, Int_t const eg, Int_t const h) const
void SetCommonHists4th(AliFlowCommonHist *const ch4th)
virtual void CalculateCovariancesNUAIntFlow()
virtual Int_t GetCRCCenBin(Double_t Centrality)
void SetForgetAboutCovariances(Bool_t const fac)
void SetIntFlowCovariances(TH1D *const intFlowCovariances)
TH1D * fCRC2NUAHist[fCRCMaxnCen][fkNCorCRC2][4]
<<2'>>, [centrality][pos,neg,all][corr,spectra]
TProfile * fFlowSPVZCorPro[fCRCMaxnCen][fFlowNHarm][5]
SPVZ List.
virtual void FinalizeVarious()
TList * fMixedHarmonicsResults
list to hold all profiles for mixed harmonics
TList * fDiffFlowProductOfCorrelationsProList[2][2]
list to hold profiles with all correlations for differential flow [0=RP,1=POI][0=pt,1=eta]