Skip to content
Snippets Groups Projects

complete migration from config to flags : AthConfigFlags

Merged Jiri Masik requested to merge jmasik/athena:idtrig-mig-restructure-for-configflags into 24.0
10 files
+ 57
122
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -2,7 +2,6 @@
__author__ = "Mark Sutton, Matous Vozak"
__doc__ = "ConfigSettings"
__all__ = [ "getInDetTrigConfig" ]
import math
from TrigInDetConfig.ConfigSettingsBase import _ConfigSettingsBase
@@ -10,21 +9,6 @@ from TrigEDMConfig.TriggerEDM import recordable
from AthenaCommon.SystemOfUnits import GeV
# Function that returns specific signature setting/configuration
# Rename to InDetTrigSignatureConfig ?
def getInDetTrigConfig( name ):
if name in ConfigSettingsInstances:
config = ConfigSettingsInstances[name]
# keep a record of the configuration that is input
# will use this to uniquely identify the algorithms
config._input_name = name
return config
else :
# don't just return None, and do nothing as this
# will just hide the error until people try to use
# the bad slice configuration
raise Exception( "getInDetTrigConfig() called with non existent slice: "+name )
class ConfigSettings_electron( _ConfigSettingsBase ):
def __init__( self ):
_ConfigSettingsBase.__init__(self)
Loading