From 5a9ecaebd3559bcc902afb4255c97f8542f2831d Mon Sep 17 00:00:00 2001 From: kharlov Date: Tue, 6 Mar 2007 06:59:10 +0000 Subject: [PATCH] DP:Possibility to use actual vertex position added --- PHOS/AliPHOSRecParticle.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PHOS/AliPHOSRecParticle.cxx b/PHOS/AliPHOSRecParticle.cxx index aed0e84ba37..0bf30b95ff0 100644 --- a/PHOS/AliPHOSRecParticle.cxx +++ b/PHOS/AliPHOSRecParticle.cxx @@ -116,7 +116,9 @@ const TParticle * AliPHOSRecParticle::GetPrimary() const Int_t module ; const AliPHOSGeometry * geom = gime->PHOSGeometry() ; Double_t x,z ; - geom->ImpactOnEmc(static_cast(Theta()),static_cast(Phi()), module,z,x); +//DP to be fixed: Why do we use this method here??? M.B. use RecPoint??? + Double_t vtx[3]={0.,0.,0.} ; + geom->ImpactOnEmc(vtx,static_cast(Theta()),static_cast(Phi()), module,z,x); Int_t amp = 0 ; Int_t iPrim=-1 ; if(module != 0){ -- 2.43.0