Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0004 from Configuration.Generator.MCTunes2017.PythiaCP5Settings_cfi import *
0005 from Configuration.Generator.Pythia8aMCatNLOSettings_cfi import *
0006 
0007 generator = cms.EDFilter("Pythia8HadronizerFilter",
0008     maxEventsToPrint = cms.untracked.int32(1),
0009     pythiaPylistVerbosity = cms.untracked.int32(1),
0010     filterEfficiency = cms.untracked.double(1.0),
0011     pythiaHepMCVerbosity = cms.untracked.bool(False),
0012     comEnergy = cms.double(13000.),
0013     ExternalDecays = cms.PSet(
0014         EvtGen130 = cms.untracked.PSet(
0015             decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0016             particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0017             list_forced_decays = cms.vstring(),
0018             operates_on_particles = cms.vint32()
0019             ),
0020         parameterSets = cms.vstring('EvtGen130')
0021         ),
0022     PythiaParameters = cms.PSet(
0023         pythia8CommonSettingsBlock,
0024         pythia8CP5SettingsBlock,
0025         pythia8aMCatNLOSettingsBlock,
0026         processParameters = cms.vstring(
0027             'JetMatching:setMad = off',
0028             'JetMatching:scheme = 1',
0029             'JetMatching:merge = on',
0030             'JetMatching:jetAlgorithm = 2',
0031             'JetMatching:etaJetMax = 999.',
0032             'JetMatching:coneRadius = 1.',
0033             'JetMatching:slowJetPower = 1',
0034             'JetMatching:qCut = 40.', #this is the actual merging scale
0035             'JetMatching:doFxFx = on',
0036             'JetMatching:qCutME = 20.',#this must match the ptj cut in the lhe generation step
0037             'JetMatching:nQmatch = 5', #4 corresponds to 4-flavour scheme (no matching of b-quarks), 5 for 5-flavour scheme
0038             'JetMatching:nJetMax = 2', #number of partons in born matrix element for highest multiplicity
0039         ),
0040         parameterSets = cms.vstring('pythia8CommonSettings',
0041                                     'pythia8CP5Settings',
0042                                     'pythia8aMCatNLOSettings',
0043                                     'processParameters',
0044                                     )
0045     )
0046 )