fix coverty report
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Sep 2010 13:50:46 +0000 (13:50 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 2 Sep 2010 13:50:46 +0000 (13:50 +0000)
PWG4/JetTasks/AliAnalysisTaskJetSpectrum2.cxx

index d42a0e3..c437fcd 100644 (file)
@@ -620,9 +620,7 @@ void AliAnalysisTaskJetSpectrum2::UserExec(Option_t */*option*/)
       Printf("%s:%d AODEvent not found in the Output",(char*)__FILE__,__LINE__);
       return;
     }
-    if(fDebug>0){
-      fESD = dynamic_cast<AliESDEvent*> (InputEvent());
-    }
+    fESD = dynamic_cast<AliESDEvent*> (InputEvent());
   }