Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PrintGeom")
0004 
0005 process.load("Validation.CheckOverlap.testGeometry_cfi")
0006 
0007 process.MessageLogger = cms.Service("MessageLogger",
0008     destinations = cms.untracked.vstring('cout'),
0009     cout = cms.untracked.PSet(
0010         threshold = cms.untracked.string('INFO')
0011     )
0012 )
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(0)
0016 )
0017 
0018 process.source = cms.Source("EmptySource")
0019 
0020 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0021 
0022 process.generator = cms.EDProducer("FlatRandomEGunProducer",
0023     PGunParameters = cms.PSet(
0024         PartID = cms.vint32(13),
0025         MinE   = cms.double(9.99),
0026         MaxE   = cms.double(10.01),
0027         MinEta = cms.double(-2.5),
0028         MaxEta = cms.double(2.5),
0029         MinPhi = cms.double(-3.14159265359),
0030         MaxPhi = cms.double(3.14159265359),
0031         MinPt  = cms.double(9.99),
0032         MaxPt  = cms.double(10.01)
0033     ),
0034     Verbosity = cms.untracked.int32(0),
0035     AddAntiParticle = cms.bool(False),
0036     firstRun = cms.untracked.uint32(1)
0037 )
0038 
0039 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0040     moduleSeeds = cms.PSet(
0041         generator = cms.untracked.uint32(456789), ## check
0042         g4SimHits = cms.untracked.uint32(9876),
0043         VtxSmeared = cms.untracked.uint32(98765432)
0044     ),
0045     sourceSeed = cms.untracked.uint32(123456789)
0046 )
0047 
0048 process.load("SimG4Core.Application.g4SimHits_cfi")
0049 
0050 process.p1 = cms.Path(process.generator*process.g4SimHits)
0051 
0052 process.g4SimHits.Physics.type            = 'SimG4Core/Physics/DummyPhysics'
0053 process.g4SimHits.UseMagneticField        = False
0054 process.g4SimHits.Physics.DummyEMPhysics  = True
0055 process.g4SimHits.Physics.DefaultCutValue = 10. 
0056 process.g4SimHits.Generator.HepMCProductLabel = 'source'
0057 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0058     DumpSummary    = cms.untracked.bool(True),
0059     DumpLVTree     = cms.untracked.bool(True),
0060     DumpMaterial   = cms.untracked.bool(False),
0061     DumpLVList     = cms.untracked.bool(True),
0062     DumpLV         = cms.untracked.bool(True),
0063     DumpSolid      = cms.untracked.bool(True),
0064     DumpAttributes = cms.untracked.bool(False),
0065     DumpPV         = cms.untracked.bool(True),
0066     DumpRotation   = cms.untracked.bool(False),
0067     DumpReplica    = cms.untracked.bool(False),
0068     DumpTouch      = cms.untracked.bool(False),
0069     DumpSense      = cms.untracked.bool(False),
0070     Name           = cms.untracked.string('*'),
0071     Names          = cms.untracked.vstring(),
0072     type           = cms.string('PrintGeomInfoAction')
0073 ))