5 process.load(
"SimGeneral.HepPDTESSource.pdt_cfi")
6 process.load(
"IOMC.RandomEngine.IOMC_cff")
7 process.load(
'IOMC.EventVertexGenerators.VtxSmearedFlat_cfi')
8 process.load(
'GeneratorInterface.Core.generatorSmeared_cfi')
9 process.load(
'FWCore.MessageService.MessageLogger_cfi')
10 process.load(
"SimG4Core.Application.g4SimHits_cfi")
12 process.source = cms.Source(
"EmptySource")
14 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
15 PGunParameters = cms.PSet(
16 PartID = cms.vint32(14),
17 MinEta = cms.double(-3.5),
18 MaxEta = cms.double(3.5),
19 MinPhi = cms.double(-3.14159265359),
20 MaxPhi = cms.double(3.14159265359),
21 MinE = cms.double(9.99),
22 MaxE = cms.double(10.01)
24 AddAntiParticle = cms.bool(
False),
25 Verbosity = cms.untracked.int32(0),
26 firstRun = cms.untracked.uint32(1)
29 process.maxEvents = cms.untracked.PSet(
30 input = cms.untracked.int32(1)
33 process.p1 = cms.Path(process.generator*process.VtxSmeared*process.generatorSmeared*process.g4SimHits)
35 process.g4SimHits.UseMagneticField =
False 36 process.g4SimHits.Physics.type =
'SimG4Core/Physics/DummyPhysics' 37 process.g4SimHits.Physics.DummyEMPhysics =
True 38 process.g4SimHits.Physics.DefaultCutValue = 10.
39 process.g4SimHits.LHCTransport =
False 40 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
41 NodeNames = cms.untracked.vstring(),
42 type = cms.string(
'PrintGeomSummary')
46
def printGeomSummary(process)