diff --git a/DetectorDescription/RegionSelector/python/RegSelConfig.py b/DetectorDescription/RegionSelector/python/RegSelConfig.py index 40ffe7ebf526e58cdea2a7e80f8a1fcee43a4c2d..a64dd0bdd909bba7e49aa4df400c4d7540193731 100644 --- a/DetectorDescription/RegionSelector/python/RegSelConfig.py +++ b/DetectorDescription/RegionSelector/python/RegSelConfig.py @@ -2,14 +2,8 @@ # Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration # - -def RegSelConfig( flags ): - from AthenaCommon.Logging import logging - log = logging.getLogger ('RegSelConfig') - log.warning("Please use regSeCfg - that name matches ComponentAccumulator generator functions naming convention ") - return regSelCfg( flags ) - def regSelCfg( flags ): + """ Configures Region Selector Svc according to the detector flags """ from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator from RegionSelector.RegionSelectorConf import RegSelSvc from AthenaCommon.SystemOfUnits import mm diff --git a/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py b/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py index 172ac995f67509cdf89175081c0c6a4388a55ea7..18778580b17bc098e5f0eaaf5857afef99682ea2 100644 --- a/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py +++ b/Trigger/TrigAlgorithms/TrigT2CaloCommon/python/TrigCaloDataAccessConfig.py @@ -44,8 +44,8 @@ def trigCaloDataAccessSvcCfg( flags ): acc.merge( TileGMCfg( flags ) ) acc.getService('GeoModelSvc').DetectorTools['TileDetectorTool'].GeometryConfig = 'RECO' - from RegionSelector.RegSelConfig import RegSelConfig - acc.mergeAll( RegSelConfig( flags ) ) + from RegionSelector.RegSelConfig import regSelCfg + acc.mergeAll( regSelCfg( flags ) ) acc.merge( createLArRoI_Map( flags ) )