From f442938654a22779c6ce263982be7b66d5637496 Mon Sep 17 00:00:00 2001 From: rbertens Date: Mon, 27 Jan 2014 16:21:40 +0100 Subject: [PATCH] fix for compilation warning (initialization order) and critical coverity fix (dead code) --- PWG/FLOW/Tasks/AliFlowEventCuts.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PWG/FLOW/Tasks/AliFlowEventCuts.cxx b/PWG/FLOW/Tasks/AliFlowEventCuts.cxx index b1eb4f0178c..362cbafe673 100644 --- a/PWG/FLOW/Tasks/AliFlowEventCuts.cxx +++ b/PWG/FLOW/Tasks/AliFlowEventCuts.cxx @@ -190,11 +190,11 @@ AliFlowEventCuts::AliFlowEventCuts(const AliFlowEventCuts& that): fCentralityPercentileMin(that.fCentralityPercentileMin), fCutZDCtiming(that.fCutZDCtiming), fTrigAna(), - fhistTPCvsGlobalMult(that.fhistTPCvsGlobalMult), - fData2011(that.fData2011), fCutImpactParameter(that.fCutImpactParameter), fImpactParameterMin(that.fImpactParameterMin), - fImpactParameterMax(that.fImpactParameterMax) + fImpactParameterMax(that.fImpactParameterMax), + fhistTPCvsGlobalMult(that.fhistTPCvsGlobalMult), + fData2011(that.fData2011) { if (that.fQA) DefineHistograms(); //copy constructor @@ -325,7 +325,7 @@ Bool_t AliFlowEventCuts::PassesCuts(AliVEvent *event, AliMCEvent *mcevent) if (multTPC > ( 62.87+1.78*multGlobal)) {pass=kFALSE;} if (multTPC < (-36.73+1.48*multGlobal)) {pass=kFALSE;} } - if(aodevent && ~fData2011){ + if(aodevent && !fData2011){ if (multTPC > ( 32.1+1.59*multGlobal)) {pass=kFALSE;} if (multTPC < (-40.3+1.22*multGlobal)) {pass=kFALSE;} } -- 2.43.0