File indexing completed on 2024-04-06 12:32:28
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("GEN")
0004
0005
0006 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0007
0008 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0009 moduleSeeds = cms.PSet(
0010 generator = cms.untracked.uint32(456789)
0011 ),
0012 sourceSeed = cms.untracked.uint32(54321)
0013 )
0014
0015 process.maxEvents = cms.untracked.PSet(
0016 input = cms.untracked.int32(2000)
0017 )
0018
0019 process.source = cms.Source("EmptySource")
0020
0021 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0022 PGunParameters = cms.PSet(
0023 PartID = cms.vint32(211),
0024 MinEta = cms.double(2.108),
0025 MaxEta = cms.double(2.108),
0026 MinPhi = cms.double(0.6109),
0027 MaxPhi = cms.double(0.6109),
0028 MinE = cms.double(100.0),
0029 MaxE = cms.double(100.0)
0030 ),
0031 AddAntiParticle = cms.bool(False),
0032 psethack = cms.string('single pion 100GeV on endcap'),
0033 Verbosity = cms.untracked.int32(0),
0034 firstRun = cms.untracked.uint32(1)
0035 )
0036
0037 process.GEN = cms.OutputModule("PoolOutputModule",
0038 fileName = cms.untracked.string('mc_pi+100_etaphi244.root')
0039 )
0040
0041 process.p1 = cms.Path(process.generator)
0042 process.p2 = cms.EndPath(process.GEN)
0043