ATLAS Offline Software
Functions | Variables
python.algorithms.generators.output_validator Namespace Reference

Functions

def output_validator (powheg_LHE_output)
 Check for required output file. More...
 

Variables

 logger = Logging.logging.getLogger("PowhegControl")
 Get handle to Athena logging. More...
 

Function Documentation

◆ output_validator()

def python.algorithms.generators.output_validator.output_validator (   powheg_LHE_output)

Check for required output file.

Parameters
powheg_LHE_outputName of LHE file produced by PowhegBox.
Author
James Robinson james.nosp@m..rob.nosp@m.inson.nosp@m.@cer.nosp@m.n.ch

Definition at line 12 of file output_validator.py.

12 def output_validator(powheg_LHE_output):
13  """! Check for required output file.
14 
15  @param powheg_LHE_output Name of LHE file produced by PowhegBox.
16 
17  @author James Robinson <james.robinson@cern.ch>
18  """
19  if not os.path.isfile(powheg_LHE_output):
20  logger.warning("No output LHEF file found! Probably because the Powheg process was killed before finishing.")
21  raise RuntimeError("No output LHEF file produced by Powheg. Terminating job.")

Variable Documentation

◆ logger

python.algorithms.generators.output_validator.logger = Logging.logging.getLogger("PowhegControl")

Get handle to Athena logging.

Definition at line 8 of file output_validator.py.

python.algorithms.generators.output_validator.output_validator
def output_validator(powheg_LHE_output)
Check for required output file.
Definition: output_validator.py:12