Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Gen")
0004 process.load("SimG4CMS.Calo.PythiaZee_cfi")
0005 
0006 process.source = cms.Source("EmptySource")
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(500)
0010 )
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     cout = cms.untracked.PSet(
0017         default = cms.untracked.PSet(
0018             limit = cms.untracked.int32(0)
0019         ),
0020         enable = cms.untracked.bool(True)
0021     ),
0022     debugModules = cms.untracked.vstring('*')
0023 )
0024 
0025 process.Timing = cms.Service("Timing")
0026 
0027 process.load("IOMC.RandomEngine.IOMC_cff")
0028 process.RandomNumberGeneratorService.generator.initialSeed = 456789
0029 process.rndmStore = cms.EDProducer("RandomEngineStateProducer")
0030 
0031 # Event output
0032 process.load("Configuration.EventContent.EventContent_cff")
0033 
0034 process.o1 = cms.OutputModule("PoolOutputModule",
0035     process.FEVTSIMEventContent,
0036     fileName = cms.untracked.string('zeer.root')
0037 )
0038 
0039 process.p1 = cms.Path(process.generator)
0040 process.outpath = cms.EndPath(process.o1)