2 runconf=runArgs.jobConfig[0].
split(
"_")
8 include(
'PowhegControl/PowhegControl_ggF_H_Common.py')
12 PowhegConfig.mass_H = 125.
13 PowhegConfig.width_H = 0.00407
16 PowhegConfig.use_massive_b =
True
17 PowhegConfig.use_massive_c =
True
20 PowhegConfig.bwshape = 3
24 PowhegConfig.runningscale = 2
27 if PowhegConfig.mass_H <= 1000.:
37 masswindow = masswindow_max
38 if PowhegConfig.mass_H <= 700.:
39 masswindow =
min( (1799.9 - PowhegConfig.mass_H) / PowhegConfig.width_H, masswindow )
41 masswindow =
min( (1999.9 - PowhegConfig.mass_H) / PowhegConfig.width_H, masswindow )
42 PowhegConfig.masswindow = masswindow
43 PowhegConfig.hfact = PowhegConfig.mass_H / hfact_scale
46 PowhegConfig.nEvents *= 10.
48 PowhegConfig.generateRunCard()
49 PowhegConfig.generateEvents()
57 infile =
'PowhegOTF._1.events'
59 newfile = infile+
'.temp'
62 if line.startswith(
' 25 1'):
63 f2.write(line.replace(
' 25 1',
' 35 1'))
68 os.system(
'mv %s %s '%(infile, infile+
'.old') )
69 os.system(
'mv %s %s '%(newfile, infile) )
75 include(
'Pythia8_i/Pythia8_AZNLO_CTEQ6L1_EvtGen_Common.py')
80 genSeq.Pythia8.UserModes += [
'Main31:NFinal = 1']
86 A_Width = (
float(A_Mass) / 100. ) * 0.1
89 genSeq.Pythia8.Commands += [
92 '35:m0 = '+
str(H_Mass),
93 '35:mWidth = '+
str(H_Width),
94 '35:doForceWidth = on',
96 '35:onIfMatch = 36 36',
99 '36:oneChannel = 1 0.5 100 15 -15',
100 '36:addChannel = 1 0.5 100 13 -13',
101 '36:m0 = '+
str(A_Mass),
102 '36:mWidth = '+
str(A_Width),
103 '36:mMin = '+
str(A_MassMin),
104 '36:mMax = '+
str(A_MassMax),
110 evgenConfig.description =
"POWHEG+MiNLO+Pythia8 ggF H->aa->2mu2tau production, ma = %s GeV" % A_Mass
111 evgenConfig.keywords = [
"BSM",
"Higgs",
"BSMHiggs",
"mH125" ]
112 evgenConfig.contact = [
'benjamin.kaplan@cern.ch' ]
113 evgenConfig.generators = [
"Powheg",
"Pythia8",
"EvtGen"]
115 if not hasattr(genSeq,
"XtoVVDecayFilter"):
116 from GeneratorFilters.GeneratorFiltersConf
import XtoVVDecayFilter
117 genSeq += XtoVVDecayFilter()
122 genSeq.XtoVVDecayFilter.PDGGrandParent = 35
123 genSeq.XtoVVDecayFilter.PDGParent = 36
124 genSeq.XtoVVDecayFilter.StatusParent = 22
125 genSeq.XtoVVDecayFilter.PDGChild1 = [13]
126 genSeq.XtoVVDecayFilter.PDGChild2 = [15]