1 from Herwig7_i.Herwig7_iConf
import Herwig7
2 from Herwig7_i.Herwig7ConfigMatchbox
import Hw7ConfigMatchbox
7 evgenConfig.generators += [
"Herwig7"]
8 evgenConfig.tune =
"H7.1-Default"
9 evgenConfig.description =
"Herwig7 Zee sample with CT10 ME PDF and H7.1-Default PS and UE tune"
10 evgenConfig.keywords = [
"SM",
"Z",
"electron"]
11 evgenConfig.contact = [
"Daniel Rauch (daniel.rauch@desy.de)"]
15 generator = Hw7ConfigMatchbox(genSeq, runArgs, run_name=
"HerwigMatchbox", beams=
"pp")
18 generator.me_pdf_commands(order=
"NLO", name=
"CT10")
19 generator.tune_commands()
22 generator.add_commands(
"""
23 ##################################################
25 ##################################################
28 read Matchbox/StandardModelLike.in
30 ## Set the hard process
31 set /Herwig/MatrixElements/Matchbox/Factory:OrderInAlphaS 0
32 set /Herwig/MatrixElements/Matchbox/Factory:OrderInAlphaEW 2
33 do /Herwig/MatrixElements/Matchbox/Factory:Process p p -> e+ e-
36 ##################################################
37 ## Matrix element library selection
38 ##################################################
40 # read Matchbox/MadGraph-MadGraph.in
41 # read Matchbox/MadGraph-NJet.in
42 # read Matchbox/MadGraph-OpenLoops.in
43 # read Matchbox/HJets.in
44 # read Matchbox/VBFNLO.in
47 ##################################################
49 ## See the documentation for more options
50 ##################################################
52 set /Herwig/Cuts/ChargedLeptonPairMassCut:MinMass 60*GeV
53 set /Herwig/Cuts/ChargedLeptonPairMassCut:MaxMass 120*GeV
55 ## cuts on additional jets
57 # read Matchbox/DefaultPPJets.in
59 # insert JetCuts:JetRegions 0 FirstJet
60 # insert JetCuts:JetRegions 1 SecondJet
61 # insert JetCuts:JetRegions 2 ThirdJet
62 # insert JetCuts:JetRegions 3 FourthJet
64 ##################################################
66 ## See the documentation for more options
67 ##################################################
69 cd /Herwig/MatrixElements/Matchbox
70 set Factory:ScaleChoice /Herwig/MatrixElements/Matchbox/Scales/LeptonPairMassScale
72 ##################################################
73 ## Matching and shower selection
74 ## Please also see flavour scheme settings
75 ## towards the end of the input file.
76 ##################################################
78 # read Matchbox/MCatNLO-DefaultShower.in
79 # read Matchbox/Powheg-DefaultShower.in
80 ## use for strict LO/NLO comparisons
81 read Matchbox/MCatLO-DefaultShower.in
82 ## use for improved LO showering
83 # read Matchbox/LO-DefaultShower.in
85 # read Matchbox/MCatNLO-DipoleShower.in
86 # read Matchbox/Powheg-DipoleShower.in
87 ## use for strict LO/NLO comparisons
88 # read Matchbox/MCatLO-DipoleShower.in
89 ## use for improved LO showering
90 # read Matchbox/LO-DipoleShower.in
92 # read Matchbox/LO-NoShower.in
93 # read Matchbox/NLO-NoShower.in
96 ##################################################
98 ##################################################
100 read Matchbox/FiveFlavourScheme.in
101 ## required for dipole shower and fixed order in five flavour scheme
102 # read Matchbox/FiveFlavourNoBMassScheme.in
106 generator.sampler_commands(
"MonacoSampler", 20000, 4, 50000, 1, 100)
109 generator.run(gridpack=
"Internal-Zee.tar.gz")