Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("runCosMuoGen")
0004 process.load("GeneratorInterface.CosmicMuonGenerator.CMSCGENproducer_cfi")
0005 
0006 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0007     generator = cms.PSet(
0008         initialSeed = cms.untracked.uint32(123456789),
0009         engineName = cms.untracked.string('HepJamesRandom')
0010     )
0011 )
0012 
0013 process.source = cms.Source("EmptySource")
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(500)
0017 )
0018 process.CMSCGEN_out = cms.OutputModule("PoolOutputModule",
0019     fileName = cms.untracked.string('cosmic.root')
0020 )
0021 
0022 process.p = cms.Path(process.generator)
0023 process.outpath = cms.EndPath(process.CMSCGEN_out)
0024 process.generator.MaxTheta = 84.
0025 process.generator.ElossScaleFactor = 0.0