From: prsnko Date: Fri, 24 Aug 2012 14:19:45 +0000 (+0000) Subject: Add writing primary info to calocells X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=3b6a68128bcfe5e4c65baea3dd5853b8efd7ce40 Add writing primary info to calocells --- diff --git a/PHOS/AliPHOSReconstructor.cxx b/PHOS/AliPHOSReconstructor.cxx index 3d928ee3344..990c5513a3e 100644 --- a/PHOS/AliPHOSReconstructor.cxx +++ b/PHOS/AliPHOSReconstructor.cxx @@ -273,7 +273,8 @@ void AliPHOSReconstructor::FillESD(TTree* digitsTree, TTree* clustersTree, if(dig->GetId() <= knEMC && Calibrate(dig->GetEnergy(),dig->GetId()) > GetRecoParam()->GetEMCMinE() ){ phsCells.SetCell(idignew,dig->GetId(), Calibrate(dig->GetEnergy(),dig->GetId()), - CalibrateT(dig->GetTime(),dig->GetId())); + CalibrateT(dig->GetTime(),dig->GetId()), + dig->GetPrimary(1)) ; idignew++; } }