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.HcalCommonData.hcalParameters_cfi")
23 process.load(
"Geometry.HcalCommonData.hcalDDDSimConstants_cfi")
25 process.load(
"SimG4Core.Application.g4SimHits_cfi")
27 process.MessageLogger = cms.Service(
"MessageLogger",
28 destinations = cms.untracked.vstring(
'cout'),
29 categories = cms.untracked.vstring(
'G4cout',
'G4cerr'),
30 debugModules = cms.untracked.vstring(
'*'),
31 cout = cms.untracked.PSet(
32 threshold = cms.untracked.string(
'DEBUG'),
33 default = cms.untracked.PSet(
34 limit = cms.untracked.int32(0)
36 G4cerr = cms.untracked.PSet(
37 limit = cms.untracked.int32(-1)
39 G4cout = cms.untracked.PSet(
40 limit = cms.untracked.int32(-1)
45 process.load(
"IOMC.RandomEngine.IOMC_cff")
47 process.source = cms.Source(
"EmptySource")
49 process.generator = cms.EDProducer(
"FlatRandomEGunProducer",
50 PGunParameters = cms.PSet(
51 PartID = cms.vint32(14),
52 MinEta = cms.double(-3.5),
53 MaxEta = cms.double(3.5),
54 MinPhi = cms.double(-3.14159265359),
55 MaxPhi = cms.double(3.14159265359),
56 MinE = cms.double(9.99),
57 MaxE = cms.double(10.01)
59 AddAntiParticle = cms.bool(
False),
60 Verbosity = cms.untracked.int32(0),
61 firstRun = cms.untracked.uint32(1)
64 process.maxEvents = cms.untracked.PSet(
65 input = cms.untracked.int32(1)
68 process.p1 = cms.Path(process.generator*process.g4SimHits)
70 process.g4SimHits.UseMagneticField =
False
71 process.g4SimHits.Physics.type =
'SimG4Core/Physics/DummyPhysics'
72 process.g4SimHits.Physics.DummyEMPhysics =
True