ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonConfig
python
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"
5
def
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
MuonSegmentNameFixConfig.MuonSegmentNameFixCfg
MuonSegmentNameFixCfg(flags)
Definition
MuonSegmentNameFixConfig.py:5
Generated on
for ATLAS Offline Software by
1.17.0