Package madgraph :: Package interface :: Module reweight_interface :: Class ReweightInterface
[hide private]
[frames] | no frames]

Class ReweightInterface

source code

              object --+        
                       |        
   extended_cmd.CheckCmd --+    
                           |    
              object --+   |    
                       |   |    
    extended_cmd.HelpCmd --+    
                           |    
              object --+   |    
                       |   |    
extended_cmd.CompleteCmd --+    
                           |    
             cmd.Cmd --+   |    
                       |   |    
   extended_cmd.BasicCmd --+    
                           |    
            extended_cmd.Cmd --+
                               |
                              ReweightInterface

Basic interface for reweighting operation

Nested Classes [hide private]

Inherited from extended_cmd.Cmd: ConfigurationError, InvalidCmd

Instance Methods [hide private]
 
__init__(self, *args, **opt)
initialize the interface with potentially an event_path
source code
 
do_import(self, inputfile)
import the event file
source code
 
check_events(self)
Check some basic property of the events file
source code
 
complete_import(*args, **opt)
Complete the import command
source code
 
check_set(self, args)
checking the validity of the set command
source code
 
check_launch(self, args)
check the validity of the launch command
source code
 
help_launch(self)
help for the launch command
source code
 
do_launch(self, line)
end of the configuration launched the code
source code
 
calculate_weight(self, event) source code
 
calculate_matrix_element(self, event, hypp_id)
routine to return the matrix element
source code
 
terminate_fortran_executables(self, new_card_only=False)
routine to terminate all fortran executables
source code
 
do_quit(self, line)
Not in help: exit the mainloop()
source code
 
__del__(self) source code
 
adding_me(self, matrix_elements, path)
Adding one element to the list based on the matrix element
source code
 
create_standalone_directory(self, *args, **opt)
generate the various directory for the weight evaluation
source code
 
load_model(self, name, use_mg_default, complex_mass=False)
load the model
source code

Inherited from extended_cmd.Cmd: ask, avoid_history_duplicate, check_answer_in_input_file, check_import, compile, default, define_child_cmd_interface, do_EOF, do_display, do_exit, do_help, do_history, 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

Static Methods [hide private]

Inherited from extended_cmd.Cmd: timed_input

Inherited from extended_cmd.BasicCmd: list_completion, path_completion, split_arg

Class Variables [hide private]
  prompt = 'Reweight>'
  debug_output = 'Reweight_debug'

Inherited from extended_cmd.Cmd: config_debug, error_debug, history_header, keyboard_stop_msg, next_possibility

Inherited from extended_cmd.Cmd (private): _display_opts

Inherited from cmd.Cmd: 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]

__init__(self, *args, **opt)
(Constructor)

source code 

initialize the interface with potentially an event_path

Decorators:
  • @misc.mute_logger()
Overrides: cmd.Cmd.__init__

do_import(self, inputfile)

source code 

import the event file

Overrides: extended_cmd.Cmd.do_import

complete_import(*args, **opt)

source code 

Complete the import command

Decorators:
  • @extended_cmd.debug()

do_quit(self, line)

source code 

Not in help: exit the mainloop()

Overrides: extended_cmd.Cmd.do_quit
(inherited documentation)

create_standalone_directory(self, *args, **opt)

source code 

generate the various directory for the weight evaluation

Decorators:
  • @misc.mute_logger()