ATLAS Offline Software
Loading...
Searching...
No Matches
mc.PhPy8EG_Prophecy_NNLOPS_nnlo_30_ggH125_ZZ4l.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2#-------------------------------------------------------------------------------------------------
3# Prophecy4f setup with input from PowHeg LHE, merge decays from Prophecy4f, output Pythia8 evtGen
4#-------------------------------------------------------------------------------------------------
5
6# need to save the value of inputGeneratorFile into powhegInputFile, since inputGeneratorFile is
7# overwritten with an OTF file name in PowhegControl
8powhegInputFile = runArgs.inputGeneratorFile # for prod jobs
9
10include('PowhegControl/PowhegControl_ggF_H_Common.py')
11
12
13# Setup Powheg to use some variables to be the same in the Prophecy config. These
14# should eventually be taken from the incoming LHE file
15
16PowhegConfig.generate(create_run_card_only=True)
17
18#--------------------------------------------------------------
19# configure Prophecy
20#--------------------------------------------------------------
21include('Prophecy4fControl/ProphecyPowhegCommon.py')
22
23# set name of LHE file - used below in merger
24
25# print "runArgs", runArgs
26
27#------------------------------------------------------------------------------------------------------
28# configure and run ProphecyPowhegMerger to merge the prophecy4f LHE file with the incoming PowHeg file
29#------------------------------------------------------------------------------------------------------
30
31include('Prophecy4fControl/ProphecyPowhegMergeCommon.py')
32
33#--------------------------------------------------------------
34# Pythia8 showering
35# note: Main31 is set in Pythia8_AZNLO_CTEQ6L1_EvtGen_Common.py
36#--------------------------------------------------------------
37# include('MC15JobOptions/Pythia8_AZNLO_CTEQ6L1_EvtGen_Common.py')
38include('Pythia8_i/Pythia8_AZNLO_CTEQ6L1_EvtGen_Common.py')
39
40#--------------------------------------------------------------
41# Pythia8 main31 update
42#--------------------------------------------------------------
43# genSeq.Pythia8.UserModes += [ 'Main31:NFinal = 1' ]
44
45if "UserHooks" in genSeq.Pythia8.__slots__.keys():
46
47 genSeq.Pythia8.Commands += ['Powheg:NFinal = 2']
48
49else:
50
51 genSeq.Pythia8.UserModes += [ 'Main31:NFinal = 2' ]
52
53#--------------------------------------------------------------
54# Higgs at Pythia8
55#--------------------------------------------------------------
56# genSeq.Pythia8.Commands += ["TimeShower:QEDshowerByOther = off",
57# "TimeShower:QEDshowerByL = off",
58# "TimeShower:QEDshowerByGamma = off",
59# "TimeShower:QEDshowerByL = off",
60# "SpaceShower:QEDshowerByQ = off",
61# "SpaceShower:QEDshowerByL = off",
62# "UncertaintyBands:doVariations=off"]
63genSeq.Pythia8.Commands += ["TimeShower:QEDshowerByL = off",
64 "TimeShower:QEDshowerByGamma = off" ]
65
66# genSeq.Pythia8.Commands += ["TimeShower:QEDshowerByOther = off"]
67
68#--------------------------------------------------------------
69# EVGEN configuration
70#--------------------------------------------------------------
71evgenConfig.description = "POWHEG+PROPHECY+PYTHIA8+EVTGEN, H+jet production with NNLOPS and A14 tune, HZZ4l mh=125 GeV"
72evgenConfig.keywords = [ "Higgs", "SMHiggs", "ZZ" ]
73evgenConfig.contact = [ 'R.D.Schaffer@cern.ch' ]
74
75evgenConfig.nEventsPerJob = 10000