|
|
|
|
|
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,
first_cmd=None,
from_banner=None,
banner=None) |
source code
|
|
|
|
|
check_madanalysis5(self,
args,
mode=' parton ' )
Check the argument for the madanalysis5 command syntax:
madanalysis5_parton [NAME] |
source code
|
|
|
check_param_card(self,
path,
run=True,
dependent=False)
1) Check that no scan parameter are present
2) Check that all the width are define in the param_card. |
source code
|
|
|
complete_check_events(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
complete_compute_widths(self,
text,
line,
begidx,
endidx,
formatting=True)
Complete the compute_widths command |
source code
|
|
|
complete_decay_events(self,
text,
line,
begidx,
endidx) |
source code
|
|
|
complete_madanalysis5_hadron(self,
text,
line,
begidx,
endidx)
Complete the madanalysis5 command |
source code
|
|
|
complete_print_results(self,
text,
line,
begidx,
endidx)
Complete the print results command |
source code
|
|
|
complete_reweight(self,
text,
line,
begidx,
endidx)
Complete the pythia command |
source code
|
|
|
complete_systematics(self,
text,
line,
begidx,
endidx)
auto completion for the systematics 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_madanalysis5_hadron(self,
line)
launch MadAnalysis5 at the hadron level. |
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_reweight(self,
line)
syntax is "reweight RUN_NAME" Allow to reweight the events
generated with a new choices of model parameter. |
source code
|
|
|
do_set(self,
line,
log=True)
Set an option, which will be default for coming generations/outputs |
source code
|
|
|
do_systematics(self,
line)
syntax is 'systematics [INPUT [OUTPUT]] OPTIONS' --mur=0.5,1,2
--muf=0.5,1,2 --alps=1 --dyn=-1 --together=mur,muf #can be repeated |
source code
|
|
|
do_treatcards(self,
line,
amcatnlo=False)
Advanced commands: create .inc files from param_card.dat/run_card.dat |
source code
|
|
|
find_model_name(self)
return the model name |
source code
|
|
|
|
|
|
|
get_Pdir(self)
get the list of Pdirectory if not yet saved. |
source code
|
|
|
get_available_tag(self)
create automatically a tag |
source code
|
|
|
get_characteristics(self,
path=None)
reads the proc_characteristics file and initialises the correspondant
dictionary |
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_model(self)
return the model related to this process |
source code
|
|
|
get_pdf_input_filename(self)
return the name of the file which is used by the pdfset |
source code
|
|
|
get_pid_final_initial_states(self)
Find the pid of all particles in the final and initial states |
source code
|
|
|
|
|
help_systematics(self)
help for systematics command |
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
|
|
|
|
|
make_make_all_html_results(self,
folder_names=[ ] ,
jobs=[ ] ) |
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
|
|
|
run_madanalysis5(self,
line,
mode=' parton ' )
launch MadAnalysis5 at the parton level or at the hadron level with a
specific command line. |
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_make_opts(self)
update the make_opts file writing the environmental variables stored
in make_opts_var |
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_set ,
help_shower ,
help_treatcards
Inherited from CheckValidForCmd :
check_check_events ,
check_compute_widths ,
check_decay_events ,
check_delphes ,
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 ,
cmdloop ,
compile ,
default ,
define_child_cmd_interface ,
do_display ,
do_help ,
do_history ,
do_import ,
do_save ,
emptyline ,
error_handling ,
exec_cmd ,
get_history_header ,
get_stored_line ,
import_command_file ,
nice_config_error ,
nice_error_handling ,
nice_user_error ,
no_notification ,
onecmd ,
onecmd_orig ,
postcmd ,
postloop ,
precmd ,
preloop ,
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 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__
|