|
__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
|
|
|
|
|
ans_parton(self,
value=None)
None: means that the user type 'pythia' value: means that the user
type pythia=value |
source code
|
|
|
get_allowed_shower(self)
return valid entry for the shower switch |
source code
|
|
|
|
|
|
|
ans_pythia(self,
value=None)
None: means that the user type 'pythia' value: means that the user
type pythia=value |
source code
|
|
XX is the new key set by the user to a new value val_XX
|
consistency_shower_detector(val_XX,
val_YY)
-> YY is another key -> return value should be None or
"replace_YY" |
source code
|
|
|
get_allowed_detector(self)
return valid entry for the switch |
source code
|
|
|
|
|
ans_pgs(self,
value=None)
None: means that the user type 'pgs' value: means that the user type
pgs=value |
source code
|
|
|
ans_delphes(self,
value=None)
None: means that the user type 'delphes' value: means that the user
type delphes=value |
source code
|
|
XX is the new key set by the user to a new value val_XX
|
consistency_detector_shower(val_XX,
val_YY)
-> YY is another key -> return value should be None or
"replace_YY" |
source code
|
|
|
get_allowed_analysis(self)
return valid entry for the shower switch |
source code
|
|
|
|
|
set_default_analysis(self)
initialise the switch for analysis |
source code
|
|
|
|
|
check_value_madspin(self,
value)
handle alias and valid option not present in get_allowed_madspin |
source code
|
|
|
set_default_madspin(self)
initialise the switch for madspin |
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)
return the list of valid option for reweight=XXX |
source code
|
|
|
set_default_reweight(self)
initialise the switch for reweight |
source code
|
|
Inherited from extended_cmd.ControlSwitch :
check_consistency ,
check_consistency_with_all ,
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__
|