Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("Gen")
00004
00005
00006 process.load("Validation.GlobalHits.Random_cfi")
00007
00008 process.load("Validation.GlobalHits.MessageLogger_cfi")
00009
00010 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
00011
00012
00013
00014 process.load("Configuration.Generator.PythiaUESettings_cfi")
00015
00016
00017
00018
00019 process.load("IOMC.EventVertexGenerators.VtxSmearedGauss_cfi")
00020
00021 process.maxEvents = cms.untracked.PSet(
00022 input = cms.untracked.int32(10000)
00023 )
00024 process.source = cms.Source("PythiaSource",
00025 pythiaHepMCVerbosity = cms.untracked.bool(False),
00026 maxEventsToPrint = cms.untracked.int32(0),
00027
00028 pythiaPylistVerbosity = cms.untracked.int32(0),
00029 pythiaVerbosity = cms.untracked.bool(False),
00030 PythiaParameters = cms.PSet(
00031 process.pythiaUESettingsBlock,
00032 processParameters = cms.vstring('MSEL=0 ! User defined processes',
00033 'MSUB(81) = 1 ! qqbar to QQbar',
00034 'MSUB(82) = 1 ! gg to QQbar',
00035 'MSTP(7) = 6 ! flavour = top',
00036 'PMAS(6,1) = 175. ! top quark mass'),
00037
00038 parameterSets = cms.vstring('pythiaUESettings',
00039 'processParameters')
00040 )
00041 )
00042
00043 process.GEN = cms.OutputModule("PoolOutputModule",
00044 dataset = cms.untracked.PSet(
00045 dataTier = cms.untracked.string('GEN')
00046 ),
00047 fileName = cms.untracked.string('MC.root')
00048 )
00049
00050 process.p1 = cms.Path(process.VtxSmeared)
00051 process.outpath = cms.EndPath(process.GEN)
00052