From 3b6a68128bcfe5e4c65baea3dd5853b8efd7ce40 Mon Sep 17 00:00:00 2001 From: prsnko Date: Fri, 24 Aug 2012 14:19:45 +0000 Subject: [PATCH] Add writing primary info to calocells --- PHOS/AliPHOSReconstructor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; } } -- 2.43.0