1 import FWCore.ParameterSet.Config
as cms
5 process.load(
'SimGeneral.HepPDTESSource.pdt_cfi')
7 process.load(
'IOMC.RandomEngine.IOMC_cff')
8 process.load(
'IOMC.EventVertexGenerators.VtxSmearedFlat_cfi')
9 process.load(
'GeneratorInterface.Core.generatorSmeared_cfi')
10 process.load(
'FWCore.MessageService.MessageLogger_cfi')
11 process.load(
'SimG4Core.Application.g4SimHits_cfi')
13 process.source = cms.Source(
"EmptySource")
15 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
16 PGunParameters = cms.PSet(
17 PartID = cms.vint32(14),
18 MinEta = cms.double(-3.5),
19 MaxEta = cms.double(3.5),
20 MinPhi = cms.double(-3.14159265359),
21 MaxPhi = cms.double(3.14159265359),
22 MinE = cms.double(9.99),
23 MaxE = cms.double(10.01)
25 AddAntiParticle = cms.bool(
False),
26 Verbosity = cms.untracked.int32(0),
27 firstRun = cms.untracked.uint32(1)
30 process.maxEvents = cms.untracked.PSet(
31 input = cms.untracked.int32(1)
34 process.p1 = cms.Path(process.generator*process.VtxSmeared*process.generatorSmeared*process.g4SimHits)
36 process.g4SimHits.UseMagneticField =
False
37 process.g4SimHits.Physics.type =
'SimG4Core/Physics/DummyPhysics'
38 process.g4SimHits.Physics.DummyEMPhysics =
True
39 process.g4SimHits.Physics.DefaultCutValue = 10.
41 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
42 DumpSummary = cms.untracked.bool(
True),
43 DumpLVTree = cms.untracked.bool(
True),
44 DumpMaterial = cms.untracked.bool(
False),
45 DumpLVList = cms.untracked.bool(
True),
46 DumpLV = cms.untracked.bool(
True),
47 DumpSolid = cms.untracked.bool(
True),
48 DumpAttributes = cms.untracked.bool(
False),
49 DumpPV = cms.untracked.bool(
True),
50 DumpRotation = cms.untracked.bool(
False),
51 DumpReplica = cms.untracked.bool(
False),
52 DumpTouch = cms.untracked.bool(
False),
53 DumpSense = cms.untracked.bool(
False),
54 DD4Hep = cms.untracked.bool(
False),
55 Name = cms.untracked.string(
'TotemT*'),
56 Names = cms.untracked.vstring(
' '),
57 type = cms.string(
'PrintGeomInfoAction')