Float_t AliHLTPHOSRecoParamHandler::GetCorrectedEnergy ( Float_t e )
{
- // See header file for class documentation
-#ifndef HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091
- return AliPHOSReconstructor::CorrectNonlinearity(e) ;
-#else // !HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091
- AliPHOSPIDv1 phospidv1;
- return phospidv1.GetCalibratedEnergy(e);
-#endif // HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091
+ // See header file for class documentation
+ return e;
}
void AliHLTPHOSRecoParamHandler::FillParameters()
{
//See header file for class documentation
- if(fRecoParamPtr)
+ AliPHOSRecoParam *tmp = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr);
+ if(tmp)
{
- fLogWeight = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCLogWeight();
- fRecPointMemberThreshold = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCMinE();
- fRecPointThreshold = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCClusteringThreshold();
+ fLogWeight = tmp->GetEMCLogWeight();
+ fRecPointMemberThreshold = tmp->GetEMCMinE();
+ fRecPointThreshold = tmp->GetEMCClusteringThreshold();
}
}