|
|
|
|
|
|
|
|
setup(self)
Actions to carry when switching to this interface |
source code
|
|
|
|
|
|
|
do_add(self,
line)
Generate an amplitude for a given process and add to existing
amplitudes or merge two model |
source code
|
|
|
|
|
|
|
do_define(self,
line,
log=True)
Define a multiparticle |
source code
|
|
|
|
|
|
|
multiparticle_string(self,
key)
Returns a nicely formatted string for the multiparticle |
source code
|
|
|
|
do_tutorial(self,
line)
Activate/deactivate the tutorial mode. |
source code
|
|
|
|
draw(self,
line,
selection='all',
type='')
draw the Feynman diagram for the given process. |
source code
|
|
|
|
do_check(self,
line)
Check a given process or set of processes |
source code
|
|
|
|
do_generate(self,
line)
Main commands: Generate an amplitude for a given process |
source code
|
|
|
|
|
|
|
create_loop_induced(self,
line,
myprocdef=None)
Routine to create the MultiProcess for the loop-induced case |
source code
|
|
|
|
|
|
|
|
|
|
optimize_order(self,
pdg_list)
Optimize the order of particles in a pdg list, so that
similar particles are next to each other. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
import_ufo_model(self,
model_name)
import the UFO model |
source code
|
|
|
|
process_model(self)
Set variables _particle_names and _couplings for tab completion,
define multiparticles |
source code
|
|
|
|
import_mg4_proc_card(self,
filepath)
read a V4 proc card, convert it and run it in mg5 |
source code
|
|
|
|
add_default_multiparticles(self)
add default particle from file interface.multiparticles_default.txt |
source code
|
|
|
|
advanced_install(self,
tool_to_install,
HepToolsInstaller_web_address=None,
additional_options=[])
Uses the HEPToolsInstaller.py script maintened online to install HEP
tools with more complicated dependences. |
source code
|
|
|
|
do_install(self,
line,
paths=None,
additional_options=[])
Install optional package from the MG suite. |
source code
|
|
|
|
|
|
|
set_configuration(self,
config_path=None,
final=True)
assign all configuration variable from file
./input/mg5_configuration.txt. |
source code
|
|
|
|
check_for_export_dir(self,
filepath)
Check if the files is in a valid export directory and assign it to
export path if if is |
source code
|
|
|
|
do_launch(self,
line)
Main commands: Ask for editing the parameter and then Execute the
code (madevent/standalone/...) |
source code
|
|
|
|
do_load(self,
line)
Not in help: Load information from file |
source code
|
|
|
|
do_customize_model(self,
line)
create a restriction card in a interactive way |
source code
|
|
|
|
do_save(self,
line,
check=True,
to_keep={},
log=True)
Not in help: Save information to file |
source code
|
|
|
|
do_set(self,
line,
log=True,
model_reload=True)
Set an option, which will be default for coming generations/outputs. |
source code
|
|
|
|
post_set(self,
stop,
line)
Check if we need to save this in the option file |
source code
|
|
|
|
do_open(self,
line)
Open a text file/ eps file / html file |
source code
|
|
|
|
do_output(self,
line)
Main commands: Initialize a new Template or reinitialize one |
source code
|
|
|
|
export(self,
nojpeg=False,
main_file_name='',
group_processes=True,
args=[])
Export a generated amplitude to file. |
source code
|
|
|
|
finalize(self,
nojpeg,
online=False,
flaglist=[])
Make the html output, write proc_card_mg5.dat and create
madevent.tar.gz for a MadEvent directory |
source code
|
|
|
|
|
|
|
do_compute_widths(self,
line,
model=None,
do2body=True,
decaymodel=None)
Documented commands:Generate amplitudes for decay width calculation, with fixed
number of final particles (called level)
syntax; compute_widths particle [other particles] [--options=] |
source code
|
|
|
|
compute_widths_SMWidth(self,
line,
model=None)
Compute widths with SMWidth. |
source code
|
|
|
|
do_decay_diagram(self,
line,
skip_2body=False,
model=None)
Not in help: Generate amplitudes for decay width calculation, with fixed
number of final particles (called level)
syntax; decay_diagram part_name level param_path
args; part_name level param_path
part_name = name of the particle you want to calculate width
level = a.) when level is int,
it means the max number of decay products
b.) when level is float,
it means the required precision for width. |
source code
|
|
|
Inherited from HelpToCmd:
help_add,
help_check,
help_compute_widths,
help_customize_model,
help_decay_diagram,
help_define,
help_display,
help_generate,
help_import,
help_install,
help_launch,
help_load,
help_open,
help_output,
help_save,
help_set,
help_tutorial
Inherited from CheckValidForCmd:
check_add,
check_check,
check_compute_widths,
check_customize_model,
check_decay_diagram,
check_define,
check_display,
check_draw,
check_generate,
check_import,
check_install,
check_launch,
check_load,
check_open,
check_output,
check_process_format,
check_save,
check_set,
check_tutorial,
find_import_type,
find_output_type,
get_default_path
Inherited from CompleteForCmd:
aloha_complete_output,
complete_add,
complete_check,
complete_compute_widths,
complete_customize_model,
complete_decay_diagram,
complete_define,
complete_display,
complete_draw,
complete_generate,
complete_import,
complete_install,
complete_launch,
complete_load,
complete_open,
complete_output,
complete_save,
complete_set,
complete_tutorial,
find_restrict_card,
model_completion,
nlo_completion
Inherited from CmdExtended:
default,
get_history_header,
postcmd
Inherited from extended_cmd.Cmd:
ask,
avoid_history_duplicate,
check_answer_in_input_file,
cmdloop,
compile,
define_child_cmd_interface,
do_EOF,
do_exit,
do_history,
emptyline,
error_handling,
exec_cmd,
get_stored_line,
import_command_file,
nice_config_error,
nice_error_handling,
nice_user_error,
no_notification,
onecmd,
onecmd_orig,
postloop,
precmd,
run_cmd,
stop_on_keyboard_stop,
store_line,
write_configuration
Inherited from extended_cmd.CheckCmd:
check_history
Inherited from extended_cmd.HelpCmd:
help_EOF,
help_help,
help_history,
help_quit
Inherited from extended_cmd.CompleteCmd:
complete_history
Inherited from extended_cmd.BasicCmd:
complete,
deal_multiple_categories,
getTerminalSize,
print_suggestions,
set_readline_completion_display_matches_hook
Inherited from extended_cmd.OriginalCmd:
columnize,
complete_help,
completedefault,
completenames,
get_names,
parseline,
print_topics
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
writing_dir = '.'
|
|
|
_display_opts = ['particles', 'interactions', 'processes', 'di...
|
|
|
_add_opts = ['process', 'model']
|
|
|
_save_opts = ['model', 'processes', 'options']
|
|
|
_tutorial_opts = ['aMCatNLO', 'stop', 'MadLoop', 'MadGraph5']
|
|
|
_switch_opts = ['mg5', 'aMC@NLO', 'ML5']
|
|
|
_check_opts = ['full', 'timing', 'stability', 'profile', 'perm...
|
|
|
_import_formats = ['model_v4', 'model', 'proc_v4', 'command', ...
|
|
|
_install_opts = ['Delphes', 'MadAnalysis4', 'ExRootAnalysis', ...
|
|
|
_advanced_install_opts = ['pythia8', 'zlib', 'boost', 'lhapdf6...
|
|
|
_v4_export_formats = ['madevent', 'standalone', 'standalone_ms...
|
|
|
_export_formats = ['madevent', 'standalone', 'standalone_msP',...
|
|
|
_set_options = ['group_subprocesses', 'ignore_six_quark_proces...
|
|
|
_valid_nlo_modes = ['all', 'real', 'virt', 'sqrvirt', 'tree', ...
|
|
|
_valid_sqso_types = ['==', '<=', '=', '>']
|
|
|
_valid_amp_so_types = ['=', '<=', '==', '>']
|
|
|
_OLP_supported = ['MadLoop', 'GoSam']
|
|
|
_output_dependencies_supported = ['external', 'internal', 'env...
|
|
|
options_configuration = {'OLP': 'MadLoop', 'amcfast': 'amcfast...
|
|
|
options_madgraph = {'complex_mass_scheme': False, 'gauge': 'un...
|
|
|
options_madevent = {'automatic_html_opening': True, 'nb_core':...
|
|
|
_curr_model = None
hash(x)
|
|
|
_curr_amps = []
|
|
|
_curr_proc_defs = []
|
|
|
_curr_matrix_elements = ...
|
|
|
_curr_helas_model = None
hash(x)
|
|
|
_curr_exporter = None
hash(x)
|
|
|
_done_export = False
|
|
|
_curr_decaymodel = None
hash(x)
|
|
|
helporder = ['Main commands', 'Documented commands']
|
|
Inherited from CmdExtended:
config_debug,
debug_output,
error_debug,
intro_banner,
keyboard_stop_msg,
next_possibility
Inherited from extended_cmd.Cmd:
PluginCandidate,
allow_notification_center,
dirlist,
history_header,
onedir,
plugin_path
Inherited from extended_cmd.OriginalCmd:
doc_header,
doc_leader,
identchars,
intro,
lastcmd,
misc_header,
nohelp,
prompt,
ruler,
undoc_header,
use_rawinput
|