|
PYTHIA
8.316
|
#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 ¶mIn) |
| Check if a parameter exists. | |
| double | getParam (const string ¶mIn) |
| int | getParamAsInt (const string ¶mIn) |
| void | printParams () |
| Print parameters read from the '.par' file. More... | |
MadgraphPar: Class to parse the Madgraph header parameters and make them available through a simple interface
|
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
|
inline |
Get a parameter as a double or integer. Caller should have already checked existance of the parameter.
|
inline |
Parse an incoming Madgraph parameter file string.
Loop over incoming lines
|
inline |
Print parameters read from the '.par' file.
Loop over all stored parameters and print
1.8.11