Package madgraph :: Package iolibs :: Module ufo_expression_parsers
[hide private]
[frames] | no frames]

Module ufo_expression_parsers

source code

Parsers for algebraic expressions coming from UFO, outputting into different languages/frameworks (Fortran and Pythia8). Uses the PLY 3.3 Lex + Yacc framework

Classes [hide private]
  ModelError
Appropriate Error for a wrong parsing
  UFOExpressionParser
A base class for parsers for algebraic expressions coming from UFO.
  UFOExpressionParserFortran
A parser for UFO algebraic expressions, outputting Fortran-style code.
  UFOExpressionParserMPFortran
A parser for UFO algebraic expressions, outputting Fortran-style code for quadruple precision computation.
  UFOExpressionParserCPP
A parser for UFO algebraic expressions, outputting C++-style code.
Variables [hide private]
  root_path = '/Users/omatt/Documents/eclipse/mg5amcnlo/MG5_aMC_...
  logger = logging.getLogger('madgraph.ufo_parsers')
  __package__ = 'madgraph.iolibs'
Variables Details [hide private]

root_path

Value:
'/Users/omatt/Documents/eclipse/mg5amcnlo/MG5_aMC_v2_2_1/madgraph'