Skip to content
Snippets Groups Projects
Commit a4ba9e71 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'TriggerTestFinal' into 'main'

TriggerTest: last tests migrated to CA

See merge request atlas/athena!68847
parents 3735d9c3 33a350ae
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# art-description: Compares results of a slice chains when running in full menu and when running alone with other slices disabled by doXYZFlag=False
# art-type: grid
......@@ -29,14 +29,14 @@ def generate_exec_steps(slice_name = None):
# athena
ex = ExecStep.ExecStep(name)
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.input = 'ttbar'
ex.threads = 1
ex.max_events = 100
pre_exec = ''
ex.flags = ['Trigger.triggerMenuSetup="Dev_pp_run3_v1"']
if slice_name:
pre_exec += 'doEmptyMenu=True;do{:s}Slice=True;'.format(slice_name)
ex.args = '-c "setMenu=\'Dev_pp_run3_v1\';doWriteBS=False;doWriteRDOTrigger=False;{:s}"'.format(pre_exec)
ex.flags += [f'Trigger.enabledSignatures=[\\\"{slice_name}\\\"]']
ex.args = '--CA'
# rename histogram file
hist_file_name = 'expert-monitoring_{:s}.root'.format(name)
mv = ExecStep.ExecStep('RenameHist' + name)
......
#!/usr/bin/env python
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# art-description: Compares results of a slice chains when running in full menu and when running alone with other slices disabled by prescaling
# art-type: build
......@@ -98,10 +98,11 @@ def generate_config_steps():
ex = ExecStep.ExecStep('ConfigOnly')
ex.config_only = True
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.input = 'ttbar'
ex.threads = 1
ex.args = '-c "setMenu=\'Dev_pp_run3_v1\';doWriteBS=False;doWriteRDOTrigger=False;"'
ex.flags = ['Trigger.triggerMenuSetup="Dev_pp_run3_v1"']
ex.args = '--CA'
ex.perfmon = False
# Make a copy of the default prescales file
copy_ps = CopyStep('CopyPrescales.Default', 'HLTPrescalesSet*.json', 'prescales_Default.json')
......
#!/usr/bin/env python
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# art-description: Compares results of a slice chains when running in full menu and when running alone with other slices disabled by prescaling
# art-type: grid
......@@ -109,11 +109,12 @@ def generate_config_steps():
ex = ExecStep.ExecStep('ConfigOnly')
ex.config_only = True
ex.type = 'athena'
ex.job_options = 'TriggerJobOpts/runHLT_standalone.py'
ex.job_options = 'TriggerJobOpts/runHLT.py'
ex.input = 'ttbar'
ex.threads = 1
ex.max_events = 100
ex.args = '-c "setMenu=\'Dev_pp_run3_v1\';doWriteBS=False;doWriteRDOTrigger=False;"'
ex.flags = ['Trigger.triggerMenuSetup="Dev_pp_run3_v1"']
ex.args = '--CA'
ex.perfmon = False
# Make a copy of the default prescales file
copy_ps = CopyStep('CopyPrescales.Default', 'HLTPrescalesSet*.json', 'prescales_Default.json')
......
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