Run the MadGraph 4 event generator. More...
Public Member Functions | |
| __init__ (self, name='ap', **kwargs) | |
| get_install_dir (self) | |
| Get installation directory of MadGraph4. | |
| setup (self) | |
| Setup MadGraph4 generator. | |
| execute (self, log_out, log_err) | |
| Execute MadGraph4 generator. | |
Public Member Functions inherited from MG | |
| output_files (self) | |
| Generate output file name. | |
| set_parameters (self, params) | |
| Set parameters. | |
| required_parameters (self) | |
| Return required parameters. | |
| optional_parameters (self) | |
| Return optional parameters. | |
| make_run_card (self, run_card) | |
| Make run card. | |
| make_param_card (self, param_card) | |
| Make parameter card. | |
| cmd_args (self) | |
| Return command arguments. | |
Public Member Functions inherited from Component | |
| cmd_line_str (self) | |
| cmd_exists (self) | |
| Check if the component's assigned command exists. | |
| cmd_args_str (self) | |
| Return list of arguments, making sure they are all converted to strings. | |
| cleanup (self) | |
| Perform post-job cleanup such as deleting temporary files. | |
| config_logging (self, parser) | |
| Configure the logging for a component. | |
| config (self, parser) | |
| Automatic configuration. | |
| required_config (self) | |
| Return a list of required configuration settings. | |
| check_config (self) | |
| Raise an exception on the first missing config setting for this component. | |
| input_files (self) | |
| Get a list of input files for this component. | |
| config_from_environ (self) | |
| Configure component from environment variables which are just upper case versions of the required config names set in the shell environment. | |
Public Attributes | |
| name | |
| event_dir | |
| command | |
| rundir | |
Public Attributes inherited from MG | |
| madgraph_dir | |
| Install dir or user config will be used for this. | |
| param_card | |
| Default name of param card. | |
| apmass | |
| A-prime mass. | |
| map | |
| A-prime mass. | |
| Map | |
| A-prime mass. | |
| mpid | |
| dark pion mass | |
| mrhod | |
| dark rho mass | |
| mchi | |
| average dark fermion mass when running idm | |
| dmchi | |
| difference between dark fermion masses when running idm | |
| event_types | |
| event types: weighted or unweighted | |
| run_card | |
| nevents | |
| seed | |
| command | |
| name | |
Public Attributes inherited from Component | |
| name | |
| command | |
| nevents | |
| seed | |
| inputs | |
| outputs | |
| append_tok | |
| output_ext | |
| ignore_job_params | |
| hpsmc_dir | |
| logger | |
Static Public Attributes | |
| dict | dir_map |
Additional Inherited Members | |
Protected Member Functions inherited from Component | |
| _inputs_to_outputs (self) | |
| This is the default method for automatically transforming input file names to outputs when output file names are not explicitly provided. | |
Run the MadGraph 4 event generator.
Definition at line 334 of file generators.py.
| __init__ | ( | self, | |
name = 'ap', |
|||
| ** | kwargs | ||
| ) |
Reimplemented from MG.
Definition at line 346 of file generators.py.
| execute | ( | self, | |
| log_out, | |||
| log_err | |||
| ) |
Execute MadGraph4 generator.
| log_out | name of log file for output |
| log_err | name of log file for error |
Reimplemented from MG.
Definition at line 388 of file generators.py.
| get_install_dir | ( | self | ) |
Get installation directory of MadGraph4.
Reimplemented from EventGenerator.
Definition at line 353 of file generators.py.
| setup | ( | self | ) |
| command |
Definition at line 371 of file generators.py.
|
static |
Definition at line 338 of file generators.py.
| event_dir |
Definition at line 367 of file generators.py.
| name |
Definition at line 351 of file generators.py.
| rundir |
Definition at line 400 of file generators.py.