|
|
__init__(self,
me_dir=None,
options={},
*completekey,
**stdin)
add information to the cmd |
source code
|
|
|
|
|
|
|
check_output_type(self,
path)
Check that the output path is a valid madevent directory |
source code
|
|
|
|
set_configuration(self,
amcatnlo=False,
final=True,
**opt)
assign all configuration variable from file loop over the different
config file if config_file not define |
source code
|
|
|
|
|
|
|
do_banner_run(self,
line)
Make a run from the banner file |
source code
|
|
|
|
|
|
|
do_save(self,
line,
check=True,
to_keep={})
Not in help: Save information to file |
source code
|
|
|
|
do_edit_cards(self,
line)
Advanced commands: Basic edition of the cards |
source code
|
|
|
|
do_restart_gridpack(self,
line)
syntax restart_gridpack --precision=1.0 --restart_zero collect the
result of the current run and relaunch each channel not completed or
optionally a completed one with a precision worse than a threshold
(and/or the zero result channel) |
source code
|
|
|
|
do_generate_events(self,
line)
Main Commands: launch the full chain |
source code
|
|
|
|
do_initMadLoop(self,
line)
Compile and run MadLoop for a certain number of PS point so as to
initialize MadLoop (setup the zero helicity and loop filter.) |
source code
|
|
|
|
do_launch(self,
line,
*args,
**opt)
Main Commands: exec generate_events for 2>N and calculate_width
for 1>N |
source code
|
|
|
|
print_results_in_shell(self,
data)
Have a nice results prints in the shell, data should be of type:
gen_crossxhtml.OneTagResults |
source code
|
|
|
|
print_results_in_file(self,
data,
path,
mode='w',
format='full')
Have a nice results prints in the shell, data should be of type:
gen_crossxhtml.OneTagResults |
source code
|
|
|
|
do_calculate_decay_widths(self,
line)
Main Commands: launch decay width calculation and automatic inclusion
of calculated widths and BRs in the param_card. |
source code
|
|
|
|
collect_decay_widths(self)
Collect the decay widths and calculate BRs for all particles, and put
in param_card form. |
source code
|
|
|
|
|
|
|
do_treatcards(self,
line,
mode=None,
opt=None)
Advanced commands: create .inc files from param_card.dat/run_card.dat |
source code
|
|
|
|
do_survey(self,
line)
Advanced commands: launch survey for the current process |
source code
|
|
|
|
pass_in_difficult_integration_mode(self)
be more secure for the integration to not miss it due to strong cut |
source code
|
|
|
|
do_refine(self,
line)
Advanced commands: launch survey for the current process |
source code
|
|
|
|
do_combine_iteration(self,
line)
Not in help: Combine a given iteration combine_iteration Pdir Gdir
S|R step S is for survey R is for refine step is the iteration number
(not very critical) |
source code
|
|
|
|
do_combine_events(self,
line)
Advanced commands: Launch combine events |
source code
|
|
|
|
correct_bias(self)
check the first event and correct the weight by the bias and correct
the cross-section. |
source code
|
|
|
|
do_store_events(self,
line)
Advanced commands: Launch store events |
source code
|
|
|
|
do_create_gridpack(self,
line)
Advanced commands: Create gridpack from present run |
source code
|
|
|
|
|
|
|
do_madanalysis5_parton(self,
line)
launch MadAnalysis5 at the parton level. |
source code
|
|
|
|
|
|
|
|
|
|
parse_PY8_log_file(self,
log_file_path)
Parse a log file to extract number of event and cross-section. |
source code
|
|
|
|
extract_cross_sections_from_DJR(self,
djr_output)
Extract cross-sections from a djr XML output. |
source code
|
|
|
|
|
|
|
do_remove(self,
line)
Remove one/all run or only part of it |
source code
|
|
|
|
do_plot(self,
line)
Create the plot for a given run |
source code
|
|
|
|
do_syscalc(self,
line)
Evaluate systematics variation weights for a given run |
source code
|
|
|
|
|
|
|
launch_job(self,
exe,
cwd=None,
stdout=None,
argument=[],
remaining=0,
run_type='',
mode=None,
**opt) |
source code
|
|
|
|
find_madevent_mode(self)
Find if Madevent is in Group mode or not |
source code
|
|
|
|
monitor(self,
run_type='monitor',
mode=None,
html=False)
monitor the progress of running job |
source code
|
|
|
|
|
|
|
get_Pdir(self)
get the list of Pdirectory if not yet saved. |
source code
|
|
|
|
get_Gdir(self)
get the list of Gdirectory if not yet saved. |
source code
|
|
|
|
set_run_name(self,
name,
tag=None,
level='parton',
reload_card=False,
allow_new_tag=True)
define the run name, the run_tag, the banner and the results. |
source code
|
|
|
|
find_model_name(self)
return the model name |
source code
|
|
|
|
check_nb_events(self)
Find the number of event in the run_card, and check that this is not
too large |
source code
|
|
|
|
|
|
|
save_random(self)
save random number in appropirate file |
source code
|
|
|
|
|
|
|
|
|
|
create_root_file(self,
input='unweighted_events.lhe',
output='unweighted_events.root')
create the LHE root file |
source code
|
|
|
|
run_syscalc(self,
mode='parton',
event_path=None,
output=None)
create the syscalc output |
source code
|
|
|
|
ask_run_configuration(self,
mode=None,
args=[])
Ask the question when launching generate_events/multi_run |
source code
|
|
|
|
ask_pythia_run_configuration(self,
mode=None,
pythia_version=6)
Ask the question when launching pythia |
source code
|
|
|
Inherited from CompleteForCmd:
complete_add_time_of_flight,
complete_banner_run,
complete_calculate_decay_widths,
complete_combine_events,
complete_create_gridpack,
complete_delphes,
complete_display,
complete_generate_events,
complete_history,
complete_initMadLoop,
complete_launch,
complete_madanalysis5_parton,
complete_multi_run,
complete_open,
complete_pgs,
complete_plot,
complete_pythia,
complete_pythia8,
complete_refine,
complete_remove,
complete_set,
complete_shower,
complete_survey,
complete_syscalc,
complite_store
Inherited from CheckValidForCmd:
check_add_time_of_flight,
check_banner_run,
check_calculate_decay_widths,
check_combine_events,
check_display,
check_generate_events,
check_history,
check_import,
check_initMadLoop,
check_multi_run,
check_open,
check_pgs,
check_plot,
check_pythia,
check_pythia8,
check_refine,
check_remove,
check_save,
check_set,
check_survey,
check_syscalc,
check_treatcards
Inherited from CmdExtended:
get_history_header,
nice_config_error,
nice_error_handling,
nice_user_error,
postcmd,
stop_on_keyboard_stop
Inherited from HelpToCmd:
help_add_time_of_flight,
help_banner_run,
help_calculate_decay_widths,
help_combine_events,
help_create_gridpack,
help_generate_events,
help_import,
help_initMadLoop,
help_launch,
help_multi_run,
help_open,
help_pythia,
help_pythia8,
help_refine,
help_remove,
help_restart_gridpack,
help_store_events,
help_survey,
help_syscalc,
run_options_help
Inherited from common_run_interface.CommonRunCmd:
add_error_log_in_html,
ask_edit_cards,
ask_madanalysis5_run_configuration,
check_madanalysis5,
check_param_card,
complete_check_events,
complete_compute_widths,
complete_decay_events,
complete_madanalysis5_hadron,
complete_print_results,
complete_reweight,
complete_systematics,
configure_run_mode,
copy_lhapdf_set,
create_plot,
do_EOF,
do_check_events,
do_compute_widths,
do_decay_events,
do_delphes,
do_exit,
do_madanalysis5_hadron,
do_open,
do_pgs,
do_print_results,
do_reweight,
do_set,
do_systematics,
gen_card_html,
generate_Pythia8_HwU_plots,
get_available_tag,
get_characteristics,
get_lhapdf_libdir,
get_lhapdf_pdfsets_list,
get_lhapdf_pdfsetsdir,
get_lhapdf_version,
get_model,
get_pdf_input_filename,
get_pid_final_initial_states,
help_print_result,
help_systematics,
install_lhapdf_pdfset,
keep_cards,
link_lhapdf,
load_results_db,
make_make_all_html_results,
post_set,
run_hep2lhe,
run_madanalysis5,
split_arg,
update_make_opts,
update_status
Inherited from common_run_interface.HelpToCmd:
help_compute_widths,
help_decay_events,
help_delphes,
help_pgs,
help_plot,
help_set,
help_shower,
help_treatcards
Inherited from common_run_interface.CheckValidForCmd:
check_check_events,
check_compute_widths,
check_decay_events,
check_delphes,
get_events_path
Inherited from extended_cmd.Cmd:
ask,
avoid_history_duplicate,
check_answer_in_input_file,
cmdloop,
compile,
default,
define_child_cmd_interface,
do_help,
do_history,
do_import,
emptyline,
error_handling,
exec_cmd,
get_stored_line,
import_command_file,
no_notification,
onecmd,
onecmd_orig,
postloop,
precmd,
preloop,
run_cmd,
store_line,
write_configuration
Inherited from extended_cmd.HelpCmd:
help_EOF,
help_display,
help_help,
help_history,
help_quit,
help_save
Inherited from extended_cmd.CompleteCmd:
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__
|
|
|
_run_options = ['--cluster', '--multicore', '--nb_core=', '--n...
|
|
|
_generate_options = ['-f', '--laststep=parton', '--laststep=py...
|
|
|
_calculate_decay_options = ['-f', '--accuracy=0.']
|
|
|
_interfaced_showers = ['pythia', 'pythia8']
|
|
|
_set_options = ['stdout_level', 'fortran_compiler', 'timeout']
|
|
|
_plot_mode = ['all', 'parton', 'pythia', 'pgs', 'delphes', 'ch...
|
|
|
_syscalc_mode = ['all', 'parton', 'pythia']
|
|
|
_clean_mode = ['all', 'parton', 'pythia', 'pgs', 'delphes', 'c...
|
|
|
_display_opts = ['run_name', 'options', 'variable', 'results']
|
|
|
_save_opts = ['options']
|
|
|
_initMadLoop_opts = ['-f', '-r', '--nPS=']
|
|
|
_survey_options = {'accuracy': ('float', 0.1, 'Required accura...
|
|
|
true = ['T', '.true.', True, 'true', 1, '1']
|
|
|
web = False
|
|
|
cluster_mode = 0
|
|
|
queue = 'madgraph'
|
|
|
nb_core = None
hash(x)
|
|
|
next_possibility = {'calculate_decay_widths': ['calculate_deca...
|
|
Inherited from CmdExtended:
config_debug,
debug_output,
error_debug,
keyboard_stop_msg
Inherited from common_run_interface.CommonRunCmd:
helporder,
options_configuration,
options_madevent,
options_madgraph,
sleep_for_error
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
|