3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from EventInfoMgt.TagInfoMgrConfig
import TagInfoMgrCfg
5 from AthenaCommon.Logging
import logging
14 msg=logging.getLogger(
"AODFixCfg")
15 aodFixesDone=flags.Input.AODFixesDone
17 if isinstance(aodFixesDone,str):
18 aodFixesDone=aodFixesDone.split()
20 for doneFix
in aodFixesDone:
21 _doneAODFixes.add(doneFix)
34 for aodFix
in listOfFixes:
35 aodFixName=aodFix.__name__
36 if aodFixName
in _doneAODFixes:
37 msg.warning(
"AODFix %s already applied, not applying again",aodFixName)
43 msg.info(
"Applying AOD fix %s",aodFixName)
45 _doneAODFixes.add(aodFixName)
48 msg.info(
"AODFix \"%s\" not applicable for this input AOD",aodFixName)
54 msg.info(
"No AOD fix scheduled")