Package madgraph :: Package interface :: Module amcatnlo_run_interface :: Class AskRunNLO
[hide private]
[frames] | no frames]

Class AskRunNLO

source code

              object --+                
                       |                
extended_cmd.OriginalCmd --+            
                           |            
       extended_cmd.BasicCmd --+        
                               |        
      extended_cmd.SmartQuestion --+    
                                   |    
          extended_cmd.ControlSwitch --+
                                       |
                                      AskRunNLO

Instance Methods [hide private]
 
__init__(self, question, line_args=[], mode=None, force=False, *args, **opt)
to_control is a list of ('KEY': 'Choose the shower/hadronization program')
source code
 
check_available_module(self, options) source code
 
ans_lo(self, value)
function called if the user type lo=value.
source code
 
ans_nlo(self, value) source code
 
ans_amc__at__nlo(self, value) source code
 
ans_amc__at__lo(self, value) source code
 
ans_noshower(self, value) source code
 
ans_onlyshower(self, value) source code
 
ans_noshowerlo(self, value) source code
 
ans_madanalysis5(self, value)
shortcut madanalysis5 -> madanalysis
source code
 
get_allowed_order(self) source code
 
set_default_order(self) source code
 
set_switch_off_order(self) source code
 
get_allowed_fixed_order(self) source code
 
set_default_fixed_order(self) source code
 
color_for_fixed_order(self, switch_value) source code
 
color_for_shower(self, switch_value) source code
XX is the new key set by the user to a new value val_XX
consistency_fixed_order_shower(val_XX, val_YY)
-> YY is another key set by the user.
source code
XX is the new key set by the user to a new value val_XX
consistency_fixed_order_madspin(val_XX, val_YY)
-> YY is another key set by the user.
source code
XX is the new key set by the user to a new value val_XX
consistency_fixed_order_reweight(val_XX, val_YY)
-> YY is another key set by the user.
source code
 
consistency_fixed_order_madanalysis(self, vfix, vma5) source code
XX is the new key set by the user to a new value val_XX
consistency_shower_fixed_order(val_XX, val_YY)
-> YY is another key set by the user.
source code
XX is the new key set by the user to a new value val_XX
consistency_madspin_fixed_order(val_XX, val_YY)
-> YY is another key set by the user.
source code
XX is the new key set by the user to a new value val_XX
consistency_reweight_fixed_order(val_XX, val_YY)
-> YY is another key set by the user.
source code
XX is the new key set by the user to a new value val_XX
consistency_madanalysis_fixed_order(val_XX, val_YY)
-> YY is another key set by the user.
source code
 
get_allowed_shower(self) source code
 
check_value_shower(self, value) source code
 
set_default_shower(self) source code
 
consistency_shower_madanalysis(self, vshower, vma5)
MA5 only possible with (N)LO+PS if shower is run
source code
 
consistency_madanalysis_shower(self, vma5, vshower) source code
 
get_cardcmd_for_shower(self, value)
adpat run_card according to this setup.
source code
 
get_allowed_madspin(self) source code
 
check_value_madspin(self, value)
handle alias and valid option not present in get_allowed_madspin remember that this mode should always be OFF for 1>N.
source code
 
set_default_madspin(self) source code
 
get_cardcmd_for_madspin(self, value)
set some command to run before allowing the user to modify the cards.
source code
 
get_allowed_reweight(self)
set the valid (visible) options for reweight
source code
 
set_default_reweight(self)
initialise the switch for reweight
source code
 
get_cardcmd_for_reweight(self, value)
adpat run_card according to this setup.
source code
 
get_allowed_madanalysis(self) source code
 
set_default_madanalysis(self)
initialise the switch for reweight
source code
 
check_value_madanalysis(self, value)
check an entry is valid.
source code

Inherited from extended_cmd.ControlSwitch: check_consistency, check_value, color_for_value, create_question, default, default_switch_for, do_help, get_allowed, get_cardcmd, is_case_sensitive, onecmd, postcmd, print_help_for_switch, print_options, question_formatting, remove_inconsistency, set_all_off, set_default_switch, set_switch, special_check_answer_in_input_file

Inherited from extended_cmd.SmartQuestion: __call__, cmdloop, complete_help, completedefault, completenames, emptyline, get_names, preloop, reask

Inherited from extended_cmd.BasicCmd: complete, deal_multiple_categories, getTerminalSize, print_suggestions, set_readline_completion_display_matches_hook

Inherited from extended_cmd.OriginalCmd: columnize, parseline, postloop, precmd, print_topics

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from extended_cmd.BasicCmd: list_completion, path_completion, split_arg

Class Variables [hide private]
  to_control = [('order', 'Type of perturbative computation'), (...
  quit_on = ['0', 'done', 'EOF', '', 'auto', 'onlyshower']

Inherited from extended_cmd.ControlSwitch: bold, case_sensitive, green, red, yellow

Inherited from extended_cmd.SmartQuestion: allowpath

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

Properties [hide private]
  answer

Inherited from object: __class__

Method Details [hide private]

__init__(self, question, line_args=[], mode=None, force=False, *args, **opt)
(Constructor)

source code 

to_control is a list of ('KEY': 'Choose the shower/hadronization program')

Overrides: object.__init__
(inherited documentation)

ans_lo(self, value)

source code 

function called if the user type lo=value. or lo (then value is None)

consistency_fixed_order_shower(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_fixed_order_madspin(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_fixed_order_reweight(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_shower_fixed_order(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_madspin_fixed_order(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_reweight_fixed_order(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

consistency_madanalysis_fixed_order(val_XX, val_YY)

source code 

-> YY is another key set by the user. -> return value should be None or "replace_YY"

Returns: XX is the new key set by the user to a new value val_XX

get_cardcmd_for_shower(self, value)

source code 

adpat run_card according to this setup. return list of cmd to run

check_value_madspin(self, value)

source code 

handle alias and valid option not present in get_allowed_madspin remember that this mode should always be OFF for 1>N. (ON not in allowed value)

get_cardcmd_for_reweight(self, value)

source code 

adpat run_card according to this setup. return list of cmd to run

check_value_madanalysis(self, value)

source code 

check an entry is valid. return the valid entry in case of shortcut


Class Variable Details [hide private]

to_control

Value:
[('order', 'Type of perturbative computation'),
 ('fixed_order', 'No MC@[N]LO matching / event generation'),
 ('shower', 'Shower the generated events'),
 ('madspin', 'Decay onshell particles'),
 ('reweight', 'Add weights to events for new hypp.'),
 ('madanalysis', 'Run MadAnalysis5 on the events generated')]

Property Details [hide private]

answer

Get Method:
unreachable.answer(self)