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 
0004 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0005 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0006 
0007 generator = cms.EDFilter("Pythia8HadronizerFilter",
0008                          ExternalDecays = cms.PSet(
0009     #EvtGen = cms.untracked.PSet(
0010     #use_default_decay = cms.untracked.bool(True),
0011     #decay_table = cms.FileInPath('GeneratorInterface/ExternalDecays/data/DECAY_NOLONGLIFE.DEC'),
0012     #particle_property_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/evt.pdl'),
0013     #user_decay_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/Validation.dec'),
0014     #list_forced_decays = cms.vstring(),
0015     #operates_on_particles = cms.vint32(0)
0016     #),
0017     #parameterSets = cms.vstring('EvtGen')
0018         #),
0019         EvtGen130 = cms.untracked.PSet(
0020             decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0021             particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0022         #    user_decay_file = cms.untracked.bool(False),
0023             user_decay_file = cms.vstring(),
0024             list_forced_decays = cms.vstring(),
0025             operates_on_particles = cms.vint32()
0026             ),
0027         parameterSets = cms.vstring('EvtGen130')
0028         ),
0029                          UseExternalGenerators = cms.untracked.bool(True),
0030                          maxEventsToPrint = cms.untracked.int32(1),
0031                          pythiaPylistVerbosity = cms.untracked.int32(1),
0032                          filterEfficiency = cms.untracked.double(1.0),
0033                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0034                          comEnergy = cms.double(13000.),
0035                          PythiaParameters = cms.PSet(
0036         pythia8CommonSettingsBlock,
0037         pythia8CUEP8M1SettingsBlock,
0038         JetMatchingParameters = cms.vstring(
0039             'JetMatching:setMad = off',
0040             'JetMatching:scheme = 1',
0041             'JetMatching:merge = on',
0042             'JetMatching:jetAlgorithm = 2',
0043             'JetMatching:etaJetMax = 5.',
0044             'JetMatching:coneRadius = 1.',
0045             'JetMatching:slowJetPower = 1',
0046             'JetMatching:qCut = 20.', #this is the actual merging scale
0047             'JetMatching:nQmatch = 5', #4 corresponds to 4-flavour scheme (no matching of b-quarks), 5 for 5-flavour scheme
0048             'JetMatching:nJetMax = 4', #number of partons in born matrix element for highest multiplicity
0049             'JetMatching:doShowerKt = off', #off for MLM matching, turn on for shower-kT matching
0050             ),
0051         parameterSets = cms.vstring('pythia8CommonSettings',
0052                                     'pythia8CUEP8M1Settings',
0053                                     'JetMatchingParameters'
0054                                     )
0055         )
0056                          )
0057 
0058 ProductionFilterSequence = cms.Sequence(generator)