Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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