]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSEmcRecPoint.cxx
Radius for core energy is set via AliPHOSRecoParam.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEmcRecPoint.cxx
index bb22d263c5535f31b00d84358297d3b00622254b..543d60da34d34a35e8f6e6852fcf9d86a2ee203e 100644 (file)
@@ -56,6 +56,7 @@
 #include "AliPHOSGeometry.h"
 #include "AliPHOSDigit.h"
 #include "AliPHOSEmcRecPoint.h"
+#include "AliPHOSReconstructor.h"
  
 ClassImp(AliPHOSEmcRecPoint)
 
@@ -428,7 +429,7 @@ void AliPHOSEmcRecPoint::EvalCoreEnergy(Float_t logWeight, TClonesArray * digits
   // should be less than 2%
 //DP: non-perpendicular incidence??????????????
 
-  Float_t coreRadius = 3 ;
+  Float_t coreRadius = AliPHOSReconstructor::GetRecoParamEmc()->GetEcoreRadius() ;
 
   Float_t x = 0 ;
   Float_t z = 0 ;