ATLAS Offline Software
Loading...
Searching...
No Matches
python.TrigValSteering.CheckSteps.ChainCompStep Class Reference
Inheritance diagram for python.TrigValSteering.CheckSteps.ChainCompStep:
Collaboration diagram for python.TrigValSteering.CheckSteps.ChainCompStep:

Public Member Functions

 __init__ (self, name='ChainComp')
 configure (self, test)

Public Attributes

bool reference_from_release = False
str executable = 'chainComp.py'
str args = ''
bool auto_report_result = True
 output_stream = Step.OutputStream.FILE_AND_STDOUT
bool depends_on_exec = True
 reference = None
 ref_test_name = None
 input_file = None
bool explicit_reference = False
 name
 required

Detailed Description

Execute chainComp.py to compare counts from chainDump.py to a reference

Definition at line 466 of file CheckSteps.py.

Constructor & Destructor Documentation

◆ __init__()

python.TrigValSteering.CheckSteps.ChainCompStep.__init__ ( self,
name = 'ChainComp' )

Definition at line 471 of file CheckSteps.py.

471 def __init__(self, name='ChainComp'):
472 super(ChainCompStep, self).__init__(name)
473 self.input_file = 'chainDump.yml'
474 self.reference_from_release = False
475 self.executable = 'chainComp.py'
476 self.args = ''
477 self.auto_report_result = True
478 self.output_stream = Step.OutputStream.FILE_AND_STDOUT
479 self.depends_on_exec = True # skip if ExecSteps failed
480

Member Function Documentation

◆ configure()

python.TrigValSteering.CheckSteps.ChainCompStep.configure ( self,
test )

Reimplemented from python.TrigValSteering.CheckSteps.RefComparisonStep.

Definition at line 481 of file CheckSteps.py.

481 def configure(self, test):
482 if not self.reference_from_release:
483 RefComparisonStep.configure(self, test)
484 if self.reference:
485 self.args += ' -r ' + self.reference
486 # else chainComp.py finds the reference in DATAPATH on its own
487 self.args += ' ' + self.input_file
488 Step.configure(self, test)
489
490
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)

Member Data Documentation

◆ args

str python.TrigValSteering.CheckSteps.ChainCompStep.args = ''

Definition at line 476 of file CheckSteps.py.

◆ auto_report_result

bool python.TrigValSteering.CheckSteps.ChainCompStep.auto_report_result = True

Definition at line 477 of file CheckSteps.py.

◆ depends_on_exec

bool python.TrigValSteering.CheckSteps.ChainCompStep.depends_on_exec = True

Definition at line 479 of file CheckSteps.py.

◆ executable

str python.TrigValSteering.CheckSteps.ChainCompStep.executable = 'chainComp.py'

Definition at line 475 of file CheckSteps.py.

◆ explicit_reference

bool python.TrigValSteering.CheckSteps.RefComparisonStep.explicit_reference = False
inherited

Definition at line 27 of file CheckSteps.py.

◆ input_file

python.TrigValSteering.CheckSteps.RefComparisonStep.input_file = None
inherited

Definition at line 26 of file CheckSteps.py.

◆ name

python.TrigValSteering.CheckSteps.RefComparisonStep.name
inherited

Definition at line 46 of file CheckSteps.py.

◆ output_stream

python.TrigValSteering.CheckSteps.ChainCompStep.output_stream = Step.OutputStream.FILE_AND_STDOUT

Definition at line 478 of file CheckSteps.py.

◆ ref_test_name

python.TrigValSteering.CheckSteps.RefComparisonStep.ref_test_name = None
inherited

Definition at line 25 of file CheckSteps.py.

◆ reference

python.TrigValSteering.CheckSteps.RefComparisonStep.reference = None
inherited

Definition at line 24 of file CheckSteps.py.

◆ reference_from_release

bool python.TrigValSteering.CheckSteps.ChainCompStep.reference_from_release = False

Definition at line 474 of file CheckSteps.py.

◆ required

python.TrigValSteering.CheckSteps.RefComparisonStep.required
inherited

Definition at line 69 of file CheckSteps.py.


The documentation for this class was generated from the following file: