From 8cdd1f1fcf79c65401086e3fc2dc4db80437feb8 Mon Sep 17 00:00:00 2001 From: gconesab Date: Thu, 17 Feb 2011 17:58:02 +0000 Subject: [PATCH] Inverse the MC non linearity correction --- EMCAL/AliEMCALRecoUtils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMCAL/AliEMCALRecoUtils.cxx b/EMCAL/AliEMCALRecoUtils.cxx index be1851bca34..34aaa26c837 100644 --- a/EMCAL/AliEMCALRecoUtils.cxx +++ b/EMCAL/AliEMCALRecoUtils.cxx @@ -335,7 +335,7 @@ Float_t AliEMCALRecoUtils::CorrectClusterEnergyLinearity(AliVCluster* cluster){ //Double_t fNonLinearityParams[2] = -0.03632; //Double_t fNonLinearityParams[3] = 0.1798; //Double_t fNonLinearityParams[4] = -0.522; - energy /= (fNonLinearityParams[0]*exp(-fNonLinearityParams[1]/energy))+ + energy *= (fNonLinearityParams[0]*exp(-fNonLinearityParams[1]/energy))+ ((fNonLinearityParams[2]/(fNonLinearityParams[3]*2.*TMath::Pi())* exp(-(energy-fNonLinearityParams[4])*(energy-fNonLinearityParams[4])/(2.*fNonLinearityParams[3]*fNonLinearityParams[3])))); break; -- 2.43.0