Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0006 #process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0007 
0008 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0009     generator = cms.PSet(
0010         initialSeed = cms.untracked.uint32(123456789),
0011         engineName = cms.untracked.string('HepJamesRandom')
0012     )
0013 )
0014 
0015 
0016 # The following three lines reduce the clutter of repeated printouts
0017 # of the same exception message.
0018 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0019 
0020 
0021 
0022 
0023 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(5))
0024 
0025 process.source = cms.Source("EmptySource")
0026 
0027 process.load("GeneratorInterface.Pythia6Interface.Ztautau_cff")
0028 
0029 process.GEN = cms.OutputModule("PoolOutputModule",
0030     fileName = cms.untracked.string('TestZtautau.root')
0031 )
0032 
0033 process.p = cms.Path(process.generator)
0034 process.outpath = cms.EndPath(process.GEN)
0035 
0036 process.schedule = cms.Schedule(process.p, process.outpath)