hepi.run.madgraph.result

Classes

MadgraphResult

MadGraph Result Data.

Functions

is_valid(file, p, d)

Verifies that an file is a complete output.

parse_single(file)

Extracts Result from MadGraph output file.

Module Contents

class hepi.run.madgraph.result.MadgraphResult(lo, nlo)[source]

Bases: hepi.run.Result

MadGraph Result Data.

Sets LO and NLO result. NLO+NLL is set to None.

hepi.run.madgraph.result.is_valid(file, p, d)[source]

Verifies that an file is a complete output.

Parameters:
  • file (str) – File path to be parsed.

  • p (hepi.Input) – Input parameters.

  • d (dict) – Param dictionary.

Returns:

True if file could be parsed.

Return type:

bool

hepi.run.madgraph.result.parse_single(file)[source]

Extracts Result from MadGraph output file.

Note

This is only the result of one order. Therefore LO and NLO result in the return value are the same.

Parameters:

file (str) – File path to be parsed.

Returns:

If a value is not found in the file None is used.

Return type:

MadGraphResult