Skip to content
Snippets Groups Projects
Commit 640db9d4 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'cherry-pick-e482f8cf7a-master' into 'master'

Sweeping !16706 from 21.3 to master.
Increase tolerance on NSW pad geometry to reduce floating point differences

See merge request atlas/athena!16797
parents d46b9f40 8168720d
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ bool MuonPadDesign::withinSensitiveArea(const Amg::Vector2D& pos) const
double bot_H2 = minSensitiveY();
double max_x = maxAbsSensitiveX(pos.y());
bool y_in_range = (pos.y() <= top_H1 and pos.y() >= bot_H2);
bool x_in_range = fabs(pos.x()) <= max_x;
bool x_in_range = fabs(pos.x()) <= max_x+0.01;
return y_in_range and x_in_range;
}
//----------------------------------------------------------
......
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