]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/totEt/AliAnalysisEtRecEffCorrection.cxx
Fixing profoundly stupid bug
[u/mrichter/AliRoot.git] / PWGLF / totEt / AliAnalysisEtRecEffCorrection.cxx
index 5f512f4df919bab044104d0b350ff67ac9a81f53..fe1737dfe0c946640af07a60fcfb526160249909 100644 (file)
@@ -64,7 +64,7 @@ Double_t AliAnalysisEtRecEffCorrection::CorrectedEnergy(Double_t energy, int mul
 {
   if(fRecoEff){
     Double_t eff = ReconstructionEfficiency(energy, mult);
-    if(eff>1e-5) return 1.0/eff;
+    if(eff>1e-5) return 1.0/eff*energy;
   }
   return 1.0;