3from AthenaCommon
import Logging
4from ..powheg_V2
import PowhegV2
7logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for Higgs boson production in association with top quarks.
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(ttH, self).
__init__(base_directory,
"ttH", **kwargs)
30 self.
allowed_decay_modes = [
"t t~ > all",
"t t~ > b j j b~ j j",
"t t~ > b l+ vl b~ l- vl~",
"t t~ > b emu+ vemu b~ emu- vemu~",
"t t~ > semileptonic"]
135 """! Validate semileptonic and topdecaymode keywords."""
138 logger.warning(
"Decay mode {} not recognised!".format(self.
decay_mode))
139 raise ValueError(
"Decay mode {} not recognised!".format(self.
decay_mode))
141 __decay_mode_lookup = {
"t t~ > all":
"22222",
"t t~ > b j j b~ j j":
"00022",
"t t~ > b l+ vl b~ l- vl~":
"22200",
"t t~ > b emu+ vemu b~ emu- vemu~":
"22000",
"t t~ > semileptonic":
"11111"}
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 Higgs boson production in association with top quarks.
__init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
validate_decays(self)
Validate semileptonic and topdecaymode 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.
default_scales(self)
Default scale variations for this process.