ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentNameFixConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3# This allows us to convert Run 2 ESD Trk::SegmentCollection "MuonSegments" to
4# Run 3 "TrackMuonSegments"
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