|
|
|
add_error_log_in_html(self,
errortype=None)
If a ME run is currently running add a link in the html output |
source code
|
|
|
ask_edit_cards(self,
cards,
mode=' fixed ' ,
plot=True) |
source code
|
|
|
|
|
complete_check_events(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
complete_compute_widths(self,
text,
line,
begidx,
endidx)
Complete the compute_widths command |
source code
|
|
|
complete_decay_events(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
complete_print_results(self,
text,
line,
begidx,
endidx)
Complete the print results command |
source code
|
|
|
configure_run_mode(self,
run_mode)
change the way to submit job 0: single core, 1: cluster, 2: multicore |
source code
|
|
|
copy_lhapdf_set(self,
lhaid_list,
pdfsets_dir)
copy (if needed) the lhapdf set corresponding to the lhaid in
lhaid_list into lib/PDFsets |
source code
|
|
|
create_plot(self,
mode=' parton ' ,
event_path=None,
output=None,
tag=None)
create the plot |
source code
|
|
|
|
|
do_check_events(self,
line)
Run some sanity check on the generated events. |
source code
|
|
|
do_compute_widths(self,
line)
Require MG5 directory: Compute automatically the widths of a set of
particles |
source code
|
|
|
do_decay_events(self,
line)
Require MG5 directory: decay events with spin correlations |
source code
|
|
|
do_delphes(self,
line)
run delphes and make associate root file/plot |
source code
|
|
|
|
|
do_open(self,
line)
Open a text file/ eps file / html file |
source code
|
|
|
|
|
do_print_results(self,
line)
Not in help:Print the cross-section/ number of events for a given run |
source code
|
|
|
|
|
do_set(self,
line,
log=True)
Set an option, which will be default for coming generations/outputs |
source code
|
|
|
do_treatcards(self,
line,
amcatnlo=False)
Advanced commands: create .inc files from param_card.dat/run_card.dat |
source code
|
|
|
get_available_tag(self)
create automatically a tag |
source code
|
|
|
get_lhapdf_pdfsets_list(self,
pdfsets_dir)
read the PDFsets.index file, which should be located in the same
place as pdfsets_dir, and return a list of dictionaries with the
information about each pdf set |
source code
|
|
|
|
|
get_lhapdf_version(self)
returns the lhapdf version number |
source code
|
|
|
get_pdf_input_filename(self)
return the name of the file which is used by the pdfset |
source code
|
|
|
get_pid_final_states(self)
Find the pid of all particles in the final states |
source code
|
|
|
|
|
install_lhapdf_pdfset(self,
pdfsets_dir,
filename)
idownloads and install the pdfset filename in the pdfsets_dir |
source code
|
|
|
keep_cards(self,
need_card=[ ] ,
ignore=[ ] )
Ask the question when launching generate_events/multi_run |
source code
|
|
|
link_lhapdf(self,
libdir,
extra_dirs=[ ] )
links lhapdf into libdir |
source code
|
|
|
post_set(self,
stop,
line)
Check if we need to save this in the option file |
source code
|
|
|
run_hep2lhe(self,
banner_path=None)
Run hep2lhe on the file Events/pythia_events.hep |
source code
|
|
|
set_configuration(self,
config_path=None,
final=True,
initdir=None,
amcatnlo=False)
assign all configuration variable from file
./Cards/mg5_configuration.txt. |
source code
|
|
|
|
|
store_result(self)
Dummy routine, to be overwritten by daughter classes |
source code
|
|
|
update_status(self,
status,
level,
makehtml=True,
force=True,
error=False,
starttime=None,
update_results=True,
print_log=True)
update the index status |
source code
|
|
Inherited from HelpToCmd :
help_compute_widths ,
help_decay_events ,
help_delphes ,
help_pgs ,
help_plot ,
help_pythia ,
help_set ,
help_treatcards
Inherited from CheckValidForCmd :
check_check_events ,
check_compute_widths ,
check_decay_events ,
check_open ,
check_set ,
check_treatcards ,
get_events_path
Inherited from extended_cmd.Cmd :
ask ,
avoid_history_duplicate ,
check_answer_in_input_file ,
check_import ,
compile ,
default ,
define_child_cmd_interface ,
do_display ,
do_help ,
do_history ,
do_import ,
do_save ,
emptyline ,
exec_cmd ,
get_history_header ,
get_stored_line ,
import_command_file ,
nice_config_error ,
nice_error_handling ,
nice_user_error ,
onecmd ,
onecmd_orig ,
postcmd ,
postloop ,
precmd ,
run_cmd ,
stop_on_keyboard_stop ,
store_line ,
write_configuration
Inherited from extended_cmd.CheckCmd :
check_history ,
check_save
Inherited from extended_cmd.HelpCmd :
help_EOF ,
help_display ,
help_help ,
help_history ,
help_quit ,
help_save
Inherited from extended_cmd.CompleteCmd :
complete_display ,
complete_history ,
complete_save
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
Inherited from extended_cmd.BasicCmd :
complete ,
deal_multiple_categories ,
getTerminalSize ,
preloop ,
print_suggestions
Inherited from cmd.Cmd :
cmdloop ,
columnize ,
complete_help ,
completedefault ,
completenames ,
get_names ,
parseline ,
print_topics
|