|
ATLAS Offline Software
|
Go to the documentation of this file.
3 from AthenaCommon
import Logging
4 from ...parameters
import powheg_atlas_common
5 from ..powheg_V2
import PowhegV2
6 from ..external
import ExternalMadSpin
9 logger = Logging.logging.getLogger(
"PowhegControl")
13 """! Default Powheg configuration for top-pair production.
15 Create a configurable object with all applicable Powheg options.
17 @author James Robinson <james.robinson@cern.ch>
21 """! Constructor: all process options are set here.
23 @param base_directory: path to PowhegBox code.
24 @param kwargs dictionary of arguments from Generate_tf.
26 super(tt, self).
__init__(base_directory,
"hvq", **kwargs)
35 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",
"t t~ > undecayed"]
115 self.
add_keyword(
"qmass", powheg_atlas_common.mass.t, name=
"mass_t", description=
"top quark mass in GeV")
158 """! Validate semileptonic and topdecaymode keywords."""
167 __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",
"t t~ > undecayed":
"00000"}
def expose(self)
Add all names to the interface of this object.
def add_algorithm(self, alg_or_process)
Add an algorithm or external process to the sequence.
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.
Class for running external MadSpin process.
def parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
def validate_decays(self)
Validate semileptonic and topdecaymode keywords.
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
validation_functions
List of validation functions to run before preparing runcard.
Default Powheg configuration for top-pair production.
externals
List of external processes to schedule.
def default_PDFs(self)
Default PDFs for this process.
Base class for PowhegBox V2 processes.
allowed_decay_modes
List of allowed decay modes.