Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # this is a leftover from an "intermediate" version of cmsDriver
0005 # we keep it here so far, as an example for 311/312 and 32x, 
0006 # but starting 313 the machinery has been updated, and also 330pre4
0007 #
0008 #source = cms.Source("LHESource",
0009 #    fileNames = cms.untracked.vstring(
0010 #    'file:../../../GeneratorInterface/Pythia6Interface/test/ttbar_5flavours_xqcut20_10TeV.lhe')
0011 #)
0012 
0013 from Configuration.Generator.PythiaUESettings_cfi import *
0014 generator = cms.EDFilter("Pythia6HadronizerFilter",
0015     pythiaHepMCVerbosity = cms.untracked.bool(False),
0016     maxEventsToPrint = cms.untracked.int32(0),
0017     pythiaPylistVerbosity = cms.untracked.int32(0),
0018     filterEfficiency = cms.untracked.double(0.254),
0019     comEnergy = cms.double(10000.0),
0020     PythiaParameters = cms.PSet(
0021         pythiaUESettingsBlock,
0022         processParameters = cms.vstring('MSEL=0         ! User defined processes',
0023                         'PMAS(5,1)=4.4   ! b quark mass',
0024                         'PMAS(6,1)=172.4 ! t quark mass',
0025                         'MSTJ(1)=1       ! Fragmentation/hadronization on or off',
0026                         'MSTP(61)=1      ! Parton showering on or off'),
0027         # This is a vector of ParameterSet names to be read, in this order
0028         parameterSets = cms.vstring('pythiaUESettings', 
0029             'processParameters')
0030     ),
0031     jetMatching = cms.untracked.PSet(
0032        scheme = cms.string("Madgraph"),
0033        mode = cms.string("auto"),       # soup, or "inclusive" / "exclusive"
0034        MEMAIN_etaclmax = cms.double(5.0),
0035        MEMAIN_qcut = cms.double(30.0),
0036        MEMAIN_minjets = cms.int32(-1),
0037        MEMAIN_maxjets = cms.int32(-1),
0038     )
0039 )