PYTHIA  8.312
Public Member Functions | List of all members
MadgraphPar Class Reference

#include <GeneratorInput.h>

Public Member Functions

 MadgraphPar ()
 Constructor.
 
bool parse (const string paramStr)
 Parse an incoming Madgraph parameter file string. More...
 
void extractRunParam (string line)
 Parse an incoming parameter line. More...
 
bool haveParam (const string &paramIn)
 Check if a parameter exists.
 
double getParam (const string &paramIn)
 
int getParamAsInt (const string &paramIn)
 
void printParams ()
 Print parameters read from the '.par' file. More...
 

Detailed Description

MadgraphPar: Class to parse the Madgraph header parameters and make them available through a simple interface

Member Function Documentation

void extractRunParam ( string  line)
inline

Parse an incoming parameter line.

Extract information to the right of the final '!' character

Simple tokeniser

Default case: assume integer and double on the left

double getParam ( const string &  paramIn)
inline

Get a parameter as a double or integer. Caller should have already checked existance of the parameter.

bool parse ( const string  paramStr)
inline

Parse an incoming Madgraph parameter file string.

Loop over incoming lines

void printParams ( )
inline

Print parameters read from the '.par' file.

Loop over all stored parameters and print


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