]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing bug caught by Marcelo
authorcnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2011 10:55:25 +0000 (10:55 +0000)
committercnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Feb 2011 10:55:25 +0000 (10:55 +0000)
PWG4/totEt/AliAnalysisEtMonteCarlo.cxx

index 70e0069506b3610061380a1967daa0c06022d15e..3f42d29220e4593bfd8e589922f5b495665040fa 100644 (file)
@@ -174,7 +174,7 @@ Int_t AliAnalysisEtMonteCarlo::AnalyseEvent(AliVEvent* ev)
                  fTotEtAcc += et;
                 }
             }
-            else if (TMath::Abs( pdg->Charge() - fCuts->GetMonteCarloNeutralParticle())<1e-3 )
+            else if (TMath::Abs( pdg->Charge() - fCuts->GetMonteCarloNeutralParticle())>1e-3 )
             {
               fChargedMultiplicity++;
               fTotChargedEt += et;