Skip to content

Delay TRT and pixel PID computation to track particle creation.

TRT and Pixel PID information is currently stored in the TrackSummary and then copied over to the track particles. Since the information is not accessed through the TrackSummary but only through track particles, the pixel and TRT PID information computation can be delayed to the track particle creation stage. At the moment the PID information is added to existing track summaries during the track collection merging which violates the "constness" of StoreGate content (it is not a decoration). Currently this does not pose problems because this information is currently not accessed via the TrackSummary, and the track particles are based on the merged collection (i.e. will see the track summaries after the update). Nevertheless in the strict sense this is not MT conform, and can be avoided by removing the TRT and pixel PID information from the TrackSummary, and delaying its computation to the track particle creation stage, which is what this MR does:

  • Optionally compute Pixel and TRT PID when creating track particles (rather than copying this information from the TrackSummary)
  • Remove Pixel and TRT PID from TrackSummary and its support from the TrackSummaryTool and InDetSummaryHelperTool
  • Copy Pixel and TRT PID information in some cases in which new track particles are created from input track particles (statistically combined muons in the MuonCreatorTool).
  • Remove the detailed InDetTrackSummary object, since all its contents was removed.

This addresses ATLASRECTS-2807

Edited by Goetz Gaycken

Merge request reports

Loading