Skip to content
Snippets Groups Projects
Commit 45f5e785 authored by Marija Vranjes Milosavljevic's avatar Marija Vranjes Milosavljevic
Browse files

Merge branch 'WarningMasking' into '24.0'

TriggerJobOpts: move HepMcParticleLink silencing to runHLTCfg

See merge request atlas/athena!70173
parents 1660cb48 c6d0cf8d
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,10 @@ def runHLTCfg(flags):
if log.getEffectiveLevel() <= logging.DEBUG:
cfg.printConfig(withDetails=False, summariseProps=True, printDefaults=True)
# Disable spurious warnings from HepMcParticleLink (ATR-21838)
if flags.Input.isMC:
cfg.addService(CompFactory.MessageSvc(setError=["HepMcParticleLink"]))
from AthenaConfiguration.AccumulatorCache import AccumulatorDecorator
AccumulatorDecorator.printStats()
......@@ -168,10 +172,6 @@ def athenaCfg(flags):
# Lock flags
lock_and_restrict(flags)
if flags.Input.isMC:
# Disable spurious warnings from HepMcParticleLink (ATR-21838)
cfg.addService(CompFactory.MessageSvc(setError=["HepMcParticleLink"]))
if flags.Input.Format is Format.BS:
from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg
cfg.merge(ByteStreamReadCfg(flags))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment