|
ATLAS Offline Software
|
Go to the documentation of this file.
4 from AthenaCommon
import Logging
5 from ..powheg_RES
import PowhegRES
8 logger = Logging.logging.getLogger(
"PowhegControl")
11 """! Default Powheg configuration for
12 NLO QCD corrections to 4 lepton production in gluon fusion,
13 including the Higgs-mediated contribution, the diboson background and their interference.
15 Create a configurable object with all applicable Powheg options.
17 @author Andrej Saibel <Andrej.Saibel@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(gg4l, self).
__init__(base_directory,
"gg4l", **kwargs)
28 os.environ[
'gg4lPATH'] = os.path.dirname(self.
executable)
29 logger.info(
"gg4lPATH defined as = {0}".
format(os.getenv(
'gg4lPATH')))
218 """! Validate Process and Contribution modes"""
222 if "\'" not in self.
proc:
224 if "\'" not in self.
contr:
229 logger.warning(
"Powheg/gg4l does support directly 4e, 4mu or tau final states.")
231 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have 4e final states - make sure to validate!")
234 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have 4mu final states - make sure to validate!")
237 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have 4tau final states - make sure to validate!")
241 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have 2e2tau final states - make sure to validate!")
244 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have 2mu2tau final states - make sure to validate!")
247 logger.warning(
"Ask to generate 2e2mu decays and hack the LHE files to have inclusive 4l decays - make sure to validate!")
257 logger.warning(
"Process mode {} not recognised!".
format(self.
proc))
258 raise ValueError(
"Process mode {} not recognised!".
format(self.
proc))
261 logger.warning(
"Contribution mode {} not recognised!".
format(self.
contr))
262 raise ValueError(
"Contribution mode {} not recognised!".
format(self.
contr))
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 manually_set_openloops_gnu_paths(self)
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.
def validate_process_contrib(self)
Validate Process and Contribution 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 link_external_powheg_libraries(self, librarypath)
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
def default_PDFs(self)
Default PDFs for this process.
executable
Powheg executable that will be used.
Default Powheg configuration for NLO QCD corrections to 4 lepton production in gluon fusion,...
Base class for PowhegBox RES processes.