CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Configuration/Generator/python/MadGraph_matching_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # this is a leftover from an "intermediate" version of cmsDriver
00005 # we keep it here so far, as an example for 311/312 and 32x, 
00006 # but starting 313 the machinery has been updated, and also 330pre4
00007 #
00008 #source = cms.Source("LHESource",
00009 #    fileNames = cms.untracked.vstring(
00010 #    'file:../../../GeneratorInterface/Pythia6Interface/test/ttbar_5flavours_xqcut20_10TeV.lhe')
00011 #)
00012 
00013 from Configuration.Generator.PythiaUESettings_cfi import *
00014 Generator = cms.EDFilter("Pythia6HadronizerFilter",
00015     pythiaHepMCVerbosity = cms.untracked.bool(False),
00016     maxEventsToPrint = cms.untracked.int32(0),
00017     pythiaPylistVerbosity = cms.untracked.int32(0),
00018     filterEfficiency = cms.untracked.double(0.254),
00019     comEnergy = cms.double(10000.0),
00020     PythiaParameters = cms.PSet(
00021         pythiaUESettingsBlock,
00022         processParameters = cms.vstring('MSEL=0         ! User defined processes',
00023                         'PMAS(5,1)=4.4   ! b quark mass',
00024                         'PMAS(6,1)=172.4 ! t quark mass',
00025                         'MSTJ(1)=1       ! Fragmentation/hadronization on or off',
00026                         'MSTP(61)=1      ! Parton showering on or off'),
00027         # This is a vector of ParameterSet names to be read, in this order
00028         parameterSets = cms.vstring('pythiaUESettings', 
00029             'processParameters')
00030     ),
00031     jetMatching = cms.untracked.PSet(
00032        scheme = cms.string("Madgraph"),
00033        mode = cms.string("auto"),       # soup, or "inclusive" / "exclusive"
00034        MEMAIN_etaclmax = cms.double(5.0),
00035        MEMAIN_qcut = cms.double(30.0),
00036        MEMAIN_minjets = cms.int32(-1),
00037        MEMAIN_maxjets = cms.int32(-1),
00038     )
00039 )