Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Copied from https://github.com/cms-sw/genproductions for RelVal June 5, 2014
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0005 from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
0006 from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import *
0007 
0008 generator = cms.EDFilter("Pythia8ConcurrentHadronizerFilter",
0009                          maxEventsToPrint = cms.untracked.int32(1),
0010                          pythiaPylistVerbosity = cms.untracked.int32(1),
0011                          filterEfficiency = cms.untracked.double(1.0),
0012                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0013                          comEnergy = cms.double(13000.),
0014                          PythiaParameters = cms.PSet(
0015         pythia8CommonSettingsBlock,
0016         pythia8CP5SettingsBlock,
0017         pythia8PSweightsSettingsBlock,
0018         JetMatchingParameters = cms.vstring(
0019             'JetMatching:setMad = off',
0020             'JetMatching:scheme = 1',
0021             'JetMatching:merge = on',
0022             'JetMatching:jetAlgorithm = 2',
0023             'JetMatching:etaJetMax = 5.',
0024             'JetMatching:coneRadius = 1.',
0025             'JetMatching:slowJetPower = 1',
0026             'JetMatching:qCut = 20.', #this is the actual merging scale
0027             'JetMatching:nQmatch = 5', #4 corresponds to 4-flavour scheme (no matching of b-quarks), 5 for 5-flavour scheme
0028             'JetMatching:nJetMax = 4', #number of partons in born matrix element for highest multiplicity
0029             'JetMatching:doShowerKt = off', #off for MLM matching, turn on for shower-kT matching
0030             ),
0031         parameterSets = cms.vstring('pythia8CommonSettings',
0032                     'pythia8CP5Settings',
0033                                     'pythia8PSweightsSettings',
0034                                     'JetMatchingParameters'
0035                                     )
0036         
0037         )
0038                          )
0039 
0040 ProductionFilterSequence = cms.Sequence(generator)
0041