|
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 single top production with an associated W-boson through the t-channel (diagram subtraction).
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(Wt_DS, self).
__init__(base_directory,
"ST_wtch_DS", **kwargs)
31 "t > b mu+ vm",
"t > b tau+ vt",
"t~ > all",
"t~ > b~ j j",
"t~ > b~ l- vl~",
32 "t~ > b~ emu- vemu~",
"t~ > b~ e- ve~",
"t~ > b~ mu- vm~",
"t~ > b~ tau- vt~"]
35 self.
allowed_W_decay_modes = [
"w > all",
"w > j j",
"w > l vl",
"w > emu vemu",
"w > e ve",
"w > mu vm",
"w > tau vt"]
167 """! Validate ttype, topdecaymode and wdecaymode keywords."""
170 logger.warning(
"Decay mode {} not recognised!".
format(self.decay_mode_top))
171 logger.info(
"Allowed decay modes are:")
173 raise ValueError(
"Decay mode {} not recognised!".
format(self.decay_mode_top))
175 logger.warning(
"Decay mode {} not recognised!".
format(self.decay_mode_W))
176 logger.info(
"Allowed decay modes are:")
177 [logger.info(
"... {}".
format(decay_mode))
for decay_mode
in self.decay_mode_W]
178 raise ValueError(
"Decay mode {} not recognised!".
format(self.decay_mode_W))
181 __W_decay = self.decay_mode_W.
split(
"w > ")[1].strip()
182 __decay_mode_lookup = {
"all":
"11111",
"j j":
"00011",
"l vl":
"11100",
"emu vemu":
"11000",
"e ve":
"10000",
"mu vm":
"01000",
"tau vt":
"00100"}
std::string replace(std::string s, const std::string &s2, const std::string &s3)
def expose(self)
Add all names to the interface of this object.
def default_scales(self)
Default scale variations for this process.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
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 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 validate_decays(self)
Validate ttype, topdecaymode and wdecaymode keywords.
allowed_top_decay_modes
List of allowed top decay modes.
allowed_W_decay_modes
List of allowed W decay modes.
Default Powheg configuration for single top production with an associated W-boson through the t-chann...
def default_PDFs(self)
Default PDFs for this process.
Base class for PowhegBox V2 processes.