Package madgraph :: Package interface :: Module madweight_interface :: Class MadWeightCmd
[hide private]
[frames] | no frames]

Class MadWeightCmd

source code

                       object --+            
                                |            
            extended_cmd.CheckCmd --+        
                                    |        
                       object --+   |        
                                |   |        
             extended_cmd.HelpCmd --+        
                                    |        
                       object --+   |        
                                |   |        
         extended_cmd.CompleteCmd --+        
                                    |        
                   object --+       |        
                            |       |        
     extended_cmd.OriginalCmd --+   |        
                                |   |        
            extended_cmd.BasicCmd --+        
                                    |        
                     extended_cmd.Cmd --+    
                                        |    
                              CmdExtended --+
                                            |
                               object --+   |
                                        |   |
                                HelpToCmd --+
                                            |
                               object --+   |
                                        |   |
                           CompleteForCmd --+
                                            |
                           object --+       |
                                    |       |
       common_run_interface.HelpToCmd --+   |
                                        |   |
                           object --+   |   |
                                    |   |   |
common_run_interface.CheckValidForCmd --+   |
                                        |   |
                       object --+       |   |
                                |       |   |
            extended_cmd.CheckCmd --+   |   |
                                    |   |   |
                       object --+   |   |   |
                                |   |   |   |
             extended_cmd.HelpCmd --+   |   |
                                    |   |   |
                       object --+   |   |   |
                                |   |   |   |
         extended_cmd.CompleteCmd --+   |   |
                                    |   |   |
                   object --+       |   |   |
                            |       |   |   |
     extended_cmd.OriginalCmd --+   |   |   |
                                |   |   |   |
            extended_cmd.BasicCmd --+   |   |
                                    |   |   |
                     extended_cmd.Cmd --+   |
                                        |   |
        common_run_interface.CommonRunCmd --+
                                            |
                                           MadWeightCmd
Known Subclasses:

Nested Classes [hide private]

Inherited from CmdExtended: ConfigurationError, InvalidCmd

Inherited from common_run_interface.CommonRunCmd: RunWebHandling

Instance Methods [hide private]
 
remove_fct(self)
Not in help: remove fct
source code
 
do_decay_events(self)
Not in help: remove fct
source code
 
do_delphes(self)
Not in help: remove fct
source code
 
do_pgs(self)
Not in help: remove fct
source code
 
__init__(self, me_dir=None, options={}, *completekey, **stdin)
add information to the cmd
source code
 
do_quit(self, *args, **opts)
Not in help: exit
source code
 
configure(self) source code
 
do_define_transfer_fct(self, line)
MadWeight Function:Define the current transfer function
source code
 
do_treatcards(self, line)
MadWeight Function:create the various param_card // compile input for the run_card
source code
 
do_get_integration_channel(self, line)
MadWeight Function:analyze the cards/diagram to find an way to integrate efficiently
source code
 
do_compile(self, line, refine=False)
MadWeight Function:compile the code
source code
 
do_check_events(self, line)
MadWeight Function: check that the events are valid and write the events to MG mapping
source code
 
check_launch_jobs(self, args)
format the argument to retrun a list with two argument, The first corresponding to the fact if we need te create the output dir The second if we can launch the job on the cluster.
source code
 
do_submit_jobs(self, line)
MadWeight Function:Submitting the jobs to the cluster
source code
 
submit_job(self, dirname, nb_card, sample_nb, evt_file=None, restrict_evt=[])
launch on the cluster the job which creates the computation
source code
 
check_collect(self, args) source code
 
do_collect(self, line)
MadWeight Function: making the collect of the results
source code
 
do_clean(self, line)
MadWeight Function: syntax: clean [XXX] clean the previous run XXX (the last one by default)
source code
 
ask_edit_cards(self, cards, *arg, **opts) source code
 
do_launch(self, line)
MadWeight Function:run the full suite of commands
source code
 
check_refine(self, args)
check the argument validity
source code
 
clean_old_run(self, keep_event=False) source code
 
do_refine(self, line)
MadWeight Function:syntax: refine X relaunch the computation of the weight which have a precision lower than X
source code
 
resubmit(self, M_path, to_refine, event_to_file)
resubmit various jobs
source code

Inherited from HelpToCmd: help_collect, help_define_transfer_fct

Inherited from CompleteForCmd: complete_collect, complete_define_transfer_fct

Inherited from common_run_interface.CommonRunCmd: __del__, add_error_log_in_html, 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_directory, configure_run_mode, copy_lhapdf_set, create_plot, do_EOF, do_compute_widths, do_exit, do_madanalysis5_hadron, do_open, do_print_results, do_reweight, do_set, do_systematics, find_model_name, gen_card_html, generate_Pythia8_HwU_plots, get_Pdir, 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, set_configuration, split_arg, store_result, store_scan_result, update_make_opts, update_status, write_RunWeb

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, 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__

Static Methods [hide private]

Inherited from common_run_interface.CommonRunCmd: ask_edit_card_static, detect_card_type, find_available_run_name, get_MadAnalysis5_interpreter, get_lhapdf_pdfsets_list_static, install_lhapdf_pdfset_static, runMA5, static_check_param_card, static_compute_widths, update_make_opts_full, writeRunWeb

Inherited from extended_cmd.Cmd: timed_input

Inherited from extended_cmd.BasicCmd: list_completion, path_completion

Class Variables [hide private]
  _set_options = []
  prompt = 'MadWeight5>'
  helporder = ['MadWeight Function', 'Documented commands', 'Adv...

Inherited from CmdExtended: config_debug, debug_output, error_debug, keyboard_stop_msg, next_possibility

Inherited from common_run_interface.CommonRunCmd: 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.Cmd (private): _display_opts

Inherited from extended_cmd.OriginalCmd: doc_header, doc_leader, identchars, intro, lastcmd, misc_header, nohelp, ruler, undoc_header, use_rawinput

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

do_decay_events(self)

source code 

Not in help: remove fct

Overrides: common_run_interface.CommonRunCmd.do_decay_events

do_delphes(self)

source code 

Not in help: remove fct

Overrides: common_run_interface.CommonRunCmd.do_delphes

do_pgs(self)

source code 

Not in help: remove fct

Overrides: common_run_interface.CommonRunCmd.do_pgs

__init__(self, me_dir=None, options={}, *completekey, **stdin)
(Constructor)

source code 

add information to the cmd

Overrides: object.__init__

do_quit(self, *args, **opts)

source code 

Not in help: exit

Overrides: extended_cmd.Cmd.do_quit
(inherited documentation)

do_treatcards(self, line)

source code 

MadWeight Function:create the various param_card // compile input for the run_card

Overrides: common_run_interface.CommonRunCmd.do_treatcards

do_check_events(self, line)

source code 

MadWeight Function: check that the events are valid and write the events to MG mapping

Overrides: common_run_interface.CommonRunCmd.do_check_events

ask_edit_cards(self, cards, *arg, **opts)

source code 
Overrides: common_run_interface.CommonRunCmd.ask_edit_cards
(inherited documentation)

Class Variable Details [hide private]

helporder

Value:
['MadWeight Function', 'Documented commands', 'Advanced commands']