Skip to content

Added a track summary to the returned track in MooTrackBuilder::refine()

In order to remove unnecessary copying of track summaries, in particular those for const-tracks, it is necessary to avoid the creation of track summaries within track scoring tools. For this to work we need to ensure that the tracks already have a track summary and that the scoring tool uses those already owned by the track. This is one of the particular cases in which the track summary copy constructor is called for a const-track through the MuonTrackScoringTool. We would like to ensure that the track has already a summary so that, in the future, the MuonTrackScoringTool does not need to make a copy and just use the summary from the track.

Merge request reports

Loading