Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Generator.HerwigppDefaults_cfi import *
0004 from Configuration.Generator.HerwigppUE_EE_5C_cfi import *
0005 from Configuration.Generator.HerwigppPDF_CTEQ6_LO_cfi import *                                  # Import CTEQ6L PDF as shower pdf
0006 from Configuration.Generator.HerwigppPDF_NNPDF30_NLO_cfi import herwigppPDFSettingsBlock as herwigppHardPDFSettingsBlock    # Import NNPDF30 NLO as PDF of the hard subprocess
0007 from Configuration.Generator.HerwigppEnergy_13TeV_cfi import *
0008 from Configuration.Generator.HerwigppLHEFile_cfi import *
0009 from Configuration.Generator.HerwigppMECorrections_cfi import *
0010 
0011 generator = cms.EDFilter("ThePEGHadronizerFilter",
0012     herwigDefaultsBlock,
0013     herwigppUESettingsBlock,
0014     herwigppPDFSettingsBlock,
0015     herwigppHardPDFSettingsBlock,           # Implementing renamed NNPDF30 config block
0016     herwigppEnergySettingsBlock,
0017     herwigppLHEFileSettingsBlock,
0018     herwigppMECorrectionsSettingsBlock,
0019 
0020     configFiles = cms.vstring(),
0021     parameterSets = cms.vstring(
0022         'hwpp_cmsDefaults',
0023         'hwpp_ue_EE5C',
0024         'hwpp_cm_13TeV',
0025         'hwpp_pdf_CTEQ6L1',         # Shower PDF matching with the tune
0026         'hwpp_pdf_NNPDF30NLO_Hard',     # PDF of hard subprocess
0027         'hwpp_LHE_Powheg_DifferentPDFs',
0028         'hwpp_MECorr_Off',          # Switch off ME corrections while showering LHE files as recommended by Herwig++ authors
0029     ),
0030 
0031         crossSection = cms.untracked.double(-1),
0032         filterEfficiency = cms.untracked.double(1.0),
0033 )
0034 ProductionFilterSequence = cms.Sequence(generator)