1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"GEN")
6 process.load(
"SimGeneral.HepPDTESSource.pdt_cfi")
8 process.RandomNumberGeneratorService = cms.Service(
"RandomNumberGeneratorService",
9 moduleSeeds = cms.PSet(
10 generator = cms.untracked.uint32(456789)
12 sourceSeed = cms.untracked.uint32(54321)
15 process.maxEvents = cms.untracked.PSet(
16 input = cms.untracked.int32(2000)
19 process.source = cms.Source(
"EmptySource")
21 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
22 PGunParameters = cms.PSet(
23 PartID = cms.vint32(211),
24 MinEta = cms.double(3.5765),
25 MaxEta = cms.double(3.5765),
26 MinPhi = cms.double(0.6109),
27 MaxPhi = cms.double(0.6109),
28 MinE = cms.double(100.0),
29 MaxE = cms.double(100.0)
31 AddAntiParticle = cms.bool(
False),
32 psethack = cms.string(
'single pion 100GeV on fwd hcal'),
33 Verbosity = cms.untracked.int32(0),
34 firstRun = cms.untracked.uint32(1)
37 process.GEN = cms.OutputModule(
"PoolOutputModule",
38 fileName = cms.untracked.string(
'mc_pi+100_etaphi344.root')
41 process.p1 = cms.Path(process.generator)
42 process.p2 = cms.EndPath(process.GEN)