3 process = cms.Process(
"TestProcess")
4 process.load(
"SimGeneral.HepPDTESSource.pythiapdt_cfi")
6 process.load(
"Configuration.EventContent.EventContent_cff")
8 process.maxEvents = cms.untracked.PSet(
9 input = cms.untracked.int32(10000)
12 process.RandomNumberGeneratorService = cms.Service(
"RandomNumberGeneratorService",
13 moduleSeeds = cms.PSet(
14 generator = cms.untracked.uint32(456789)
18 process.source = cms.Source(
"EmptySource",
19 firstRun = cms.untracked.uint32(1),
20 firstEvent = cms.untracked.uint32(1)
23 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
24 PGunParameters = cms.PSet(
25 PartID = cms.vint32(14),
26 MinEta = cms.double(-5.5),
27 MaxEta = cms.double(5.5),
28 MinPhi = cms.double(-3.14159265359),
29 MaxPhi = cms.double(3.14159265359),
30 MinE = cms.double(10.0),
31 MaxE = cms.double(10.0)
33 AddAntiParticle = cms.bool(
False),
34 Verbosity = cms.untracked.int32(0)
37 process.o1 = cms.OutputModule(
"PoolOutputModule",
38 process.FEVTSIMEventContent,
39 fileName = cms.untracked.string(
'single_neutrino_random.root')
42 process.p1 = cms.Path(process.generator)
43 process.outpath = cms.EndPath(process.o1)