CMS 3D CMS Logo

MadGraph_matching_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # this is a leftover from an "intermediate" version of cmsDriver
5 # we keep it here so far, as an example for 311/312 and 32x,
6 # but starting 313 the machinery has been updated, and also 330pre4
7 #
8 #source = cms.Source("LHESource",
9 # fileNames = cms.untracked.vstring(
10 # 'file:../../../GeneratorInterface/Pythia6Interface/test/ttbar_5flavours_xqcut20_10TeV.lhe')
11 #)
12 
14 generator = cms.EDFilter("Pythia6HadronizerFilter",
15  pythiaHepMCVerbosity = cms.untracked.bool(False),
16  maxEventsToPrint = cms.untracked.int32(0),
17  pythiaPylistVerbosity = cms.untracked.int32(0),
18  filterEfficiency = cms.untracked.double(0.254),
19  comEnergy = cms.double(10000.0),
20  PythiaParameters = cms.PSet(
21  pythiaUESettingsBlock,
22  processParameters = cms.vstring('MSEL=0 ! User defined processes',
23  'PMAS(5,1)=4.4 ! b quark mass',
24  'PMAS(6,1)=172.4 ! t quark mass',
25  'MSTJ(1)=1 ! Fragmentation/hadronization on or off',
26  'MSTP(61)=1 ! Parton showering on or off'),
27  # This is a vector of ParameterSet names to be read, in this order
28  parameterSets = cms.vstring('pythiaUESettings',
29  'processParameters')
30  ),
31  jetMatching = cms.untracked.PSet(
32  scheme = cms.string("Madgraph"),
33  mode = cms.string("auto"), # soup, or "inclusive" / "exclusive"
34  MEMAIN_etaclmax = cms.double(5.0),
35  MEMAIN_qcut = cms.double(30.0),
36  MEMAIN_minjets = cms.int32(-1),
37  MEMAIN_maxjets = cms.int32(-1),
38  )
39 )
PythiaUESettings_cfi