- fixing coverity
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Mar 2011 16:51:30 +0000 (16:51 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Mar 2011 16:51:30 +0000 (16:51 +0000)
HLT/EMCAL/AliHLTEMCALRecoParamHandler.cxx

index d3debd0..3e520be 100644 (file)
@@ -55,9 +55,9 @@ void AliHLTEMCALRecoParamHandler::FillParameters()
       AliEMCALRecParam *tmp = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr);
       if(tmp)
        {
-         fLogWeight = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetW0(); 
-         fRecPointMemberThreshold = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetMinECut();
-         fRecPointThreshold = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetClusteringThreshold();
+         fLogWeight = tmp->GetW0(); 
+         fRecPointMemberThreshold = tmp->GetMinECut();
+         fRecPointThreshold = tmp->GetClusteringThreshold();
        }
    }
 }