|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from ..powheg_V2
import PowhegV2
7 """! Default Powheg configuration for W-boson production with an associated photon.
9 Create a configurable object with all applicable Powheg options.
11 @author James Robinson <james.robinson@cern.ch>
15 """! Constructor: all process options are set here.
17 @param base_directory: path to PowhegBox code.
18 @param kwargs dictionary of arguments from Generate_tf.
20 super(Wy, self).
__init__(base_directory,
"Wgamma", **kwargs)
26 self.
allowed_decay_modes = [
"w- > e- ve~",
"w- > mu- vm~",
"w- > tau- vt~",
"w+ > e+ ve",
"w+ > mu+ vm",
"w+ > tau+ vt"]
166 """! Validate idvecbos and vdecaymode keywords."""
171 __decay_mode_lookup = {
"e- ve~": 1,
"mu- vm~": 2,
"tau- vt~": 3,
"e+ ve": 1,
"mu+ vm": 2,
"tau+ vt": 3}
def expose(self)
Add all names to the interface of this object.
def default_scales(self)
Default scale variations for this process.
def add_keyword(self, keyword, value=None, name=None, frozen=None, hidden=None, description=None, **kwargs)
Register configurable parameter that is exposed to the user.
def validate_decays(self)
Validate idvecbos and vdecaymode keywords.
def parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
allowed_decay_modes
List of allowed decay modes.
validation_functions
List of validation functions to run before preparing runcard.
def check_decay_mode(self, decay_mode, allowed_decay_modes=None)
Check whether a decay mode is allowed an raise an exception if it is not.
def default_PDFs(self)
Default PDFs for this process.
Base class for PowhegBox V2 processes.
Default Powheg configuration for W-boson production with an associated photon.