1 import FWCore.ParameterSet.Config
as cms
13 process = cms.Process(
"CheckOverlap")
15 process.load(
"SimGeneral.HepPDTESSource.pdt_cfi")
18 process.load(
"Geometry.CMSCommonData.cmsExtendedGeometry2015devXML_cfi")
20 process.load(
"Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
21 process.load(
"Geometry.MuonNumbering.muonNumberingInitialization_cfi")
22 process.load(
"Geometry.EcalCommonData.ecalSimulationParameters_cff")
23 process.load(
"Geometry.HcalCommonData.hcalDDDSimConstants_cff")
25 process.load(
"SimG4Core.Application.g4SimHits_cfi")
27 process.MessageLogger = cms.Service(
"MessageLogger",
28 cerr = cms.untracked.PSet(
29 enable = cms.untracked.bool(
False)
31 cout = cms.untracked.PSet(
32 G4cerr = cms.untracked.PSet(
33 limit = cms.untracked.int32(-1)
35 G4cout = cms.untracked.PSet(
36 limit = cms.untracked.int32(-1)
38 default = cms.untracked.PSet(
39 limit = cms.untracked.int32(0)
41 enable = cms.untracked.bool(
True),
42 threshold = cms.untracked.string(
'DEBUG')
44 debugModules = cms.untracked.vstring(
'*')
47 process.load(
"IOMC.RandomEngine.IOMC_cff")
49 process.source = cms.Source(
"EmptySource")
51 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
52 PGunParameters = cms.PSet(
53 PartID = cms.vint32(14),
54 MinEta = cms.double(-3.5),
55 MaxEta = cms.double(3.5),
56 MinPhi = cms.double(-3.14159265359),
57 MaxPhi = cms.double(3.14159265359),
58 MinE = cms.double(9.99),
59 MaxE = cms.double(10.01)
61 AddAntiParticle = cms.bool(
False),
62 Verbosity = cms.untracked.int32(0),
63 firstRun = cms.untracked.uint32(1)
66 process.maxEvents = cms.untracked.PSet(
67 input = cms.untracked.int32(1)
70 process.p1 = cms.Path(process.generator*process.g4SimHits)
72 process.g4SimHits.UseMagneticField =
False 73 process.g4SimHits.Physics.type =
'SimG4Core/Physics/DummyPhysics' 74 process.g4SimHits.Physics.DummyEMPhysics =
True