Skip to content
Snippets Groups Projects
Commit 7e005164 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'master_ATR_23287_update' into 'master'

Addition and modification of Trigger ATR python executables (ATR-23287)

See merge request atlas/athena!42733
parents ffba537d ac6051b7
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# art-description: Trigger BS->RDO_TRIG athena test of the Dev_pp_run3_v1 menu with rerunL1 enabled
# art-type: build
# art-include: master/Athena
# Skipping art-output which has no effect for build tests.
# If you create a grid version, check art-output in existing grid tests.
from TrigValTools.TrigValSteering import Test, ExecStep, CheckSteps
ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.input = 'data'
ex.threads = 1
precommand = ''.join([
"setMenu='LS2_v1';", # LS2_v1 soon to be renamed to Dev_pp_run3_v1
"doL1Sim=True;",
"doWriteBS=False;",
"doWriteRDOTrigger=True;",
"forceEnableAllChains=True;",
"failIfNoProxy=True;"
])
ex.args = '-c "{:s}"'.format(precommand)
test = Test.Test()
test.art_type = 'build'
test.exec_steps = [ex]
test.check_steps = CheckSteps.default_check_steps(test)
test.check_steps.remove(test.get_step("ZeroCounts"))
checkFile = test.get_step("CheckFile")
checkFile.input_file = 'RDO_TRIG.pool.root'
chaindump = test.get_step("ChainDump")
chaindump.args = "--json --yaml --yamlL1"
refcomp = CheckSteps.ChainCompStep("CountRefComp")
refcomp.required = True # Final exit code depends on this step
CheckSteps.add_step_after_type(test.check_steps, CheckSteps.ChainDumpStep, refcomp)
import sys
sys.exit(test.run())
#!/usr/bin/env python
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# art-description: Trigger BS->RDO_TRIG athena test of the Dev_pp_run3_v1 menu with rerunL1 enabled with Phase1 L1 items
# art-type: build
# art-include: master/Athena
# Skipping art-output which has no effect for build tests.
# If you create a grid version, check art-output in existing grid tests.
from TrigValTools.TrigValSteering import Test, ExecStep, CheckSteps
ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.input = 'data'
ex.threads = 1
precommand = ''.join([
"setMenu='LS2_v1';", # LS2_v1 soon to be renamed to Dev_pp_run3_v1
"doL1Sim=True;",
"enableL1MuonPhase1=True;",
"enableL1CaloPhase1=True;",
"doWriteBS=False;",
"doWriteRDOTrigger=True;",
"forceEnableAllChains=True;",
"failIfNoProxy=True;",
])
ex.args = '-c "{:s}"'.format(precommand)
test = Test.Test()
test.art_type = 'build'
test.exec_steps = [ex]
test.check_steps = CheckSteps.default_check_steps(test)
test.check_steps.remove(test.get_step("ZeroCounts"))
checkFile = test.get_step("CheckFile")
checkFile.input_file = 'RDO_TRIG.pool.root'
chaindump = test.get_step("ChainDump")
chaindump.args = "--json --yaml --yamlL1"
refcomp = CheckSteps.ChainCompStep("CountRefComp")
refcomp.required = True # Final exit code depends on this step
CheckSteps.add_step_after_type(test.check_steps, CheckSteps.ChainDumpStep, refcomp)
import sys
sys.exit(test.run())
......@@ -12,7 +12,7 @@ from TrigValTools.TrigValSteering import Test, ExecStep, CheckSteps
ex = ExecStep.ExecStep()
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.input = 'ttbar_phase1'
ex.input = 'ttbar'
ex.threads = 1
precommand = ''.join([
"setMenu='LS2_v1';",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment