12 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
14 from PyJobTransforms.CommonRunArgsToFlags
import commonRunArgsToFlags
18 if hasattr(runArgs,
'inputBSFile'):
19 log.warning(
"Enters the inputBSFile if")
20 flags.Input.Files = runArgs.inputBSFile
23 if hasattr(runArgs,
'outputDAOD_TLAFile'):
24 flags.Output.AODFileName = runArgs.outputDAOD_TLAFile
25 log.info(
"---------- Configured DAOD_TLA output")
26 flags.Trigger.AODEDMSet=
'PhysicsTLA'
27 from AthenaConfiguration.DetectorConfigFlags
import allDetectors
28 disabled_detectors = allDetectors
29 elif hasattr(runArgs,
'outputDAOD_TLAFTAGPEBFile'):
30 flags.Output.AODFileName = runArgs.outputDAOD_TLAFTAGPEBFile
31 log.info(
"---------- Configured DAOD_TLAFTAGPEB output")
32 flags.Trigger.AODEDMSet=
'FTagPEBTLA'
33 disabled_detectors = [
35 'LAr',
'Tile',
'MBTS',
36 'CSC',
'MDT',
'RPC',
'TGC',
38 'Lucid',
'ZDC',
'ALFA',
'AFP',
40 elif hasattr(runArgs,
'outputDAOD_TLAEGAMPEBFile'):
41 flags.Output.AODFileName = runArgs.outputDAOD_TLAEGAMPEBFile
42 log.info(
"---------- Configured DAOD_TLAEGAMPEB output")
43 flags.Trigger.AODEDMSet=
'EGamPEBTLA'
44 disabled_detectors = [
46 'CSC',
'MDT',
'RPC',
'TGC',
48 'Lucid',
'ZDC',
'ALFA',
'AFP',
51 from RecJobTransforms.RecoConfigFlags
import recoRunArgsToFlags
55 flags.Trigger.doLVL1=
False
56 flags.Trigger.DecisionMakerValidation.Execute =
False
57 flags.Trigger.doNavigationSlimming =
False
58 flags.Trigger.L1.doCalo=
False
59 flags.Trigger.L1.doCTP=
False
61 from AthenaConfiguration.Enums
import ProductionStep
62 flags.Common.ProductionStep=ProductionStep.Reconstruction
64 from AthenaConfiguration.AutoConfigFlags
import GetFileMD
65 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
66 if GetFileMD(flags.Input.Files)[
"GeoAtlas"]
is None:
67 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN3
70 from AthenaConfiguration.DetectorConfigFlags
import disableDetectors
72 flags, toggle_geometry=
True,
73 detectors=disabled_detectors,
77 from RecJobTransforms.RecoConfigFlags
import printRecoFlags
81 from PerfMonComps.PerfMonConfigHelpers
import setPerfmonFlagsFromRunArgs