![]() |
ATLAS Offline Software
|
Provides PowhegConfig objects which are user-configurable in the jobOptions. More...
Public Types | |
| typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type | result |
Public Member Functions | |
| __init__ (self, process_name, run_args=None, run_opts=None) | |
| Constructor. | |
| 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. | |
| define_event_weight_group (self, group_name, parameters_to_vary, combination_method="none") | |
| Add a new named group of event weights. | |
| add_weight_to_group (self, group_name, weight_name, parameter_values) | |
| Add a new event weight to an existing group. | |
| __setattr__ (self, key, value) | |
| Override default attribute setting to stop users setting non-existent attributes. | |
| set_parameter_stage (self, parameterStageDict={}) | |
Public Attributes | |
| scheduler = Scheduler() | |
| Scheduler to determine algorithm ordering. | |
| process = getattr(processes.powheg, process_name)(os.environ["POWHEGPATH"].replace("POWHEG-BOX", ""), **process_kwargs) | |
| nEvents | |
| bool | interface_frozen = True |
| bornsuppfact | |
| bornktmin | |
Protected Member Functions | |
| _generate_run_card (self) | |
| Initialise runcard with appropriate options. | |
| _generate_events (self, is_bb4l_semilep=False) | |
| Generate events according to the scheduler. | |
Private Attributes | |
| __run_directory = os.environ["PWD"] | |
| Current directory. | |
| str | __output_LHE_file = "PowhegOTF._1.events" |
| Name of output LHE file used by Generate_tf for showering. | |
| __event_weight_groups = collections.OrderedDict() | |
| Dictionary of named groups of event weights. | |
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.
|
inherited |
Definition at line 90 of file EDM_MasterSearch.h.
| 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.
| 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.
|
protected |
Generate events according to the scheduler.
Definition at line 285 of file powheg_control.py.
|
protected |
Initialise runcard with appropriate options.
Definition at line 162 of file powheg_control.py.
| 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.
| 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.
| 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.
| 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 |
Name of output LHE file used by Generate_tf for showering.
Name of output LHE file.
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.bornktmin |
Definition at line 166 of file powheg_control.py.
| python.powheg_control.PowhegControl.bornsuppfact |
Definition at line 166 of file powheg_control.py.
| bool python.powheg_control.PowhegControl.interface_frozen = True |
Definition at line 132 of file powheg_control.py.
| python.powheg_control.PowhegControl.nEvents |
Definition at line 128 of file powheg_control.py.
| python.powheg_control.PowhegControl.process = getattr(processes.powheg, process_name)(os.environ["POWHEGPATH"].replace("POWHEG-BOX", ""), **process_kwargs) |
Definition at line 91 of file powheg_control.py.
| python.powheg_control.PowhegControl.scheduler = Scheduler() |
Scheduler to determine algorithm ordering.
Definition at line 60 of file powheg_control.py.