Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:38

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