ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
PowhegControl
share
example
features
NNLOPS
mc.PhPy8EG_A14NNPDF23_NNLOPS_example.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
# --------------------------------------------------------------
4
# EVGEN configuration
5
# --------------------------------------------------------------
6
evgenConfig.description =
"PowhegControl example of NNLOPS syntax"
7
evgenConfig.keywords = [
"SM"
,
"Higgs"
,
"jet"
]
8
evgenConfig.contact = [
"james.robinson@cern.ch"
]
9
10
# --------------------------------------------------------------
11
# Load ATLAS defaults for the Powheg Hj process
12
# --------------------------------------------------------------
13
include(
"PowhegControl/PowhegControl_Hj_Common.py"
)
14
15
# --------------------------------------------------------------
16
# Set integration parameters to tiny values for fast testing
17
# DO NOT USE THESE SETTINGS IN PRODUCTION!
18
# --------------------------------------------------------------
19
PowhegConfig.ncall1 = 1000
20
PowhegConfig.ncall1rm = 1000
21
PowhegConfig.ncall2 = 1000
22
PowhegConfig.ncall2rm = 1000
23
PowhegConfig.nubound = 1000
24
PowhegConfig.foldphi = 1
25
PowhegConfig.foldcsi = 1
26
PowhegConfig.foldy = 1
27
PowhegConfig.itmx1 = 1
28
PowhegConfig.itmx2 = 1
29
30
# --------------------------------------------------------------
31
# Reweighting: construct event weight group for quark mass variations.
32
# --------------------------------------------------------------
33
PowhegConfig.define_event_weight_group(group_name=
"quark_mass_variation"
, parameters_to_vary=[
"bmass_in_minlo"
,
"quarkmasseffects"
])
34
# mtmb means both top and b masses are considered in the loop. This is the nominal choice.
35
# mtinf is "EFT", meaning the top quark mass is set to infinity, and mb=0 (ignored)
36
# mtmb-bminlo is an alternative treatment of the b-mass
37
PowhegConfig.add_weight_to_group(group_name=
"quark_mass_variation"
, weight_name=
"mtmb"
, parameter_values=[0, 1])
38
PowhegConfig.add_weight_to_group(group_name=
"quark_mass_variation"
, weight_name=
"mtinf"
, parameter_values=[0, 0])
39
PowhegConfig.add_weight_to_group(group_name=
"quark_mass_variation"
, weight_name=
"mtmb-bminlo"
, parameter_values=[1, 1])
40
41
# --------------------------------------------------------------
42
# NNLOPS: specify the input files
43
# --------------------------------------------------------------
44
PowhegConfig.NNLO_reweighting_inputs[
"nn-mtinf"
] =
"H1250_CM13_CT10_APX0_11.top"
45
PowhegConfig.NNLO_reweighting_inputs[
"nn-mtmb"
] =
"H1250_CM13_CT10_APX2_22.top"
46
47
# --------------------------------------------------------------
48
# NNLOPS: specify the output weights: remember to escape nested quotes
49
# --------------------------------------------------------------
50
PowhegConfig.NNLO_output_weights[
"nnlops-mtmb"
] =
"combine 'nn-mtmb' and 'mtmb'"
51
PowhegConfig.NNLO_output_weights[
"nnlops-mtinf"
] =
"combine \"nn-mtinf\" and \"mtinf\""
52
PowhegConfig.NNLO_output_weights[
"nnlops-mtmb-bminlo"
] =
"combine \"nn-mtmb\" and 'mtmb-bminlo'"
53
54
# --------------------------------------------------------------
55
# Generate events
56
# --------------------------------------------------------------
57
PowhegConfig.generate()
58
59
# --------------------------------------------------------------
60
# Pythia8 showering with the AZNLO tune
61
# --------------------------------------------------------------
62
include(
"Pythia8_i/Pythia8_AZNLO_CTEQ6L1_EvtGen_Common.py"
)
63
include(
"Pythia8_i/Pythia8_Powheg.py"
)
64
# Decay to diphoton only
65
genSeq.Pythia8.Commands += [
"25:onMode = off"
,
"25:onIfMatch = 22 22"
]
Generated on
for ATLAS Offline Software by
1.17.0