Skip to content

Commit

Permalink
added sgnH to rhoMax (case of B=0, straight tracks), since the curvat…
Browse files Browse the repository at this point in the history
…ure is generally signed. (#777)

Co-authored-by: Bernadette Kolbinger <bernadette.kolbinger@cern.ch>
  • Loading branch information
bernies-bytes and Bernadette Kolbinger committed Apr 19, 2021
1 parent 5ea8df7 commit 0e4335a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/include/Acts/Vertexing/HelicalTrackLinearizer.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Acts::Result<Acts::LinearizedTrack> Acts::
double rho;
// Curvature is infinite w/o b field
if (Bz == 0. || std::abs(qOvP) < m_cfg.minQoP) {
rho = m_cfg.maxRho;
rho = sgnH * m_cfg.maxRho;
} else {
rho = sinTh * (1. / qOvP) / Bz;
}
Expand Down

0 comments on commit 0e4335a

Please sign in to comment.