ATLAS Offline Software
trigEDMChecker.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 #
3 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4 #
5 # Script to run the TrigEDM(Aux)Checker algorithms.
6 #
7 from AthenaConfiguration.AllConfigFlags import initConfigFlags
8 from AthenaConfiguration.MainServicesConfig import MainServicesCfg
9 from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
10 from TrigValAlgs.TrigValAlgsConfig import TrigEDMAuxCheckerCfg, TrigEDMCheckerCfg
11 import sys
12 
13 # Setup flags
14 flags = initConfigFlags()
15 flags.fillFromArgs()
16 flags.lock()
17 
18 # Central services
19 cfg = MainServicesCfg(flags)
20 cfg.merge(PoolReadCfg(flags))
21 
22 # EDMCheckers
23 cfg.merge(TrigEDMCheckerCfg(flags, doDumpAll=False))
24 cfg.merge(TrigEDMAuxCheckerCfg(flags))
25 
26 # Final tweaks and run
27 cfg.getService("MessageSvc").enableSuppression = False
28 sc = cfg.run()
29 
30 sys.exit(sc.isFailure())
python.TrigValAlgsConfig.TrigEDMCheckerCfg
def TrigEDMCheckerCfg(flags, name="TrigEDMChecker", doDumpAll=True)
Definition: TrigValAlgsConfig.py:6
python.TrigValAlgsConfig.TrigEDMAuxCheckerCfg
def TrigEDMAuxCheckerCfg(flags, name="TrigEDMAuxChecker")
Definition: TrigValAlgsConfig.py:27
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition: MainServicesConfig.py:260
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19
python.PoolReadConfig.PoolReadCfg
def PoolReadCfg(flags)
Definition: PoolReadConfig.py:69