]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing coverity bug
authorcnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Aug 2011 16:32:51 +0000 (16:32 +0000)
committercnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Aug 2011 16:32:51 +0000 (16:32 +0000)
PWG4/totEt/AliAnalysisEtMonteCarlo.cxx

index 85456166c43e4b5a22507911cff32e97e64abca6..5d695304b26c6d5027b56e5a22e0ae1421842b8b 100644 (file)
@@ -248,7 +248,7 @@ Int_t AliAnalysisEtMonteCarlo::AnalyseEvent(AliVEvent* ev)
         Int_t iPartLastMom = part->GetMother(1);
 
         TParticlePDG *pdg = part->GetPDG(0);
-        TParticlePDG *pdgMom = 0;
+        //TParticlePDG *pdgMom = 0;
         TParticlePDG *pdgMomLast = 0;
 
         if (!pdg)
@@ -260,7 +260,7 @@ Int_t AliAnalysisEtMonteCarlo::AnalyseEvent(AliVEvent* ev)
         if (iPartMom>0)
         {
             partMom = stack->Particle(iPartMom);
-            pdgMom = partMom->GetPDG(0);
+            //pdgMom = partMom->GetPDG(0);
         }
 
         if (iPartLastMom>0)