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 d42a0e3f6009508cd8b94a6c3aa3f4b8f16e1f05..c437fcdea59d6c9e9230ddc4d1257cbb6e483c80 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());
   }