Skip to content

Fix CommonMuonStation assert in debug build running with upgrade geometry

Roel Aaij requested to merge fix-muon-assert into master

An assert in CommonMuonStation was failing in the debug builds when running with the upgrade geometry. This was a result of the wrong boundaries being used when sorting hits. In the upgrade M1 is removed and M2 is now the station with index 0. The M1 boundaries were being used.

This MR fixes this by ensuring the right set of boundaries is used. The boundaries themselves were hard-coded and are now a property.

Merge request reports