|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from AthenaCommon
import Logging
4 from ..powheg_V2
import PowhegV2
7 logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for W-boson pair production including interference for identical leptons.
13 Create a configurable object with all applicable Powheg options.
15 @author James Robinson <james.robinson@cern.ch>
19 """! Constructor: all process options are set here.
21 @param base_directory: path to PowhegBox code.
22 @param kwargs dictionary of arguments from Generate_tf.
24 super(WW, self).
__init__(base_directory,
"WW", **kwargs)
30 self.
allowed_decay_modes = [
"w+ w- > e+ ve e- ve~",
"w+ w- > mu+ vm mu- vm~",
"w+ w- > tau+ vt tau- vt~",
31 "w+ w- > e+ ve mu- vm~",
"w+ w- > mu+ vm e- ve~",
"w+ w- > e+ ve tau- vt~",
32 "w+ w- > tau+ vt e- ve~",
"w+ w- > mu+ vm tau- vt~",
"w+ w- > tau+ vt mu- vm~",
33 "w+ w- > e+ ve mu- vm~ / mu+ vm e- ve~",
"w+ w- > e+ ve tau- vt~ / tau+ vt e- ve~",
34 "w+ w- > mu+ vm tau- vt~ / tau+ vt mu- vm~",
"w+ w- > l+ vl l'- vl'~",
35 "w+ w- > j j j j",
"w+ w- > l+ vl j j / j j l- vl~"]
145 self.
add_keyword(
"WpWmevev",
"w+ w- > l+ vl l'- vl'~", name=
"decay_mode", hidden=
False)
165 """! Validate the various decay mode keywords."""
171 __decay_mode_lookup = {
"w+ w- > e+ ve e- ve~":
"WpWmevev",
172 "w+ w- > mu+ vm mu- vm~":
"WpWmmuvmuv",
173 "w+ w- > tau+ vt tau- vt~":
"WpWmtauvtauv",
174 "w+ w- > e+ ve mu- vm~":
"WpWmevmuv",
175 "w+ w- > mu+ vm e- ve~":
"WpWmmuvev",
176 "w+ w- > e+ ve tau- vt~":
"WpWmevtauv",
177 "w+ w- > tau+ vt e- ve~":
"WpWmtauvev",
178 "w+ w- > mu+ vm tau- vt~":
"WpWmuvtauv",
179 "w+ w- > tau+ vt mu- vm~":
"WpWmtauvmuv",
180 "w+ w- > e+ ve mu- vm~ / mu+ vm e- ve~":
"WWevmuv",
181 "w+ w- > e+ ve tau- vt~ / tau+ vt e- ve~":
"WWevtauv",
182 "w+ w- > mu+ vm tau- vt~ / tau+ vt mu- vm~":
"WWmuvtauv",
183 "w+ w- > l+ vl l'- vl'~":
"WWlvlv",
184 "w+ w- > j j j j":
"WWqqqq",
185 "w+ w- > l+ vl j j / j j l- vl~":
"WWlvqq"}
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.
allowed_decay_modes
List of allowed decay modes.
def parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
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 validate_decays(self)
Validate the various decay mode keywords.
def default_PDFs(self)
Default PDFs for this process.
Base class for PowhegBox V2 processes.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Default Powheg configuration for W-boson pair production including interference for identical leptons...