Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #------------------------------------------------------------
0004 # This is a central part of geometry test implemented in this 
0005 # sub-library. This file is used by test fragments from tets
0006 # sub-directory. It is mandatory for these tests disabling of 
0007 # static build of Simulation:
0008 #
0009 # scram b disable-biglib 
0010 #
0011 #------------------------------------------------------------
0012 
0013 process = cms.Process("CheckOverlap")
0014 
0015 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0016 
0017 #process.load("Geometry.CMSCommonData.cmsExtendedGeometry2015XML_cfi")
0018 process.load("Geometry.CMSCommonData.cmsExtendedGeometry2015devXML_cfi")
0019 
0020 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0021 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0022 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0023 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0024 
0025 process.load("SimG4Core.Application.g4SimHits_cfi")
0026 
0027 process.MessageLogger = cms.Service("MessageLogger",
0028     cerr = cms.untracked.PSet(
0029         enable = cms.untracked.bool(False)
0030     ),
0031     cout = cms.untracked.PSet(
0032         G4cerr = cms.untracked.PSet(
0033             limit = cms.untracked.int32(-1)
0034         ),
0035         G4cout = cms.untracked.PSet(
0036             limit = cms.untracked.int32(-1)
0037         ),
0038         default = cms.untracked.PSet(
0039             limit = cms.untracked.int32(0)
0040         ),
0041         enable = cms.untracked.bool(True),
0042         threshold = cms.untracked.string('DEBUG')
0043     ),
0044     debugModules = cms.untracked.vstring('*')
0045 )
0046 
0047 process.load("IOMC.RandomEngine.IOMC_cff")
0048 
0049 process.source = cms.Source("EmptySource")
0050 
0051 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0052     PGunParameters = cms.PSet(
0053         PartID = cms.vint32(14),
0054         MinEta = cms.double(-3.5),
0055         MaxEta = cms.double(3.5),
0056         MinPhi = cms.double(-3.14159265359),
0057         MaxPhi = cms.double(3.14159265359),
0058         MinE   = cms.double(9.99),
0059         MaxE   = cms.double(10.01)
0060     ),
0061     AddAntiParticle = cms.bool(False),
0062     Verbosity       = cms.untracked.int32(0),
0063     firstRun        = cms.untracked.uint32(1)
0064 )
0065 
0066 process.maxEvents = cms.untracked.PSet(
0067     input = cms.untracked.int32(1)
0068 )
0069 
0070 process.p1 = cms.Path(process.generator*process.g4SimHits)
0071 
0072 process.g4SimHits.UseMagneticField = False
0073 process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
0074 process.g4SimHits.Physics.DummyEMPhysics = True
0075 
0076