ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecExample
RecExRecoTest
python
EGamma.py
Go to the documentation of this file.
1
#!/usr/bin/env athena.py
2
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
4
if
__name__==
"__main__"
:
5
# Setup flags with custom input-choice
6
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
7
flags = initConfigFlags()
8
flags.addFlag(
'RecExRecoTest.doMC'
,
False
, help=
'custom option for RexExRecoText to run data or MC test'
)
9
flags.fillFromArgs()
10
11
# Use latest Data or MC
12
from
AthenaConfiguration.TestDefaults
import
defaultTestFiles, defaultConditionsTags, defaultGeometryTags
13
if
flags.RecExRecoTest.doMC:
14
flags.Input.Files = defaultTestFiles.RDO_RUN3
15
flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
16
else
:
17
flags.Input.Files = defaultTestFiles.RAW_RUN3_DATA24
18
flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_DATA
19
flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
20
21
from
egammaConfig.ConfigurationHelpers
import
egammaOnlyFromRaw
22
egammaOnlyFromRaw(flags)
23
flags.lock()
24
25
from
egammaConfig.egammaSteeringConfig
import
egammaSteeringConfigTest
26
egammaSteeringConfigTest(flags)
Generated on
for ATLAS Offline Software by
1.17.0