Fix Z bias of TRD-matched tracks #12872
Merged
+24
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When the time bias of TPC timebins was introduced, it had to be explicitly accounted for in the TPC tracks refits constrained by TRD timestamps (the t0 was subtracted from the TRD time). When the TPC fitter started to account for this t0 bias provided via VDrift object, this explicit accounting had to be removed but it was not. As a result, the t0 bias was accounted for twice, leading to a few cm bias in Z for constrained TPC tracks. While we were using large (1cm) systematic errors on Z error of TPC tracks, this bias was overridden by the following refit in the TRD or in the ITS, once we adopted smaller Z-error the bias started to affect matching in the TOF.
The TPC refitter was called on the track at the outer ITS or inner TRD radius (for the outward and inward refits resp.). Since the refitter propagates w/o material corrections, effectively the tracks were not accounting for the material between the TPC and ITS/TRD (before the refit, so the effect was small anyway). Now the tracks are explicitly propagated before the refit to the TPC boundary using the standard propagator accounting for materials.
Comparison of Z residuals between TOF clusters and seeding tracks before and after the fix: