Trees | Indices | Help |
---|
|
object --+ | dict --+ | ConfigFile --+ | PY8Card
Implements the Pythia8 card.
|
|||
|
|||
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
Placeholder function to allow overwriting in the PY8SubRun daughter. The initialization of the self.subruns attribute should of course not be performed in PY8SubRun. |
Sets up the list of available PY8 parameters.
|
initialize a new instance. input can be an instance of MadLoopParam, a file, a path to a file, or simply Nothing
|
add a parameter to the card. value is the default value and defines the type (int/float/bool/str) of the input. The option 'hidden' decides whether the parameter should be visible to the user. The option 'always_write_to_card' decides whether it should always be printed or only when it is system_set or user_set. The option 'comment' can be used to specify a comment to write above hidden parameters.
|
format the variable into pythia8 card convention. The type is detected by default |
Write the card to output_file using a specific template. > 'print_only_visible' specifies whether or not the hidden parameters should be written out if they are in the hidden_params_to_always_write list and system_set. > If 'direct_pythia_input' is true, then visible parameters which are not in the self.visible_params_to_always_write list and are not user_set or system_set are commented. > If 'add_missing' is False then parameters that should be written_out but are absent from the template will not be written out. |
Read the input file, this can be a path to a file, a file object, a str with the content of the file. The setter option choses the authority that sets potential modified/new parameters. It can be either: 'default' or 'user' or 'system' |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 20 09:18:04 2018 | http://epydoc.sourceforge.net |