EMC cluster energy correction on/off
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructor.cxx
index e601566..887fbaa 100644 (file)
@@ -116,6 +116,8 @@ void AliPHOSReconstructor::FillESD(TTree* digitsTree, TTree* clustersTree,
   else 
     fTSM->Clusters2TrackSegments("") ;
   
+  fPID->SetEnergyCorrectionOn(GetRecoParam()->GetEMCEnergyCorrectionOn());
+  
   fPID->SetInput(clustersTree, fTSM->GetTrackSegments()) ; 
   fPID->SetESD(esd) ; 
   if ( Debug() )