You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7479fef
Browse filesBrowse the repository at this point in the historyBrowse files
MatchCosmics: energy-loss sign along the muon's flight; optional energy-loss sign in the TPC refit
The propagator applies the energy-loss correction along the direction of the track parameters (loss forward, gain backward), and
refitWinners fits a cosmic from the bottom leg to the top one: after the inward refit of the bottom leg its parameters are inverted
and carried up through the top leg, i.e. they describe a particle moving upward. A cosmic muon flies downward, from the top leg to
the bottom leg, so only the inward refit of the bottom leg (backward along its parameters = backward along the flight) had the
physical sign; the propagation of the inverted bottom leg to the top leg, the outward refit of the top leg, the inward refit of the
top leg, its propagation to the bottom parameter and the propagation of the top seeds to the DCA had the opposite one. The sign is
now imposed along the flight in all of them, with the propagator's signCorr argument.
GPUO2InterfaceRefit / GPUTrackingRefit::RefitTrackAsTrackParCov (TrackParCov + cluster references) get the analogous optional last
argument eLossSign, passed to their propagations (0 = along the parameters as before, +1 gain, -1 loss; flipped on the optional
way to the reference X when that runs against the refit direction); the default keeps the behaviour for all other users.
MC truth (cosmic MC, 1073 muons crossing the inner region; true parameters at the bottom TPC inner radius propagated back through
the closest approach to the top one, compared to the true momentum there, q16 / q50 / q84 in MeV): true loss between the two
14.5 / 16.1 / 19.9 MeV (median for |z| at the closest approach 0-25 / 25-50 / 50-75 cm); predicted - true with the sign of the
upward fit -14.5 / -15.2 / -18.6 MeV (as without material: the gain inward and the loss outward cancel), with the sign along the
flight +1.2 / +2.1 / +1.0 MeV (spread q16-q84 about -2 ... +9 MeV). The matched cosmics hardly change because the two halves'
errors cancel in their average: cosmic MC 7003 -> 7006 correct pairs (0 wrong), chi2Match median unchanged; cosmics run 562658
358 cosmics before and after; refitted q/pt within +-0.05 %. The halves themselves (e.g. the momentum at the TPC entrance) change
by the full loss.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments