From 050c0a545d41ba8cdddc77db2cf0ce3aecaaca32 Mon Sep 17 00:00:00 2001 From: snelling Date: Thu, 23 Sep 2010 07:02:06 +0000 Subject: [PATCH] By default correction for non-uniform acceptance is not applied. --- .../AliFlowTasks/AliAnalysisTaskQCumulants.cxx | 10 ++++++++-- .../AliFlowTasks/AliAnalysisTaskQCumulants.h | 18 ++++++++++++------ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.cxx b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.cxx index 293d5570f92..ac599a6c4ba 100644 --- a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.cxx +++ b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.cxx @@ -43,11 +43,13 @@ AliAnalysisTaskQCumulants::AliAnalysisTaskQCumulants(const char *name, Bool_t us fQC(NULL), fListHistos(NULL), fHarmonic(2), - fApplyCorrectionForNUA(kTRUE), + fApplyCorrectionForNUA(kFALSE), + fApplyCorrectionForNUAVsM(kFALSE), + fPropagateErrorAlsoFromNUATerms(kFALSE), fCalculate2DFlow(kFALSE), fStoreDistributions(kFALSE), fCalculateCumulantsVsM(kTRUE), - fMinimumBiasReferenceFlow(kFALSE), + fMinimumBiasReferenceFlow(kTRUE), fnBinsMult(10000), fMinMult(0.), fMaxMult(10000.), @@ -84,6 +86,8 @@ AliAnalysisTaskQCumulants::AliAnalysisTaskQCumulants(): fListHistos(NULL), fHarmonic(0), fApplyCorrectionForNUA(kFALSE), + fApplyCorrectionForNUAVsM(kFALSE), + fPropagateErrorAlsoFromNUATerms(kFALSE), fCalculate2DFlow(kFALSE), fStoreDistributions(kFALSE), fCalculateCumulantsVsM(kFALSE), @@ -115,6 +119,8 @@ void AliAnalysisTaskQCumulants::UserCreateOutputObjects() // Common: fQC->SetHarmonic(fHarmonic); fQC->SetApplyCorrectionForNUA(fApplyCorrectionForNUA); + fQC->SetApplyCorrectionForNUAVsM(fApplyCorrectionForNUAVsM); + fQC->SetPropagateErrorAlsoFromNUATerms(fPropagateErrorAlsoFromNUATerms); fQC->SetCalculate2DFlow(fCalculate2DFlow); fQC->SetStoreDistributions(fStoreDistributions); fQC->SetCalculateCumulantsVsM(fCalculateCumulantsVsM); diff --git a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.h b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.h index 3598e8704f9..c87935426fd 100644 --- a/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.h +++ b/PWG2/FLOW/AliFlowTasks/AliAnalysisTaskQCumulants.h @@ -42,6 +42,10 @@ class AliAnalysisTaskQCumulants : public AliAnalysisTaskSE{ Int_t GetHarmonic() const {return this->fHarmonic;}; void SetApplyCorrectionForNUA(Bool_t const applyCorrectionForNUA) {this->fApplyCorrectionForNUA = applyCorrectionForNUA;}; Bool_t GetApplyCorrectionForNUA() const {return this->fApplyCorrectionForNUA;}; + void SetApplyCorrectionForNUAVsM(Bool_t const applyCorrectionForNUAVsM) {this->fApplyCorrectionForNUAVsM = applyCorrectionForNUAVsM;}; + Bool_t GetApplyCorrectionForNUAVsM() const {return this->fApplyCorrectionForNUAVsM;}; + void SetPropagateErrorAlsoFromNUATerms(Bool_t const pefc) {this->fPropagateErrorAlsoFromNUATerms = pefc;}; + Bool_t GetPropagateErrorAlsoFromNUATerms() const {return this->fPropagateErrorAlsoFromNUATerms;}; void SetCalculate2DFlow(Bool_t const calculate2DFlow) {this->fCalculate2DFlow = calculate2DFlow;}; Bool_t GetCalculate2DFlow() const {return this->fCalculate2DFlow;}; void SetStoreDistributions(Bool_t const storeDistributions) {this->fStoreDistributions = storeDistributions;}; @@ -75,12 +79,14 @@ class AliAnalysisTaskQCumulants : public AliAnalysisTaskSE{ AliFlowAnalysisWithQCumulants *fQC; // Q-cumulant object TList *fListHistos; // collection of output // Common: - Int_t fHarmonic; // harmonic - Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance - Bool_t fCalculate2DFlow; // calculate differential flow in (pt,eta) (Remark: this is very expensive in terms of CPU time) - Bool_t fStoreDistributions; // store or not distributions of correlations - Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity - Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default) + Int_t fHarmonic; // harmonic + Bool_t fApplyCorrectionForNUA; // apply correction for non-uniform acceptance + Bool_t fApplyCorrectionForNUAVsM; // apply correction for non-uniform acceptance versus M + Bool_t fPropagateErrorAlsoFromNUATerms; // propagate error by taking into account also non-isotrpic terms + Bool_t fCalculate2DFlow; // calculate differential flow in (pt,eta) (Remark: this is very expensive in terms of CPU time) + Bool_t fStoreDistributions; // store or not distributions of correlations + Bool_t fCalculateCumulantsVsM; // calculate cumulants versus multiplicity + Bool_t fMinimumBiasReferenceFlow; // store as reference flow in AliFlowCommonHistResults the minimum bias result (kFALSE by default) // Multiparticle correlations vs multiplicity: Int_t fnBinsMult; // number of multiplicity bins for flow analysis versus multiplicity Double_t fMinMult; // minimal multiplicity for flow analysis versus multiplicity -- 2.43.5