Coverity fix from Chiara
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 08:23:27 +0000 (08:23 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Feb 2011 08:23:27 +0000 (08:23 +0000)
PWG1/ZDC/AliAnalysisTaskZDC.cxx

index 3a7d07b..cb8322b 100644 (file)
@@ -264,7 +264,7 @@ void AliAnalysisTaskZDC::UserExec(Option_t */*option*/)
       return;
     }
 
-    if(genHeader->InheritsFrom(AliGenHijingEventHeader::Class())){
+    /*if(genHeader->InheritsFrom(AliGenHijingEventHeader::Class())){
       Float_t bMC = ((AliGenHijingEventHeader*) genHeader)->ImpactParameter();
       Int_t specNeutronProj = ((AliGenHijingEventHeader*) genHeader)->ProjSpectatorsn();
       Int_t specProtonProj  = ((AliGenHijingEventHeader*) genHeader)->ProjSpectatorsp();
@@ -272,7 +272,7 @@ void AliAnalysisTaskZDC::UserExec(Option_t */*option*/)
       Int_t specProtonTarg  = ((AliGenHijingEventHeader*) genHeader)->TargSpectatorsp();
       Int_t npartTargMC = 208-(specNeutronTarg+specProtonTarg);
       Int_t npartProjMC = 208-(specNeutronProj+specProtonProj);
-    }  
+    }*/  
 
   }
   // ****************************************************