Configure the AsgElectronRingerSelector with the quality cuts
and allow for setting its configurable properties through
cutIDConfDict and kwargs arguments.
Use cutIDConfDict argument to set the properties from the CutIDSelector.
It can also be set directly by setting the property CutIDSelector through
kwargs. Beware not to set them together, as setting CutIDSelector
through kwargs will overwrite cutIDConfDict configurations and, thus, it
will be the only configuration used for the job.
Definition at line 16 of file ConfiguredAsgElectronRingerSelector.py.
18 Configure the AsgElectronRingerSelector with the quality cuts
19 and allow for setting its configurable properties through
20 cutIDConfDict and kwargs arguments.
22 Use cutIDConfDict argument to set the properties from the CutIDSelector.
23 It can also be set directly by setting the property CutIDSelector through
24 kwargs. Beware not to set them together, as setting CutIDSelector
25 through kwargs will overwrite cutIDConfDict configurations and, thus, it
26 will be the only configuration used for the job.
29 RingerSelectorConfigurable = ElectronRingerMap[(quality, menu)]
31 if cutIDConfDict
is None:
34 ringerSelectorTool = RingerSelectorConfigurable(cutIDConfDict = cutIDConfDict,
36 return ringerSelectorTool
38 from AthenaCommon.Logging
import logging
40 mlog = logging.getLogger(
'ConfiguredAsgElectronRingerSelector.py' )
41 mlog.error(
"There is no such configuration available:\n %s", traceback.format_exc())