5def MuonSegmentNameFixCfg(flags):
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 cfg = ComponentAccumulator()
8 if 'Trk::SegmentCollection#MuonSegments' in flags.Input.TypedCollections:
9 from SGComps.AddressRemappingConfig import InputRenameCfg
10 cfg.merge(InputRenameCfg("Trk::SegmentCollection", "MuonSegments", "TrackMuonSegments"))
11 return cfg