Update InDetGlobalTrackMonTool to use TrackParticle + general cleaning
With !54223 (merged) the computation of the expectInnermostPixelLayerHit
and expectNextToInnermostPixelLayerHit
Trk::TrackSummary
variables will be moved into the xAOD::TrackParticle
creation and won't be available in the original TrackSummary any more. This MR updates the InDetGlobalTrackMonTool to use the xAOD::TrackParticle
as base class to retrieve the summary fields, instead of the Trk::Track
. Subsequent MRs for the other monitoring tools will follow.
For master alone to avoid disturbance in data-taking monitoring.
FYI @perjohan
Edited by Thomas Strebler