Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:48:58

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 # Showering LO MadGraph5_aMC@NLO LHE files with a different PDF for the hard subprocess 
0012 ############ WARNING ######
0013 # This option should only be used with LO MadGraph5_aMC@NLO LHE files.
0014 # In case of NLO, MC@NLO matched LHE files this results most likely in a mismatch of phase space
0015 ############ WARNING ######
0016 generator = cms.EDFilter("ThePEGHadronizerFilter",
0017     herwigDefaultsBlock,
0018     herwigppUESettingsBlock,
0019     herwigppPDFSettingsBlock,
0020     herwigppHardPDFSettingsBlock,           # Implementing renamed NNPDF30 config block
0021     herwigppEnergySettingsBlock,
0022     herwigppLHEFileSettingsBlock,
0023     herwigppMECorrectionsSettingsBlock,
0024 
0025     configFiles = cms.vstring(),
0026     parameterSets = cms.vstring(
0027         'hwpp_cmsDefaults',
0028         'hwpp_ue_EE5C',
0029         'hwpp_cm_13TeV',
0030         'hwpp_pdf_CTEQ6L1',         # Shower PDF matching with the tune
0031         'hwpp_pdf_NNPDF30NLO_Hard',     # PDF of hard subprocess
0032         'hwpp_LHE_MadGraph_DifferentPDFs',  ### WARNING ### Use this option only with LO MadGraph5_aMC@NLO LHE files
0033         'hwpp_MECorr_Off',          # Switch off ME corrections while showering LHE files as recommended by Herwig++ authors
0034     ),
0035 
0036         crossSection = cms.untracked.double(-1),
0037         filterEfficiency = cms.untracked.double(1.0),
0038 )
0039 ProductionFilterSequence = cms.Sequence(generator)