ATLAS Offline Software
PhysicsVariablePlots_Configuration.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 
4 
5 from AthenaConfiguration.AllConfigFlags import initConfigFlags
6 flags = initConfigFlags()
7 flags.Scheduler.ShowDataDeps = True
8 flags.Scheduler.ShowDataFlow = True
9 flags.Scheduler.ShowControlFlow = True
10 
11 flags.lock()
12 flags.dump()
13 
14 
15 
16 from AthenaConfiguration.MainServicesConfig import MainServicesCfg
17 from AthenaPoolCnvSvc.PoolReadConfig import PoolReadCfg
18 acc = MainServicesCfg( flags )
19 acc.merge( PoolReadCfg( flags ) )
20 acc.getService("MessageSvc").Format = "% F%80W%S%7W%R%T %0W%M"
21 acc.getService("MessageSvc").defaultLimit = 2147483647
22 
23 from FlavourTaggingTests.FlavourTaggingConfiguration_HistoService import getHistoServiceCfg
24 acc.addService( getHistoServiceCfg( flags.Output.HISTFileName ) )
25 
26 from FlavourTaggingTests.FlavourTaggingConfiguration_PhysicsVariablePlots import getPhysicsVariablePlotsCfg
27 acc.merge( getPhysicsVariablePlotsCfg() )
28 
29 acc.printConfig(withDetails = True, summariseProps = True)
30 acc.store( open("FTAG_PhysicsVariablePlots.pkl","wb") )
31 sc = acc.run()
32 
33 import sys
34 sys.exit(not sc.isSuccess())
35 
36 
37 
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition: MainServicesConfig.py:260
FlavourTaggingConfiguration_HistoService.getHistoServiceCfg
def getHistoServiceCfg(outFileName)
Definition: FlavourTaggingConfiguration_HistoService.py:3
Trk::open
@ open
Definition: BinningType.h:40
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19
python.PoolReadConfig.PoolReadCfg
def PoolReadCfg(flags)
Definition: PoolReadConfig.py:69
FlavourTaggingConfiguration_PhysicsVariablePlots.getPhysicsVariablePlotsCfg
def getPhysicsVariablePlotsCfg()
Definition: FlavourTaggingConfiguration_PhysicsVariablePlots.py:3