diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/MakeCards.py b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/MakeCards.py new file mode 100755 index 000000000000..99cadee4d6fd --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/MakeCards.py @@ -0,0 +1,21 @@ +import os + +FolderTemplate = 'Zprime_Zh_Zbbhtautau_narrow_template' + +MassPoints = [600,800,1000,1200,1400,1600,1800,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000] + +for Mass in MassPoints: + + # copy template fragment + os.system(f'mkdir Zprime_Zh_Zbbhtautau_narrow_M{Mass}') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Zbbhtautau_narrow_customizecards.dat Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_customizecards.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Zbbhtautau_narrow_extramodels.dat Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_extramodels.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Zbbhtautau_narrow_proc_card.dat Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_proc_card.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Zbbhtautau_narrow_run_card.dat Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_run_card.dat') + + # change content using sed + print(f'Mass: {Mass}') + os.system(f"sed -i 's/MASS/{Mass}/g' Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_customizecards.dat") + os.system(f"sed -i 's/MASS/{Mass}/g' Zprime_Zh_Zbbhtautau_narrow_M{Mass}/Zprime_Zh_Zbbhtautau_narrow_M{Mass}_proc_card.dat") + +print(f"\nCreated cards") \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_customizecards.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_customizecards.dat new file mode 100644 index 000000000000..c2ee8294ae5e --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_customizecards.dat @@ -0,0 +1,5 @@ +set param_card mass 9000001 MASS +set param_card mass 9000002 MASS +set param_card rhoinputs 2 MASS +set param_card DECAY 9000001 1.000000e-03 +set param_card DECAY 9000002 1.000000e-03 \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_extramodels.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_extramodels.dat new file mode 100644 index 000000000000..c9eb8de4ea12 --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_extramodels.dat @@ -0,0 +1,2 @@ +#from https://github.com/syuvivida/DibosonBSMSignal_13TeV/tree/master/Models/Vector_Triplet_free_Width_UFO +dibosonResonanceModel.tar.gz diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_proc_card.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_proc_card.dat new file mode 100644 index 000000000000..01667c870d6a --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_proc_card.dat @@ -0,0 +1,9 @@ +set group_subprocesses Auto +set ignore_six_quark_processes False +set gauge unitary +set complex_mass_scheme False +import model Vector_Triplet_free_Width_UFO +define p = g u c d s b u~ c~ d~ s~ b~ +define q = u c d s b u~ c~ d~ s~ b~ +generate p p > vz, (vz > h z, h > ta+ ta-, z > b b~) +output Zprime_Zh_Zbbhtautau_narrow_MMASS -nojpeg \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_run_card.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_run_card.dat new file mode 100644 index 000000000000..81b81a2084a4 --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZbbHtautau/Zprime_Zh_Zbbhtautau_narrow_template/Zprime_Zh_Zbbhtautau_narrow_run_card.dat @@ -0,0 +1,271 @@ +#********************************************************************* +# MadGraph5_aMC@NLO * +# * +# run_card.dat MadEvent * +# * +# This file is used to set the parameters of the run. * +# * +# Some notation/conventions: * +# * +# Lines starting with a '# ' are info or comments * +# * +# mind the format: value = variable ! comment * +#********************************************************************* +# +#******************* +# Running parameters +#******************* +# +#********************************************************************* +# Tag name for the run (one word) * +#********************************************************************* + tag_1 = run_tag ! name of the run +#********************************************************************* +# Run to generate the grid pack * +#********************************************************************* + .false. = gridpack !True = setting up the grid pack +#********************************************************************* +# Number of events and rnd seed * +# Warning: Do not generate more than 1M events in a single run * +# If you want to run Pythia, avoid more than 50k events in a run. * +#********************************************************************* + 1000 = nevents ! Number of unweighted events requested + 0 = iseed ! rnd seed (0=assigned automatically=default)) +#********************************************************************* +# Collider type and energy * +# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, * +# 3=photon from electron * +#********************************************************************* + 1 = lpp1 ! beam 1 type + 1 = lpp2 ! beam 2 type + 6500 = ebeam1 ! beam 1 total energy in GeV + 6500 = ebeam2 ! beam 2 total energy in GeV +#********************************************************************* +# Beam polarization from -100 (left-handed) to 100 (right-handed) * +#********************************************************************* + 0 = polbeam1 ! beam polarization for beam 1 + 0 = polbeam2 ! beam polarization for beam 2 +#********************************************************************* +# PDF CHOICE: this automatically fixes also alpha_s and its evol. * +#********************************************************************* + 'lhapdf' = pdlabel ! PDF set +$DEFAULT_PDF_SETS = lhaid +$DEFAULT_PDF_MEMBERS = reweight_PDF ! if pdlabel=lhapdf, this is the lhapdf number +#********************************************************************* +# Renormalization and factorization scales * +#********************************************************************* + F = fixed_ren_scale ! if .true. use fixed ren scale + F = fixed_fac_scale ! if .true. use fixed fac scale + 91.1880 = scale ! fixed ren scale + 91.1880 = dsqrt_q2fact1 ! fixed fact scale for pdf1 + 91.1880 = dsqrt_q2fact2 ! fixed fact scale for pdf2 + 1 = scalefact ! scale factor for event-by-event scales +#********************************************************************* +# Matching - Warning! ickkw > 1 is still beta +#********************************************************************* + 0 = ickkw ! 0 no matching, 1 MLM, 2 CKKW matching + 1 = highestmult ! for ickkw=2, highest mult group + 1 = ktscheme ! for ickkw=1, 1 Durham kT, 2 Pythia pTE + 1 = alpsfact ! scale factor for QCD emission vx + F = chcluster ! cluster only according to channel diag + F = pdfwgt ! for ickkw=1, perform pdf reweighting + 5 = asrwgtflavor ! highest quark flavor for a_s reweight + T = clusinfo ! include clustering tag in output + 3.0 = lhe_version ! Change the way clustering information pass to shower. +#********************************************************************* +#********************************************************** +# +#********************************************************** +# Automatic ptj and mjj cuts if xqcut > 0 +# (turn off for VBF and single top processes) +#********************************************************** + T = auto_ptj_mjj ! Automatic setting of ptj and mjj +#********************************************************** +# +#********************************** +# BW cutoff (M+/-bwcutoff*Gamma) +#********************************** + 15 = bwcutoff ! (M+/-bwcutoff*Gamma) +#********************************************************** +# Apply pt/E/eta/dr/mij cuts on decay products or not +# (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply) +#********************************************************** + T = cut_decays ! Cut decay products +#************************************************************* +# Number of helicities to sum per event (0 = all helicities) +# 0 gives more stable result, but longer run time (needed for +# long decay chains e.g.). +# Use >=2 if most helicities contribute, e.g. pure QCD. +#************************************************************* + 0 = nhel ! Number of helicities used per event +#******************* +# Standard Cuts +#******************* +# +#********************************************************************* +# Minimum and maximum pt's (for max, -1 means no cut) * +#********************************************************************* + 10 = ptj ! minimum pt for the jets + 0 = ptb ! minimum pt for the b + 10 = pta ! minimum pt for the photons + 10 = ptl ! minimum pt for the charged leptons + 0 = misset ! minimum missing Et (sum of neutrino's momenta) + 0 = ptheavy ! minimum pt for one heavy final state + 1.0 = ptonium ! minimum pt for the quarkonium states + -1 = ptjmax ! maximum pt for the jets + -1 = ptbmax ! maximum pt for the b + -1 = ptamax ! maximum pt for the photons + -1 = ptlmax ! maximum pt for the charged leptons + -1 = missetmax ! maximum missing Et (sum of neutrino's momenta) +#********************************************************************* +# Minimum and maximum E's (in the center of mass frame) * +#********************************************************************* + 0 = ej ! minimum E for the jets + 0 = eb ! minimum E for the b + 0 = ea ! minimum E for the photons + 0 = el ! minimum E for the charged leptons + -1 = ejmax ! maximum E for the jets + -1 = ebmax ! maximum E for the b + -1 = eamax ! maximum E for the photons + -1 = elmax ! maximum E for the charged leptons +#********************************************************************* +# Maximum and minimum absolute rapidity (for max, -1 means no cut) * +#********************************************************************* + -1 = etaj ! max rap for the jets + -1 = etab ! max rap for the b + -1 = etaa ! max rap for the photons + -1 = etal ! max rap for the charged leptons + -1 = etaonium ! max rap for the quarkonium states + 0 = etajmin ! min rap for the jets + 0 = etabmin ! min rap for the b + 0 = etaamin ! min rap for the photons + 0 = etalmin ! main rap for the charged leptons +#********************************************************************* +# Minimum and maximum DeltaR distance * +#********************************************************************* + 0.0001 = drjj ! min distance between jets + 0 = drbb ! min distance between b's + 0 = drll ! min distance between leptons + 0 = draa ! min distance between gammas + 0 = drbj ! min distance between b and jet + 0.1 = draj ! min distance between gamma and jet + 0 = drjl ! min distance between jet and lepton + 0 = drab ! min distance between gamma and b + 0 = drbl ! min distance between b and lepton + 0.1 = dral ! min distance between gamma and lepton + -1 = drjjmax ! max distance between jets + -1 = drbbmax ! max distance between b's + -1 = drllmax ! max distance between leptons + -1 = draamax ! max distance between gammas + -1 = drbjmax ! max distance between b and jet + -1 = drajmax ! max distance between gamma and jet + -1 = drjlmax ! max distance between jet and lepton + -1 = drabmax ! max distance between gamma and b + -1 = drblmax ! max distance between b and lepton + -1 = dralmax ! maxdistance between gamma and lepton +#********************************************************************* +# Minimum and maximum invariant mass for pairs * +# WARNING: for four lepton final state mmll cut require to have * +# different lepton masses for each flavor! * +#********************************************************************* + 0 = mmjj ! min invariant mass of a jet pair + 0 = mmbb ! min invariant mass of a b pair + 0 = mmaa ! min invariant mass of gamma gamma pair + 0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair + -1 = mmjjmax ! max invariant mass of a jet pair + -1 = mmbbmax ! max invariant mass of a b pair + -1 = mmaamax ! max invariant mass of gamma gamma pair + -1 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair +#********************************************************************* +# Minimum and maximum invariant mass for all letpons * +#********************************************************************* + 0 = mmnl ! min invariant mass for all letpons (l+- and vl) + -1 = mmnlmax ! max invariant mass for all letpons (l+- and vl) +#********************************************************************* +# Minimum and maximum pt for 4-momenta sum of leptons * +#********************************************************************* + 0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl) + -1 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl) +#********************************************************************* +# Inclusive cuts * +#********************************************************************* + 0 = xptj ! minimum pt for at least one jet + 0 = xptb ! minimum pt for at least one b + 0 = xpta ! minimum pt for at least one photon + 0 = xptl ! minimum pt for at least one charged lepton +#********************************************************************* +# Control the pt's of the jets sorted by pt * +#********************************************************************* + 0 = ptj1min ! minimum pt for the leading jet in pt + 0 = ptj2min ! minimum pt for the second jet in pt + 0 = ptj3min ! minimum pt for the third jet in pt + 0 = ptj4min ! minimum pt for the fourth jet in pt + -1 = ptj1max ! maximum pt for the leading jet in pt + -1 = ptj2max ! maximum pt for the second jet in pt + -1 = ptj3max ! maximum pt for the third jet in pt + -1 = ptj4max ! maximum pt for the fourth jet in pt + 0 = cutuse ! reject event if fails any (0) / all (1) jet pt cuts +#********************************************************************* +# Control the pt's of leptons sorted by pt * +#********************************************************************* + 0 = ptl1min ! minimum pt for the leading lepton in pt + 0 = ptl2min ! minimum pt for the second lepton in pt + 0 = ptl3min ! minimum pt for the third lepton in pt + 0 = ptl4min ! minimum pt for the fourth lepton in pt + -1 = ptl1max ! maximum pt for the leading lepton in pt + -1 = ptl2max ! maximum pt for the second lepton in pt + -1 = ptl3max ! maximum pt for the third lepton in pt + -1 = ptl4max ! maximum pt for the fourth lepton in pt +#********************************************************************* +# Control the Ht(k)=Sum of k leading jets * +#********************************************************************* + 0 = htjmin ! minimum jet HT=Sum(jet pt) + -1 = htjmax ! maximum jet HT=Sum(jet pt) + 0 = ihtmin !inclusive Ht for all partons (including b) + -1 = ihtmax !inclusive Ht for all partons (including b) + 0 = ht2min ! minimum Ht for the two leading jets + 0 = ht3min ! minimum Ht for the three leading jets + 0 = ht4min ! minimum Ht for the four leading jets + -1 = ht2max ! maximum Ht for the two leading jets + -1 = ht3max ! maximum Ht for the three leading jets + -1 = ht4max ! maximum Ht for the four leading jets +#*********************************************************************** +# Photon-isolation cuts, according to hep-ph/9801442 * +# When ptgmin=0, all the other parameters are ignored * +# When ptgmin>0, pta and draj are not going to be used * +#*********************************************************************** + 0 = ptgmin ! Min photon transverse momentum + 0.4 = R0gamma ! Radius of isolation code + 1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442 + 1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442 + .true. = isoEM ! isolate photons from EM energy (photons and leptons) +#********************************************************************* +# WBF cuts * +#********************************************************************* + 0 = xetamin ! minimum rapidity for two jets in the WBF case + 0 = deltaeta ! minimum rapidity for two jets in the WBF case +#********************************************************************* +# KT DURHAM CUT * +#********************************************************************* + -1 = ktdurham + 0.4 = dparameter +#********************************************************************* +# maximal pdg code for quark to be considered as a light jet * +# (otherwise b cuts are applied) * +#********************************************************************* + 4 = maxjetflavor ! Maximum jet pdg code +#********************************************************************* +# Jet measure cuts * +#********************************************************************* + 0 = xqcut ! minimum kt jet measure between partons +#********************************************************************* +# +#********************************************************************* +# Store info for systematics studies * +# WARNING: If use_syst is T, matched Pythia output is * +# meaningful ONLY if plotted taking matchscale * +# reweighting into account! * +#********************************************************************* + T = use_syst ! Enable systematics studies +# +#************************************** diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/MakeCards.py b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/MakeCards.py new file mode 100755 index 000000000000..b58643ca0fc6 --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/MakeCards.py @@ -0,0 +1,21 @@ +import os + +FolderTemplate = 'Zprime_Zh_Ztautauhbb_narrow_template' + +MassPoints = [600,800,1000,1200,1400,1600,1800,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000] + +for Mass in MassPoints: + + # copy template fragment + os.system(f'mkdir Zprime_Zh_Ztautauhbb_narrow_M{Mass}') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Ztautauhbb_narrow_customizecards.dat Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_customizecards.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Ztautauhbb_narrow_extramodels.dat Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_extramodels.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Ztautauhbb_narrow_proc_card.dat Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_proc_card.dat') + os.system(f'cp {FolderTemplate}/Zprime_Zh_Ztautauhbb_narrow_run_card.dat Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_run_card.dat') + + # change content using sed + print(f'Mass: {Mass}') + os.system(f"sed -i 's/MASS/{Mass}/g' Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_customizecards.dat") + os.system(f"sed -i 's/MASS/{Mass}/g' Zprime_Zh_Ztautauhbb_narrow_M{Mass}/Zprime_Zh_Ztautauhbb_narrow_M{Mass}_proc_card.dat") + +print(f"\nCreated cards") \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_customizecards.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_customizecards.dat new file mode 100644 index 000000000000..c2ee8294ae5e --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_customizecards.dat @@ -0,0 +1,5 @@ +set param_card mass 9000001 MASS +set param_card mass 9000002 MASS +set param_card rhoinputs 2 MASS +set param_card DECAY 9000001 1.000000e-03 +set param_card DECAY 9000002 1.000000e-03 \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_extramodels.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_extramodels.dat new file mode 100644 index 000000000000..c9eb8de4ea12 --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_extramodels.dat @@ -0,0 +1,2 @@ +#from https://github.com/syuvivida/DibosonBSMSignal_13TeV/tree/master/Models/Vector_Triplet_free_Width_UFO +dibosonResonanceModel.tar.gz diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_proc_card.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_proc_card.dat new file mode 100644 index 000000000000..4974e7086ace --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_proc_card.dat @@ -0,0 +1,9 @@ +set group_subprocesses Auto +set ignore_six_quark_processes False +set gauge unitary +set complex_mass_scheme False +import model Vector_Triplet_free_Width_UFO +define p = g u c d s b u~ c~ d~ s~ b~ +define q = u c d s b u~ c~ d~ s~ b~ +generate p p > vz, (vz > h z, h > b b~, z > ta+ ta-) +output Zprime_Zh_Ztautauhbb_narrow_MMASS -nojpeg \ No newline at end of file diff --git a/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_run_card.dat b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_run_card.dat new file mode 100644 index 000000000000..81b81a2084a4 --- /dev/null +++ b/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/DY_ZprimeToZH_ZtautauHbb/Zprime_Zh_Ztautauhbb_narrow_template/Zprime_Zh_Ztautauhbb_narrow_run_card.dat @@ -0,0 +1,271 @@ +#********************************************************************* +# MadGraph5_aMC@NLO * +# * +# run_card.dat MadEvent * +# * +# This file is used to set the parameters of the run. * +# * +# Some notation/conventions: * +# * +# Lines starting with a '# ' are info or comments * +# * +# mind the format: value = variable ! comment * +#********************************************************************* +# +#******************* +# Running parameters +#******************* +# +#********************************************************************* +# Tag name for the run (one word) * +#********************************************************************* + tag_1 = run_tag ! name of the run +#********************************************************************* +# Run to generate the grid pack * +#********************************************************************* + .false. = gridpack !True = setting up the grid pack +#********************************************************************* +# Number of events and rnd seed * +# Warning: Do not generate more than 1M events in a single run * +# If you want to run Pythia, avoid more than 50k events in a run. * +#********************************************************************* + 1000 = nevents ! Number of unweighted events requested + 0 = iseed ! rnd seed (0=assigned automatically=default)) +#********************************************************************* +# Collider type and energy * +# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, * +# 3=photon from electron * +#********************************************************************* + 1 = lpp1 ! beam 1 type + 1 = lpp2 ! beam 2 type + 6500 = ebeam1 ! beam 1 total energy in GeV + 6500 = ebeam2 ! beam 2 total energy in GeV +#********************************************************************* +# Beam polarization from -100 (left-handed) to 100 (right-handed) * +#********************************************************************* + 0 = polbeam1 ! beam polarization for beam 1 + 0 = polbeam2 ! beam polarization for beam 2 +#********************************************************************* +# PDF CHOICE: this automatically fixes also alpha_s and its evol. * +#********************************************************************* + 'lhapdf' = pdlabel ! PDF set +$DEFAULT_PDF_SETS = lhaid +$DEFAULT_PDF_MEMBERS = reweight_PDF ! if pdlabel=lhapdf, this is the lhapdf number +#********************************************************************* +# Renormalization and factorization scales * +#********************************************************************* + F = fixed_ren_scale ! if .true. use fixed ren scale + F = fixed_fac_scale ! if .true. use fixed fac scale + 91.1880 = scale ! fixed ren scale + 91.1880 = dsqrt_q2fact1 ! fixed fact scale for pdf1 + 91.1880 = dsqrt_q2fact2 ! fixed fact scale for pdf2 + 1 = scalefact ! scale factor for event-by-event scales +#********************************************************************* +# Matching - Warning! ickkw > 1 is still beta +#********************************************************************* + 0 = ickkw ! 0 no matching, 1 MLM, 2 CKKW matching + 1 = highestmult ! for ickkw=2, highest mult group + 1 = ktscheme ! for ickkw=1, 1 Durham kT, 2 Pythia pTE + 1 = alpsfact ! scale factor for QCD emission vx + F = chcluster ! cluster only according to channel diag + F = pdfwgt ! for ickkw=1, perform pdf reweighting + 5 = asrwgtflavor ! highest quark flavor for a_s reweight + T = clusinfo ! include clustering tag in output + 3.0 = lhe_version ! Change the way clustering information pass to shower. +#********************************************************************* +#********************************************************** +# +#********************************************************** +# Automatic ptj and mjj cuts if xqcut > 0 +# (turn off for VBF and single top processes) +#********************************************************** + T = auto_ptj_mjj ! Automatic setting of ptj and mjj +#********************************************************** +# +#********************************** +# BW cutoff (M+/-bwcutoff*Gamma) +#********************************** + 15 = bwcutoff ! (M+/-bwcutoff*Gamma) +#********************************************************** +# Apply pt/E/eta/dr/mij cuts on decay products or not +# (note that etmiss/ptll/ptheavy/ht/sorted cuts always apply) +#********************************************************** + T = cut_decays ! Cut decay products +#************************************************************* +# Number of helicities to sum per event (0 = all helicities) +# 0 gives more stable result, but longer run time (needed for +# long decay chains e.g.). +# Use >=2 if most helicities contribute, e.g. pure QCD. +#************************************************************* + 0 = nhel ! Number of helicities used per event +#******************* +# Standard Cuts +#******************* +# +#********************************************************************* +# Minimum and maximum pt's (for max, -1 means no cut) * +#********************************************************************* + 10 = ptj ! minimum pt for the jets + 0 = ptb ! minimum pt for the b + 10 = pta ! minimum pt for the photons + 10 = ptl ! minimum pt for the charged leptons + 0 = misset ! minimum missing Et (sum of neutrino's momenta) + 0 = ptheavy ! minimum pt for one heavy final state + 1.0 = ptonium ! minimum pt for the quarkonium states + -1 = ptjmax ! maximum pt for the jets + -1 = ptbmax ! maximum pt for the b + -1 = ptamax ! maximum pt for the photons + -1 = ptlmax ! maximum pt for the charged leptons + -1 = missetmax ! maximum missing Et (sum of neutrino's momenta) +#********************************************************************* +# Minimum and maximum E's (in the center of mass frame) * +#********************************************************************* + 0 = ej ! minimum E for the jets + 0 = eb ! minimum E for the b + 0 = ea ! minimum E for the photons + 0 = el ! minimum E for the charged leptons + -1 = ejmax ! maximum E for the jets + -1 = ebmax ! maximum E for the b + -1 = eamax ! maximum E for the photons + -1 = elmax ! maximum E for the charged leptons +#********************************************************************* +# Maximum and minimum absolute rapidity (for max, -1 means no cut) * +#********************************************************************* + -1 = etaj ! max rap for the jets + -1 = etab ! max rap for the b + -1 = etaa ! max rap for the photons + -1 = etal ! max rap for the charged leptons + -1 = etaonium ! max rap for the quarkonium states + 0 = etajmin ! min rap for the jets + 0 = etabmin ! min rap for the b + 0 = etaamin ! min rap for the photons + 0 = etalmin ! main rap for the charged leptons +#********************************************************************* +# Minimum and maximum DeltaR distance * +#********************************************************************* + 0.0001 = drjj ! min distance between jets + 0 = drbb ! min distance between b's + 0 = drll ! min distance between leptons + 0 = draa ! min distance between gammas + 0 = drbj ! min distance between b and jet + 0.1 = draj ! min distance between gamma and jet + 0 = drjl ! min distance between jet and lepton + 0 = drab ! min distance between gamma and b + 0 = drbl ! min distance between b and lepton + 0.1 = dral ! min distance between gamma and lepton + -1 = drjjmax ! max distance between jets + -1 = drbbmax ! max distance between b's + -1 = drllmax ! max distance between leptons + -1 = draamax ! max distance between gammas + -1 = drbjmax ! max distance between b and jet + -1 = drajmax ! max distance between gamma and jet + -1 = drjlmax ! max distance between jet and lepton + -1 = drabmax ! max distance between gamma and b + -1 = drblmax ! max distance between b and lepton + -1 = dralmax ! maxdistance between gamma and lepton +#********************************************************************* +# Minimum and maximum invariant mass for pairs * +# WARNING: for four lepton final state mmll cut require to have * +# different lepton masses for each flavor! * +#********************************************************************* + 0 = mmjj ! min invariant mass of a jet pair + 0 = mmbb ! min invariant mass of a b pair + 0 = mmaa ! min invariant mass of gamma gamma pair + 0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair + -1 = mmjjmax ! max invariant mass of a jet pair + -1 = mmbbmax ! max invariant mass of a b pair + -1 = mmaamax ! max invariant mass of gamma gamma pair + -1 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair +#********************************************************************* +# Minimum and maximum invariant mass for all letpons * +#********************************************************************* + 0 = mmnl ! min invariant mass for all letpons (l+- and vl) + -1 = mmnlmax ! max invariant mass for all letpons (l+- and vl) +#********************************************************************* +# Minimum and maximum pt for 4-momenta sum of leptons * +#********************************************************************* + 0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl) + -1 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl) +#********************************************************************* +# Inclusive cuts * +#********************************************************************* + 0 = xptj ! minimum pt for at least one jet + 0 = xptb ! minimum pt for at least one b + 0 = xpta ! minimum pt for at least one photon + 0 = xptl ! minimum pt for at least one charged lepton +#********************************************************************* +# Control the pt's of the jets sorted by pt * +#********************************************************************* + 0 = ptj1min ! minimum pt for the leading jet in pt + 0 = ptj2min ! minimum pt for the second jet in pt + 0 = ptj3min ! minimum pt for the third jet in pt + 0 = ptj4min ! minimum pt for the fourth jet in pt + -1 = ptj1max ! maximum pt for the leading jet in pt + -1 = ptj2max ! maximum pt for the second jet in pt + -1 = ptj3max ! maximum pt for the third jet in pt + -1 = ptj4max ! maximum pt for the fourth jet in pt + 0 = cutuse ! reject event if fails any (0) / all (1) jet pt cuts +#********************************************************************* +# Control the pt's of leptons sorted by pt * +#********************************************************************* + 0 = ptl1min ! minimum pt for the leading lepton in pt + 0 = ptl2min ! minimum pt for the second lepton in pt + 0 = ptl3min ! minimum pt for the third lepton in pt + 0 = ptl4min ! minimum pt for the fourth lepton in pt + -1 = ptl1max ! maximum pt for the leading lepton in pt + -1 = ptl2max ! maximum pt for the second lepton in pt + -1 = ptl3max ! maximum pt for the third lepton in pt + -1 = ptl4max ! maximum pt for the fourth lepton in pt +#********************************************************************* +# Control the Ht(k)=Sum of k leading jets * +#********************************************************************* + 0 = htjmin ! minimum jet HT=Sum(jet pt) + -1 = htjmax ! maximum jet HT=Sum(jet pt) + 0 = ihtmin !inclusive Ht for all partons (including b) + -1 = ihtmax !inclusive Ht for all partons (including b) + 0 = ht2min ! minimum Ht for the two leading jets + 0 = ht3min ! minimum Ht for the three leading jets + 0 = ht4min ! minimum Ht for the four leading jets + -1 = ht2max ! maximum Ht for the two leading jets + -1 = ht3max ! maximum Ht for the three leading jets + -1 = ht4max ! maximum Ht for the four leading jets +#*********************************************************************** +# Photon-isolation cuts, according to hep-ph/9801442 * +# When ptgmin=0, all the other parameters are ignored * +# When ptgmin>0, pta and draj are not going to be used * +#*********************************************************************** + 0 = ptgmin ! Min photon transverse momentum + 0.4 = R0gamma ! Radius of isolation code + 1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442 + 1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442 + .true. = isoEM ! isolate photons from EM energy (photons and leptons) +#********************************************************************* +# WBF cuts * +#********************************************************************* + 0 = xetamin ! minimum rapidity for two jets in the WBF case + 0 = deltaeta ! minimum rapidity for two jets in the WBF case +#********************************************************************* +# KT DURHAM CUT * +#********************************************************************* + -1 = ktdurham + 0.4 = dparameter +#********************************************************************* +# maximal pdg code for quark to be considered as a light jet * +# (otherwise b cuts are applied) * +#********************************************************************* + 4 = maxjetflavor ! Maximum jet pdg code +#********************************************************************* +# Jet measure cuts * +#********************************************************************* + 0 = xqcut ! minimum kt jet measure between partons +#********************************************************************* +# +#********************************************************************* +# Store info for systematics studies * +# WARNING: If use_syst is T, matched Pythia output is * +# meaningful ONLY if plotted taking matchscale * +# reweighting into account! * +#********************************************************************* + T = use_syst ! Enable systematics studies +# +#************************************** diff --git a/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/JHUGen.input b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/JHUGen.input new file mode 100644 index 000000000000..ddf3a1528783 --- /dev/null +++ b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/JHUGen.input @@ -0,0 +1,3 @@ +DecayMode1=2 DecayMode2=-289 ReweightDecay WidthSchemeIn=3 ReadPMZZ + + diff --git a/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/MakeCards.py b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/MakeCards.py new file mode 100755 index 000000000000..9c2949456045 --- /dev/null +++ b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/MakeCards.py @@ -0,0 +1,18 @@ +import os + +FileTemplate = 'gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_template.input' + +MassPoints = [ 200, 210, 220, 230, 240, 250, 260, 270, 280, 300, 320, 350, 360, 400, 450, 500, 550, + 600, 650, 700, 750, 800, 850, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, + 1800, 1900, 2000, 2200, 2400, 2500, 2600, 2800, 3000, 3500, 4000, 4500, 5000] + +for Mass in MassPoints: + + # copy template fragment + os.system(f'cp {FileTemplate} gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_M{Mass}.input') + + # change content using sed + print(f'Mass: {Mass}') + os.system(f"sed -i 's/MASS/{Mass}/g' gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_M{Mass}.input") + +print(f"\nCreated cards") \ No newline at end of file diff --git a/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_template.input b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_template.input new file mode 100644 index 000000000000..11c0b72f4c1f --- /dev/null +++ b/bin/Powheg/production/2017/13TeV/GluGluToXToZZTo2B2Tau/gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_template.input @@ -0,0 +1,71 @@ +numevts NEVENTS +ih1 1 ! hadron 1 (1 for protons, -1 for antiprotons) +ih2 1 ! hadron 2 (1 for protons, -1 for antiprotons) +#ndns1 131 ! pdf set for hadron 1 (mlm numbering) +#ndns2 131 ! pdf set for hadron 2 (mlm numbering) +ebeam1 6500 ! energy of beam 1 +ebeam2 6500 ! energy of beam 2 + +lhans1 325300 ! pdf set for hadron 1 (LHA numbering) +lhans2 325300 ! pdf set for hadron 2 (LHA numbering) + +! Parameters to allow or not the use of stored data +use-old-grid 1 ! if 1 use old grid if file pwggrids.dat is present (<> 1 regenerate) +use-old-ubound 1 ! if 1 use norm of upper bounding function stored in pwgubound.dat, if present; <> 1 regenerate + +ncall1 50000 ! number of calls for initializing the integration grid +itmx1 5 ! number of iterations for initializing the integration grid +ncall2 50000 ! number of calls for computing the integral and finding upper bound +itmx2 5 ! number of iterations for computing the integral and finding upper bound +foldcsi 1 ! number of folds on csi integration +foldy 1 ! number of folds on y integration +foldphi 1 ! number of folds on phi integration +nubound 50000 ! number of bbarra calls to setup norm of upper bounding function +icsimax 1 ! <= 100, number of csi subdivision when computing the upper bounds +iymax 1 ! <= 100, number of y subdivision when computing the upper bounds +xupbound 2d0 ! increase upper bound for radiation generation + +! OPTIONAL PARAMETERS + +renscfact 1 ! (default 1d0) ren scale factor: muren = muref * renscfact +facscfact 1 ! (default 1d0) fac scale factor: mufact = muref * facscfact +testplots 1 ! (default 0, do not) do NLO and PWHG distributions +hfact 72.5d0 ! (default no dumping factor) dump factor for high-pt radiation: > 0 dumpfac=h**2/(pt2+h**2) +runningscale 1 ! 0 = scales equal to the Higgs pole mass; 1 = scales equal to the Higgs virtuality; + ! 2 = scales equal to the Higgs pole mass for Born-like configuration and to the transverse mass for real emission contribution + +iseed SEED + +! GGF_H production: +! **** Mandatory parameters for ALL models **** +massren 0 ! Mass renormalization scheme. 0 = OS, 1 = MSBAR , 2 = DRBAR +zerowidth 1 ! Control if the Higgs boson is to be produced on-shell or not: 1 = On-Shell; 0 = Off-shell with Breit-Wigner +ew 0 ! ew = 0 disable EW corrections - ew = 1 enable EW corrections +model 0 +gfermi 0.116637D-04 ! GF +hdecaymode -1 ! PDG code for first decay product of the higgs +masswindow 9999d0 !(default 10d0) number of widths around hmass in the BW for an off-shell Higgs boson + +! **** Mandatory parameters for SM or MW **** +hmass MASSd0 ! Higgs boson mass +hwidth 1.000D-03 ! Higgs boson width +topmass 172.5 ! top quark mass +bottommass 4.75d0 ! bottom quark mass - if defined it enables the bottom quark + +! Optional +hdecaywidth 0 ! If equals to 1 read total decay width from HDECAY sm.br2 file +#withnegweights 1 1 +#pdfreweight 0 +#storeinfo_rwgt 0 +#bwshape 3 ! complex-pole scheme according to Passarino et al. + + +#manyseeds 1 + +#parallelstage 4 + +#xgriditeration 1 1 +rwl_group_events 2000 +lhapdf6maxsets 50 +rwl_file 'pwg-rwl.dat' +rwl_format_rwgt 1 diff --git a/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/MakeGenFragments.py b/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/MakeGenFragments.py new file mode 100644 index 000000000000..ecce0a35305a --- /dev/null +++ b/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/MakeGenFragments.py @@ -0,0 +1,43 @@ +import os + +FileTemplate = 'ZZ_ZH_bbtt-fragment_template_cfi.py' + +# Produce fragments for GluGluToXToZZTo2B2Tau +MassPoints_ZZ = [ 200, 210, 220, 230, 240, 250, 260, 270, 280, 300, 320, 350, 360, 400, 450, 500, 550, + 600, 650, 700, 750, 800, 850, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, + 1800, 1900, 2000, 2200, 2400, 2500, 2600, 2800, 3000, 3500, 4000, 4500, 5000] +for Mass in MassPoints_ZZ: + + # copy template fragment + os.system(f'cp {FileTemplate} GluGluToXToZZTo2B2Tau_M{Mass}-fragment_cfi.py') + + # change content using sed + GridpackName = f'gg_H_quark-mass-effects_slc7_amd64_gcc700_CMSSW_10_6_37_my_gg_X_ZZbbtautau_quark-mass-effects_NNPDF31_13TeV_M{Mass}.tgz' + print(f'Gridpack filename: {GridpackName}') + os.system(f"sed -i 's/gridpack_name/{GridpackName}/g' GluGluToXToZZTo2B2Tau_M{Mass}-fragment_cfi.py") + +# Produce fragments for DY_ZprimeToZH_ZbbHtautau +MassPoints_ZH = [600,800,1000,1200,1400,1600,1800,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000] +for Mass in MassPoints_ZH: + + # copy template fragment + os.system(f'cp {FileTemplate} DY_ZprimeToZH_ZbbHtautau_M{Mass}-fragment_cfi.py') + + # change content using sed + GridpackName = f'Zprime_Zh_Zbbhtautau_narrow_M{Mass}_slc7_amd64_gcc10_CMSSW_12_4_8_tarball.tar.xz' + print(f'Gridpack filename: {GridpackName}') + os.system(f"sed -i 's/gridpack_name/{GridpackName}/g' DY_ZprimeToZH_ZbbHtautau_M{Mass}-fragment_cfi.py") + +# Produce fragments for DY_ZprimeToZH_ZtautauHbb +MassPoints_ZH = [600,800,1000,1200,1400,1600,1800,2000,2500,3000,3500,4000,4500,5000,5500,6000,6500,7000,7500,8000] +for Mass in MassPoints_ZH: + + # copy template fragment + os.system(f'cp {FileTemplate} DY_ZprimeToZH_ZtautauHbb_M{Mass}-fragment_cfi.py') + + # change content using sed + GridpackName = f'Zprime_Zh_Ztautauhbb_narrow_M{Mass}_slc7_amd64_gcc10_CMSSW_12_4_8_tarball.tar.xz' + print(f'Gridpack filename: {GridpackName}') + os.system(f"sed -i 's/gridpack_name/{GridpackName}/g' DY_ZprimeToZH_ZtautauHbb_M{Mass}-fragment_cfi.py") + +print(f"\nCreated fragments") \ No newline at end of file diff --git a/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/ZZ_ZH_bbtt-fragment_template_cfi.py b/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/ZZ_ZH_bbtt-fragment_template_cfi.py new file mode 100644 index 000000000000..8c3e09d23dd0 --- /dev/null +++ b/genfragments/ThirteenTeV/B2G/ZZ_ZH_bbtt/ZZ_ZH_bbtt-fragment_template_cfi.py @@ -0,0 +1,42 @@ +import FWCore.ParameterSet.Config as cms + +externalLHEProducer = cms.EDProducer("ExternalLHEProducer", + args = cms.vstring('/afs/cern.ch/work/e/evernazz/public/B2GRequest/gridpack_name'), + nEvents = cms.untracked.uint32(200000), + numberOfParameters = cms.uint32(1), + outputFile = cms.string('cmsgrid_final.lhe'), + scriptName = cms.FileInPath('GeneratorInterface/LHEInterface/data/run_generic_tarball_cvmfs.sh') +) + +import FWCore.ParameterSet.Config as cms +from Configuration.Generator.Pythia8CommonSettings_cfi import * +from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import * +from Configuration.Generator.Pythia8PowhegEmissionVetoSettings_cfi import * +from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * + +generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter", + maxEventsToPrint = cms.untracked.int32(1), + pythiaPylistVerbosity = cms.untracked.int32(1), + filterEfficiency = cms.untracked.double(1.0), + pythiaHepMCVerbosity = cms.untracked.bool(False), + comEnergy = cms.double(13000.), + PythiaParameters = cms.PSet( + pythia8CommonSettingsBlock, + pythia8CP5SettingsBlock, + pythia8PowhegEmissionVetoSettingsBlock, + pythia8PSweightsSettingsBlock, + processParameters = cms.vstring( + 'POWHEG:nFinal = 1', ## Number of final state particles + ## (BEFORE THE DECAYS) in the LHE + ## other than emitted extra parton + ), + parameterSets = cms.vstring('pythia8CommonSettings', + 'pythia8CP5Settings', + 'pythia8PowhegEmissionVetoSettings', + 'pythia8PSweightsSettings', + 'processParameters' + ) + ) + ) + +ProductionFilterSequence = cms.Sequence(generator)