262 if self.config_file is None:
263 if test.package_name == 'TrigP1Test':
264 self.config_file = 'checklogTrigP1Test.conf'
265 elif test.package_name == 'TrigValTools':
266 self.config_file = 'checklogTrigValTools.conf'
267 else:
268 self.config_file = 'checklogTriggerTest.conf'
269 if self.log_file is None:
270 if len(test.exec_steps) == 1:
271 self.log_file = test.exec_steps[0].name+'.log'
272 else:
273 self.log_file = 'athena.log'
274 if self.check_errors:
275 self.args += ' --errors'
276 if self.check_warnings:
277 self.args += ' --warnings'
278
279 errors_only = self.check_errors and not self.check_warnings
280 if self.output_stream is None:
281 self.output_stream = Step.OutputStream.FILE_AND_STDOUT if errors_only else Step.OutputStream.FILE_ONLY
282 if self.auto_report_result is None:
283 self.auto_report_result = errors_only
284 if self.required is None:
285 self.required = errors_only
286
287 self.args += ' --config {} {}'.format(self.config_file, self.log_file)
288
289 super(CheckLogStep, self).
configure(test)
290
291
bool configure(asg::AnaToolHandle< ITrigGlobalEfficiencyCorrectionTool > &tool, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronEffToolsHandles, ToolHandleArray< IAsgElectronEfficiencyCorrectionTool > &electronSFToolsHandles, ToolHandleArray< CP::IMuonTriggerScaleFactors > &muonToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonEffToolsHandles, ToolHandleArray< IAsgPhotonEfficiencyCorrectionTool > &photonSFToolsHandles, const std::string &triggers, const std::map< std::string, std::string > &legsPerTool, unsigned long nToys, bool debug)