![]() |
ATLAS Offline Software
|
Provides PowhegConfig objects which are user-configurable in the jobOptions. More...
Public Member Functions | |
| def | __init__ (self, process_name, run_args=None, run_opts=None) |
| Constructor. More... | |
| def | generate (self, create_run_card_only=False, save_integration_grids=True, use_external_run_card=False, remove_oldStyle_rwt_comments=False, is_bb4l_semilep=False) |
| Run normal event generation. More... | |
| def | define_event_weight_group (self, group_name, parameters_to_vary, combination_method="none") |
| Add a new named group of event weights. More... | |
| def | add_weight_to_group (self, group_name, weight_name, parameter_values) |
| Add a new event weight to an existing group. More... | |
| def | __setattr__ (self, key, value) |
| Override default attribute setting to stop users setting non-existent attributes. More... | |
| def | set_parameter_stage (self, parameterStageDict={}) |
Public Attributes | |
| scheduler | |
| Scheduler to determine algorithm ordering. More... | |
| process | |
| interface_frozen | |
Private Member Functions | |
| def | _generate_run_card (self) |
| Initialise runcard with appropriate options. More... | |
| def | _generate_events (self, is_bb4l_semilep=False) |
| Generate events according to the scheduler. More... | |
Private Attributes | |
| __run_directory | |
| Current directory. More... | |
| __output_LHE_file | |
| Add run directory to PYTHONPATH. More... | |
| __event_weight_groups | |
| Dictionary of named groups of event weights. More... | |
Provides PowhegConfig objects which are user-configurable in the jobOptions.
All subprocesses inherit from this class.
Definition at line 33 of file powheg_control.py.
| def python.powheg_control.PowhegControl.__init__ | ( | self, | |
| process_name, | |||
run_args = None, |
|||
run_opts = None |
|||
| ) |
Constructor.
| run_args | Generate_tf run arguments |
| run_opts | athena run options |
Definition at line 41 of file powheg_control.py.
| def python.powheg_control.PowhegControl.__setattr__ | ( | self, | |
| key, | |||
| value | |||
| ) |
Override default attribute setting to stop users setting non-existent attributes.
@exceptions AttributeError Raise an AttributeError if the interface is frozen
| key | Attribute name. |
| value | Value to set the attribute to. |
Definition at line 380 of file powheg_control.py.
|
private |
Generate events according to the scheduler.
Definition at line 285 of file powheg_control.py.
|
private |
Initialise runcard with appropriate options.
Definition at line 162 of file powheg_control.py.
| def python.powheg_control.PowhegControl.add_weight_to_group | ( | self, | |
| group_name, | |||
| weight_name, | |||
| parameter_values | |||
| ) |
Add a new event weight to an existing group.
| group_name | Name of the group of weights that this weight belongs to. |
| weight_name | Name of this event weight. |
| parameter_values | Values of the parameters. |
Definition at line 361 of file powheg_control.py.
| def python.powheg_control.PowhegControl.define_event_weight_group | ( | self, | |
| group_name, | |||
| parameters_to_vary, | |||
combination_method = "none" |
|||
| ) |
Add a new named group of event weights.
@exceptions ValueError Raise a ValueError if reweighting is not supported.
| group_name | Name of the group of weights. |
| parameters_to_vary | Names of the parameters to vary. |
| combination_method | Method for combining the weights. |
Definition at line 342 of file powheg_control.py.
| def python.powheg_control.PowhegControl.generate | ( | self, | |
create_run_card_only = False, |
|||
save_integration_grids = True, |
|||
use_external_run_card = False, |
|||
remove_oldStyle_rwt_comments = False, |
|||
is_bb4l_semilep = False |
|||
| ) |
Run normal event generation.
| create_run_card_only | Only generate the run card. |
| save_integration_grids | Save the integration grids for future reuse. |
| use_external_run_card | Use a user-provided Powheg run card (powheg.input). |
| remove_oldStyle_rwt_comments | Removes old-style '#rwgt', '#pdf', '#new weight', '#matching', and ' Random' comments in lhe files (kept by default despite using xml reweighting). |
Definition at line 137 of file powheg_control.py.
| def python.powheg_control.PowhegControl.set_parameter_stage | ( | self, | |
parameterStageDict = {} |
|||
| ) |
Definition at line 405 of file powheg_control.py.
|
private |
Dictionary of named groups of event weights.
Definition at line 57 of file powheg_control.py.
|
private |
Add run directory to PYTHONPATH.
Name of output LHE file.
Name of output LHE file used by Generate_tf for showering
Definition at line 54 of file powheg_control.py.
|
private |
Current directory.
Definition at line 48 of file powheg_control.py.
| python.powheg_control.PowhegControl.interface_frozen |
Definition at line 132 of file powheg_control.py.
| python.powheg_control.PowhegControl.process |
Definition at line 91 of file powheg_control.py.
| python.powheg_control.PowhegControl.scheduler |
Scheduler to determine algorithm ordering.
Definition at line 60 of file powheg_control.py.
1.8.18