Execute RootComp comparing histograms against a reference
Definition at line 357 of file CheckSteps.py.
◆ __init__()
def python.TrigValSteering.CheckSteps.RootCompStep.__init__ |
( |
|
self, |
|
|
|
name = 'RootComp' |
|
) |
| |
◆ configure()
def python.TrigValSteering.CheckSteps.RootCompStep.configure |
( |
|
self, |
|
|
|
test |
|
) |
| |
◆ run()
def python.TrigValSteering.CheckSteps.RootCompStep.run |
( |
|
self, |
|
|
|
dry_run = False |
|
) |
| |
Definition at line 374 of file CheckSteps.py.
374 def run(self, dry_run=False):
375 if self.reference
is None:
376 if not os.path.isfile(self.input_file):
378 'Skipping %s because both reference and input are missing',
381 return self.result,
'# (internal) {} -> skipped'.
format(self.name)
383 self.log.
error(
'Missing reference for %s', self.name)
385 if self.auto_report_result:
387 return self.result,
'# (internal) {} -> failed'.
format(self.name)
388 retcode, cmd = super(RootCompStep, self).
run(dry_run)
◆ auto_report_result
python.TrigValSteering.CheckSteps.RootCompStep.auto_report_result |
◆ executable
python.TrigValSteering.CheckSteps.RootCompStep.executable |
◆ explicit_reference
python.TrigValSteering.CheckSteps.RefComparisonStep.explicit_reference |
|
inherited |
◆ input_file
python.TrigValSteering.CheckSteps.RootCompStep.input_file |
◆ ref_test_name
python.TrigValSteering.CheckSteps.RefComparisonStep.ref_test_name |
|
inherited |
◆ reference
python.TrigValSteering.CheckSteps.RefComparisonStep.reference |
|
inherited |
◆ result
python.TrigValSteering.CheckSteps.RootCompStep.result |
The documentation for this class was generated from the following file:
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)