Execute histSizes.py to count histograms in a ROOT file
Definition at line 457 of file CheckSteps.py.
◆ __init__()
def python.TrigValSteering.CheckSteps.HistCountStep.__init__ |
( |
|
self, |
|
|
|
name = 'HistCount' |
|
) |
| |
◆ configure()
def python.TrigValSteering.CheckSteps.HistCountStep.configure |
( |
|
self, |
|
|
|
test |
|
) |
| |
Definition at line 466 of file CheckSteps.py.
467 self.args +=
' '+self.input_file
468 super(HistCountStep, self).
configure(test)
◆ run()
def python.TrigValSteering.CheckSteps.InputDependentStep.run |
( |
|
self, |
|
|
|
dry_run = False |
|
) |
| |
|
inherited |
Reimplemented in python.TrigValSteering.CheckSteps.CheckFileStep.
Definition at line 103 of file CheckSteps.py.
103 def run(self, dry_run=False):
104 if self.input_file
is None:
105 self.log.
error(
'%s misconfiguration - no input file specified',
108 if self.auto_report_result:
110 return self.result,
'# (internal) {} -> failed'.
format(self.name)
112 if not dry_run
and not os.path.isfile(self.input_file):
113 self.log.
debug(
'Skipping %s because %s does not exist',
114 self.name, self.input_file)
116 return self.result,
'# (internal) {} -> skipped'.
format(self.name)
118 return super(InputDependentStep, self).
run(dry_run)
◆ args
python.TrigValSteering.CheckSteps.HistCountStep.args |
◆ executable
python.TrigValSteering.CheckSteps.HistCountStep.executable |
◆ input_file
python.TrigValSteering.CheckSteps.HistCountStep.input_file |
◆ result
python.TrigValSteering.CheckSteps.InputDependentStep.result |
|
inherited |
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)