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 486 of file CheckSteps.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 491 of file CheckSteps.py.

491 def __init__(self, name='ChainComp'):
492 super(ChainCompStep, self).__init__(name)
493 self.input_file = 'chainDump.yml'
494 self.reference_from_release = False
495 self.executable = 'chainComp.py'
496 self.args = ''
497 self.auto_report_result = True
498 self.output_stream = Step.OutputStream.FILE_AND_STDOUT
499 self.depends_on_exec = True # skip if ExecSteps failed
500

Member Function Documentation

◆ configure()

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

Reimplemented from python.TrigValSteering.CheckSteps.RefComparisonStep.

Definition at line 501 of file CheckSteps.py.

501 def configure(self, test):
502 if not self.reference_from_release:
503 RefComparisonStep.configure(self, test)
504 if self.reference:
505 self.args += ' -r ' + self.reference
506 # else chainComp.py finds the reference in DATAPATH on its own
507 self.args += ' ' + self.input_file
508 Step.configure(self, test)
509
510
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 496 of file CheckSteps.py.

◆ auto_report_result

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

Definition at line 497 of file CheckSteps.py.

◆ depends_on_exec

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

Definition at line 499 of file CheckSteps.py.

◆ executable

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

Definition at line 495 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 498 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 494 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: