ATLAS Offline Software
PhysicsAnalysis
PhysicsValidation
GeneratorPhysVal
scripts
runGeneratorPhysVal.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
4
5
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
6
from
AthenaConfiguration.TestDefaults
import
defaultTestFiles
7
flags =
initConfigFlags
()
8
flags.Input.Files = defaultTestFiles.AOD_RUN3_MC
9
flags.PhysVal.OutputFileName =
"PhysVal.root"
10
flags.lock()
11
12
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
13
acc =
MainServicesCfg
(flags)
14
15
from
AthenaPoolCnvSvc.PoolReadConfig
import
PoolReadCfg
16
acc.merge(
PoolReadCfg
(flags))
17
18
from
GeneratorPhysVal.GeneratorPhysValConfig
import
GeneratorPhysValMonitoringToolCfg
19
from
PhysValMonitoring.PhysValMonitoringConfig
import
PhysValMonitoringCfg
20
acc.merge(
PhysValMonitoringCfg
(flags, tools=[acc.popToolsAndMerge(
GeneratorPhysValMonitoringToolCfg
(flags))]))
21
22
sc = acc.run()
23
import
sys
24
sys.exit(
not
sc.isSuccess())
GeneratorPhysValConfig.GeneratorPhysValMonitoringToolCfg
def GeneratorPhysValMonitoringToolCfg(flags, **kwargs)
Definition:
GeneratorPhysValConfig.py:9
PhysValMonitoringConfig.PhysValMonitoringCfg
def PhysValMonitoringCfg(flags, name="PhysValMonManager", tools=None, **kwargs)
Definition:
PhysValMonitoringConfig.py:81
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
Generated on Mon Dec 23 2024 21:17:39 for ATLAS Offline Software by
1.8.18