ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecExample
RecExRecoTest
python
Muons.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
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
6
flags = initConfigFlags()
7
flags.addFlag(
'RecExRecoTest.doMC'
,
False
, help=
'custom option for RexExRecoText to run data or MC test'
)
8
flags.fillFromArgs()
9
10
# Use latest Data or MC
11
from
AthenaConfiguration.TestDefaults
import
defaultTestFiles, defaultConditionsTags, defaultGeometryTags
12
if
flags.RecExRecoTest.doMC:
13
# Currently not working on latest ESD, see ATLASRECTS-8111
14
#flags.Input.Files = defaultTestFiles.ESD_RUN3_MC
15
#flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_MC
16
17
flags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/RecExRecoTest/ESD.16747874._000011_100events.pool.root"
]
18
from
AthenaConfiguration.DetectorConfigFlags
import
setupDetectorFlags
19
setupDetectorFlags(flags)
20
21
else
:
22
flags.Input.Files = defaultTestFiles.RAW_RUN3_DATA24
23
flags.IOVDb.GlobalTag = defaultConditionsTags.RUN3_DATA
24
flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
25
flags.lock()
26
27
from
MuonConfig.MuonReconstructionConfig
import
MuonReconstructionConfigTest
28
MuonReconstructionConfigTest(flags)
Generated on
for ATLAS Offline Software by
1.17.0