ATLAS Offline Software
DY_VLQ.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaCommon import Logging
4 from ...parameters import powheg_atlas_common
5 from ..powheg_V2 import PowhegV2
6 
7 
8 logger = Logging.logging.getLogger("PowhegControl")
9 
10 
12  """! Default Powheg configuration for Vector LeptoQuark production.
13 
14  https://arxiv.org/abs/2209.12780
15 
16  Create a configurable object with all applicable Powheg options.
17 
18  @author Timothee Theveneaux-Pelzer <tpelzer@cern.ch>
19  """
20 
21  def __init__(self, base_directory, **kwargs):
22  """! Constructor: all process options are set here.
23 
24  @param base_directory: path to PowhegBox code.
25  @param kwargs dictionary of arguments from Generate_tf.
26  """
27  super(DY_VLQ, self).__init__(base_directory, "DY_VLQ_NLO", **kwargs)
28 
29  # Add parameter validation functions
30  self.validation_functions.append("validate_decays")
31 
32 
33  self.allowed_decay_modes = ["ta+ ta-", "e+ e-", "mu+ mu-"]
34 
35  # Add all keywords for this process, overriding defaults if required
36  self.add_keyword("angcorr_damp") # using angular correlations aware damp function
37  self.add_keyword("bornktmin")
38  self.add_keyword("bornonly")
39  self.add_keyword("bornsuppfact")
40  self.add_keyword("bornzerodamp")
41  self.add_keyword("bottommass")
42  self.add_keyword("bottomthr")
43  self.add_keyword("bottomthrpdf")
44  self.add_keyword("btildeborn")
45  self.add_keyword("btildecoll")
46  self.add_keyword("btildereal")
47  self.add_keyword("btildevirt")
48  self.add_keyword("btlscalect")
49  self.add_keyword("btlscalereal")
50  self.add_keyword("charmmass")
51  self.add_keyword("charmthr")
52  self.add_keyword("charmthrpdf")
53  self.add_keyword("check_bad_st1")
54  self.add_keyword("check_bad_st2")
55  self.add_keyword("clobberlhe")
56  self.add_keyword("colltest")
57  self.add_keyword("compress_lhe")
58  self.add_keyword("compress_upb")
59  self.add_keyword("compute_rwgt")
60  self.add_keyword("doublefsr")
61  self.add_keyword("evenmaxrat",0)
62  self.add_keyword("ew")
63  self.add_keyword("facscfact", self.default_scales[0])
64  self.add_keyword("fastbtlbound")
65  self.add_keyword("fixedgrid")
66  self.add_keyword("flg_debug")
67  self.add_keyword("foldcsi")
68  self.add_keyword("foldphi")
69  self.add_keyword("foldy")
70  self.add_keyword("fullrwgt")
71  self.add_keyword("fullrwgtmode")
72  self.add_keyword("gfermi")
73  self.add_keyword("hdamp")
74  self.add_keyword("hdecaymode")
75  self.add_keyword("hdecaywidth")
76  self.add_keyword("hfact", 104.16)
77  self.add_keyword("hmass")
78  self.add_keyword("hnew_damp")
79  self.add_keyword("hwidth")
80  self.add_keyword("icsimax")
81  self.add_keyword("ih1")
82  self.add_keyword("ih2")
83  self.add_keyword("itmx1", 2)
84  self.add_keyword("itmx1rm")
85  self.add_keyword("itmx2", 2)
86  self.add_keyword("itmx2rm")
87  self.add_keyword("iupperfsr")
88  self.add_keyword("iupperisr")
89  self.add_keyword("iymax")
90  self.add_keyword("lhans1", self.default_PDFs)
91  self.add_keyword("lhans2", self.default_PDFs)
92  self.add_keyword("lhapdf6maxsets")
93  self.add_keyword("lhrwgt_descr")
94  self.add_keyword("lhrwgt_group_combine")
95  self.add_keyword("lhrwgt_group_name")
96  self.add_keyword("lhrwgt_id")
97  self.add_keyword("manyseeds")
98  self.add_keyword("maxseeds")
99  self.add_keyword("mass_low") # lower limit for dilepton mass
100  self.add_keyword("mass_high") # upper limit for dilepton mass
101  self.add_keyword("mt", powheg_atlas_common.mass.t, name="mass_t", description="top quark mass in GeV")
102  self.add_keyword("ncall1", 30000)
103  self.add_keyword("ncall1rm")
104  self.add_keyword("ncall2", 50000)
105  self.add_keyword("ncall2rm")
106  self.add_keyword("ncallfrominput")
107  self.add_keyword("new_damp") # using new, better default damp function
108  self.add_keyword("nubound", 50000)
109  self.add_keyword("parallelstage")
110  self.add_keyword("pdfreweight")
111  self.add_keyword("rand1")
112  self.add_keyword("rand2")
113  self.add_keyword("renscfact", self.default_scales[1])
114  self.add_keyword("runningscale")
115  self.add_keyword("rwl_add")
116  self.add_keyword("rwl_file")
117  self.add_keyword("rwl_format_rwgt")
118  self.add_keyword("rwl_group_events")
119  self.add_keyword("smartsig")
120  self.add_keyword("softtest")
121  self.add_keyword("stage2init")
122  self.add_keyword("storeinfo_rwgt")
123  self.add_keyword("storemintupb")
124  self.add_keyword("testplots")
125  self.add_keyword("testsuda")
126  self.add_keyword("use-old-grid")
127  self.add_keyword("use-old-ubound")
128  self.add_keyword("vdecaymode", self.allowed_decay_modes[0], name="decay_mode")
129  self.add_keyword("withbtilde",1)
130  self.add_keyword("withdamp")
131  self.add_keyword("withremnants",1)
132  self.add_keyword("withnegweights")
133  self.add_keyword("withsubtr")
134  self.add_keyword("xgriditeration")
135  self.add_keyword("xupbound")
136  # General Leptoquark (LQ) Parameters
137  self.add_keyword("SM", 1) # Include SM contribution
138  self.add_keyword("LQ", 0) # Include basic LQ contributions
139  self.add_keyword("LQ-Int", 0, "LQ_Int") # Include the interference between the SM and the LQ contributions
140  # 4321 Model Parameters
141  self.add_keyword("g4", 0.) # SU(4) coupling strength g4
142  self.add_keyword("betaL3x3", 1.) # Relative coupling strength to left-handed fermions (3rd generation)
143  self.add_keyword("betaR3x3", 1.) # Relative coupling strength to right-handed fermions (3rd generation)
144  self.add_keyword("MU1", 1e4) # Mass of vector leptoquark U1
145  self.add_keyword("MGp", 1e4) # Mass of the coloron Gp
146 
147 
148  def validate_decays(self):
149  """! Validate semileptonic and topdecaymode keywords."""
150  self.expose() # convenience call to simplify syntax
151  if self.decay_mode not in self.allowed_decay_modes:
152  logger.warning("Decay mode {} not recognised!".format(self.decay_mode))
153  raise ValueError("Decay mode {} not recognised!".format(self.decay_mode))
154  # Calculate appropriate decay mode numbers
155  __decay_mode_lookup = { "ta+ ta-": "3", "e+ e-": "1", "mu+ mu-": "2"}
156  self.parameters_by_keyword("vdecaymode")[0].value = __decay_mode_lookup[self.decay_mode]
python.processes.configurable.Configurable.expose
def expose(self)
Add all names to the interface of this object.
Definition: configurable.py:46
python.processes.powheg.DY_VLQ.DY_VLQ.validate_decays
def validate_decays(self)
Validate semileptonic and topdecaymode keywords.
Definition: DY_VLQ.py:148
vtune_athena.format
format
Definition: vtune_athena.py:14
python.processes.powheg_base.PowhegBase.default_scales
def default_scales(self)
Default scale variations for this process.
Definition: powheg_base.py:246
python.processes.configurable.Configurable.add_keyword
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.
Definition: configurable.py:21
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
python.processes.configurable.Configurable.parameters_by_keyword
def parameters_by_keyword(self, keyword)
Retrieve all parameters that use a given keyword.
Definition: configurable.py:57
python.processes.powheg.DY_VLQ.DY_VLQ.allowed_decay_modes
allowed_decay_modes
List of allowed decay modes.
Definition: DY_VLQ.py:33
python.processes.powheg_base.PowhegBase.validation_functions
validation_functions
List of validation functions to run before preparing runcard.
Definition: powheg_base.py:179
python.processes.powheg.DY_VLQ.DY_VLQ
Default Powheg configuration for Vector LeptoQuark production.
Definition: DY_VLQ.py:11
python.processes.powheg_base.PowhegBase.default_PDFs
def default_PDFs(self)
Default PDFs for this process.
Definition: powheg_base.py:241
python.processes.powheg_V2.PowhegV2
Base class for PowhegBox V2 processes.
Definition: powheg_V2.py:6
python.processes.powheg.DY_VLQ.DY_VLQ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: DY_VLQ.py:21