3from AthenaCommon
import Logging
4from ..powheg_V2
import PowhegV2
8logger = Logging.logging.getLogger(
"PowhegControl")
12 """! Default Powheg configuration for same-sign W-boson pair plus jet pair production through vector boson fusion.
14 Create a configurable object with all applicable Powheg options.
16 @author James Robinson <james.robinson@cern.ch>
20 """! Constructor: all process options are set here.
22 @param base_directory: path to PowhegBox code.
23 @param kwargs dictionary of arguments from Generate_tf.
25 super(VBF_ssWW, self).
__init__(base_directory,
"vbf_wp_wp", **kwargs)
31 self.
allowed_decay_modes = [
"w- w- > {} {}".format(*x)
for x
in itertools.product([
"e- ve~",
"mu- vm~",
"tau- vt~",
"emu- vemu~",
"l- vl~"], repeat=2)] +\
32 [
"w+ w+ > {} {}".format(*x)
for x
in itertools.product([
"e+ ve",
"mu+ vm",
"tau+ vt",
"emu+ vemu",
"l+ vl"], repeat=2)]
141 """! Validate idvecbos, vdecaymodew1 and vdecaymodew2 keywords."""
146 __decay_mode_lookup = {
"e- ve~": 11,
"mu- vm~": 13,
"tau- vt~": 15,
"emu- vemu~": 113,
"l- vl~": 135,
147 "e+ ve": -11,
"mu+ vm": -13,
"tau+ vt": -15,
"emu+ vemu": -113,
"l+ vl": -135}
148 list(self.
parameters_by_keyword(
"vdecaymodew1"))[0].value = __decay_mode_lookup[
" ".join(__decay_products[0:2])]
149 list(self.
parameters_by_keyword(
"vdecaymodew2"))[0].value = __decay_mode_lookup[
" ".join(__decay_products[2:4])]
add_keyword(self, keyword, value=None, name=None, frozen=None, hidden=None, description=None, **kwargs)
Register configurable parameter that is exposed to the user.
expose(self)
Add all names to the interface of this object.
parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
Default Powheg configuration for same-sign W-boson pair plus jet pair production through vector boson...
__init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
validate_decays(self)
Validate idvecbos, vdecaymodew1 and vdecaymodew2 keywords.
list allowed_decay_modes
List of allowed decay modes.
Base class for PowhegBox V2 processes.
list validation_functions
List of validation functions to run before preparing runcard.
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.
default_scales(self)
Default scale variations for this process.
std::vector< std::string > split(const std::string &s, const std::string &t=":")