File indexing completed on 2024-04-06 12:31:11
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PrintGeom")
0004
0005
0006
0007
0008
0009 process.load("SLHCUpgradeSimulations.Geometry.Phase1_R34F16_cmsSimIdealGeometryXML_cff")
0010
0011
0012
0013
0014
0015
0016 process.TrackerGeometricDetESModule = cms.ESProducer("TrackerGeometricDetESModule",
0017 fromDDD = cms.bool(True)
0018 )
0019
0020 process.MessageLogger = cms.Service("MessageLogger",
0021 destinations = cms.untracked.vstring('cout'),
0022 categories = cms.untracked.vstring(),
0023 cout = cms.untracked.PSet(
0024 threshold = cms.untracked.string('INFO')
0025 )
0026 )
0027
0028 process.maxEvents = cms.untracked.PSet(
0029 input = cms.untracked.int32(1)
0030 )
0031
0032 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0033
0034
0035
0036 process.load("FastSimulation/Configuration/FlatPtMuonGun_cfi")
0037 process.generator.PGunParameters.PartID[0] = 13
0038 process.generator.PGunParameters.MinPt = 0.9
0039 process.generator.PGunParameters.MaxPt = 50.0
0040 process.generator.PGunParameters.MinEta = -2.4
0041 process.generator.PGunParameters.MaxEta = 2.4
0042 process.generator.AddAntiParticle = False
0043
0044 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0045 moduleSeeds = cms.PSet(
0046 generator = cms.untracked.uint32(456789),
0047 g4SimHits = cms.untracked.uint32(9876),
0048 VtxSmeared = cms.untracked.uint32(98765432)
0049 ),
0050 sourceSeed = cms.untracked.uint32(123456789)
0051 )
0052
0053 process.load("SimG4Core.Application.g4SimHits_cfi")
0054
0055 process.p1 = cms.Path(process.generator*process.g4SimHits)
0056
0057
0058 process.g4SimHits.Physics.type = 'SimG4Core/Physics/DummyPhysics'
0059 process.g4SimHits.UseMagneticField = False
0060 process.g4SimHits.Physics.DummyEMPhysics = True
0061 process.g4SimHits.Physics.DefaultCutValue = 10.
0062 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0063 DumpSummary = cms.untracked.bool(True),
0064 DumpLVTree = cms.untracked.bool(False),
0065 DumpLVMatBudget= cms.untracked.bool(True),
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080 LVNames2Dump = cms.untracked.vstring('PixelBarrelLayer0','PixelBarrelLayer1','PixelBarrelLayer2',
0081 'PixelBarrelLayer3','BEAM'),
0082 Radius2Use = cms.untracked.vdouble(38.7995, 67.8557, 108.92, 159.958, 30.0),
0083 Z2Use = cms.untracked.vdouble(567.8, 567.8, 567.8, 567.8, 567.8),
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110 DumpMaterial = cms.untracked.bool(False),
0111 DumpLVList = cms.untracked.bool(False),
0112 DumpLV = cms.untracked.bool(False),
0113 DumpSolid = cms.untracked.bool(False),
0114 DumpAttributes = cms.untracked.bool(False),
0115 DumpPV = cms.untracked.bool(False),
0116 DumpRotation = cms.untracked.bool(False),
0117 DumpReplica = cms.untracked.bool(False),
0118 DumpTouch = cms.untracked.bool(False),
0119 DumpSense = cms.untracked.bool(False),
0120 Name = cms.untracked.string('PixelBarrel*'),
0121 Names = cms.untracked.vstring('PixelBarrelActiveFull'),
0122 type = cms.string('PrintGeomMatInfo')
0123 ))
0124