Skip to content
Snippets Groups Projects
Commit 86e35698 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'muon-debug' into 'master'

Add protection for debug statement in MuonTrackExtrapolationTool

See merge request atlas/athena!40621
parents 2a8416df 701df887
No related branches found
No related tags found
No related merge requests found
......@@ -371,7 +371,6 @@ namespace Muon {
}
ATH_MSG_DEBUG(" perigee pars: " << m_printer->print(*perigee));
ATH_MSG_DEBUG(" second perigee pars: " << m_printer->print(*secondPerigee));
// flag whether the perigees were inserted
bool perigeeWasInserted = false;
......@@ -381,6 +380,7 @@ namespace Muon {
bool perigeePointsToIP = perigee->position().dot(perDir) < 0. ;
bool secondPerigeePointsToIP = false;
if (secondPerigee) {
ATH_MSG_DEBUG(" second perigee pars: " << m_printer->print(*secondPerigee));
secondPerigeePointsToIP = secondPerigee->position().dot(secondPerigee->momentum()) < 0.;
if (perigeePointsToIP == secondPerigeePointsToIP) {
ATH_MSG_DEBUG(" Track has two perigee's with the same orientation with respect to the IP ");
......
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