1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
import FWCore.ParameterSet.Config as cms
from Configuration.Generator.HerwigppDefaults_cfi import *
from Configuration.Generator.HerwigppUE_EE_5C_cfi import *
from Configuration.Generator.HerwigppPDF_CTEQ6_LO_cfi import * # Import CTEQ6L PDF as shower pdf
from Configuration.Generator.HerwigppPDF_NNPDF30_NLO_cfi import herwigppPDFSettingsBlock as herwigppHardPDFSettingsBlock # Import NNPDF30 NLO as PDF of the hard subprocess
from Configuration.Generator.HerwigppEnergy_13TeV_cfi import *
from Configuration.Generator.HerwigppLHEFile_cfi import *
from Configuration.Generator.HerwigppMECorrections_cfi import *
# Showering LO MadGraph5_aMC@NLO LHE files with a different PDF for the hard subprocess
############ WARNING ######
# This option should only be used with LO MadGraph5_aMC@NLO LHE files.
# In case of NLO, MC@NLO matched LHE files this results most likely in a mismatch of phase space
############ WARNING ######
generator = cms.EDFilter("ThePEGHadronizerFilter",
herwigDefaultsBlock,
herwigppUESettingsBlock,
herwigppPDFSettingsBlock,
herwigppHardPDFSettingsBlock, # Implementing renamed NNPDF30 config block
herwigppEnergySettingsBlock,
herwigppLHEFileSettingsBlock,
herwigppMECorrectionsSettingsBlock,
configFiles = cms.vstring(),
parameterSets = cms.vstring(
'hwpp_cmsDefaults',
'hwpp_ue_EE5C',
'hwpp_cm_13TeV',
'hwpp_pdf_CTEQ6L1', # Shower PDF matching with the tune
'hwpp_pdf_NNPDF30NLO_Hard', # PDF of hard subprocess
'hwpp_LHE_MadGraph_DifferentPDFs', ### WARNING ### Use this option only with LO MadGraph5_aMC@NLO LHE files
'hwpp_MECorr_Off', # Switch off ME corrections while showering LHE files as recommended by Herwig++ authors
),
crossSection = cms.untracked.double(-1),
filterEfficiency = cms.untracked.double(1.0),
)
ProductionFilterSequence = cms.Sequence(generator)
|