6 Definitions of additional validation steps in Trigger ART tests relevant only for TrigAnalysisTest.
7 The main common check steps are defined in the TrigValSteering.CheckSteps module.
10 from TrigValTools.TrigValSteering.CheckSteps
import CheckFileStep, InputDependentStep, LogMergeStep
17 def __init__(self, name='TrigDecChecker', in_file='AOD.pool.root'):
23 self.
args = f
' --filesInput {self.input_file}'
27 def __init__(self, name='TrigEDMChecker', in_file='AOD.pool.root'):
33 self.
args = f
' --filesInput {self.input_file}'
43 Execute checkFileTrigSize.py for POOL files.
46 super(CheckFileTrigSizeStep, self).
__init__(name)
47 self.
input_file =
'AOD.pool.root,ESD.pool.root,RDO_TRIG.pool.root,DAOD_PHYS.DAOD.pool.root'
67 test.exec_steps.extend(analysis_exec_steps)
71 logmerge = test.get_step_by_type(LogMergeStep)
73 test.log.warning(
'LogMerge step not found, cannot add TrigAnalysisSteps exec step log files for merging')
75 for step
in analysis_exec_steps:
76 logmerge.log_files.append(step.get_log_file_name())