Skip to content

Fixed a bug in GBL intersection calculation

Lennart Huth requested to merge lhuth/corryvreckan:gblHotFix into master

@mvicente reported that the second to last layer cannot be used as a DUT

(FATAL) [R:DUTAssociation:MIMOSA26_5] Fatal internal error
  Track Object GblTrackDirection after the last telescope plane not defined
  Cannot continue...

Digging into it I found a mistake in the intersection(z) calculation logic. Instead of picking the closest upstream plane to given z-Position, the nearest downstream plane was selected. This also results in the kink on the nearest downstream plane has been ignored in the calculation of the intersection point. With this fix, I expect a slightly better resolution on the DUT.

Merge request reports