ATLAS Offline Software
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
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonSegmentNameFixConfig.MuonSegmentNameFixCfg
def MuonSegmentNameFixCfg(flags)
Definition: MuonSegmentNameFixConfig.py:5
AddressRemappingConfig.InputRenameCfg
def InputRenameCfg(type, from_name, to_name)
Definition: AddressRemappingConfig.py:28