Skip to content
Snippets Groups Projects
Commit e230bcfb authored by Jiri Masik's avatar Jiri Masik Committed by Graeme Stewart
Browse files

fix ATLASRECTS-3519 (beamspot related offset in seed position) by Dave Casper...

fix ATLASRECTS-3519 (beamspot related offset in seed position) by Dave Casper (TrkVertexSeedFinderTools-02-00-09-00)
parent a606f398
No related merge requests found
......@@ -196,7 +196,7 @@ namespace Trk
if (constraint != 0 && constraint->covariancePosition()(0,0)!=0) ipas = m_IPEstimator->estimate(i, constraint);
if (ipas != 0 && ipas->sigmad0 > 0)
{
z0AndWeight.first = ipas->IPz0 + i->associatedSurface().center().z();
z0AndWeight.first = ipas->IPz0 + constraint->position().z();
double chi2IP = std::pow(ipas->IPd0/ipas->sigmad0, 2);
msg(MSG::VERBOSE) << "d0 from tool: " << ipas->IPd0 << " error: " << ipas->sigmad0 << " chi2: " << chi2IP << endreq;
if ( !m_disableAllWeights )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment