File indexing completed on 2024-04-06 12:30:30
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 process = cms.Process('G4PrintGeometry',Run3_dd4hep)
0005 process.load("Configuration.Geometry.GeometryDD4hep_cff")
0006 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff")
0007 process.load("Geometry.EcalCommonData.ecalSimulationParameters_cff")
0008 process.load("Geometry.HcalCommonData.hcalDDDSimConstants_cff")
0009 process.load("Geometry.HcalCommonData.hcalDDDRecConstants_cfi")
0010 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0011 process.load("Geometry.MuonNumbering.muonOffsetESProducer_cff")
0012 process.load('FWCore.MessageService.MessageLogger_cfi')
0013
0014 from SimG4Core.PrintGeomInfo.g4PrintGeomInfo_cfi import *
0015
0016 process = printGeomInfo(process)
0017
0018 if hasattr(process,'MessageLogger'):
0019 process.MessageLogger.G4cerr=dict()
0020 process.MessageLogger.G4cout=dict()
0021
0022 process.DDDetectorESProducer.confGeomXMLFiles = cms.FileInPath("SimG4Core/PrintGeomInfo/data/dd4hep/cmsExtendedGeometry2021.xml")
0023
0024 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0025 DumpSummary = cms.untracked.bool(True),
0026 DumpLVTree = cms.untracked.bool(False),
0027 DumpMaterial = cms.untracked.bool(False),
0028 DumpLVList = cms.untracked.bool(False),
0029 DumpLV = cms.untracked.bool(False),
0030 DumpSolid = cms.untracked.bool(False),
0031 DumpAttributes = cms.untracked.bool(False),
0032 DumpPV = cms.untracked.bool(False),
0033 DumpRotation = cms.untracked.bool(False),
0034 DumpReplica = cms.untracked.bool(False),
0035 DumpTouch = cms.untracked.bool(False),
0036 DumpSense = cms.untracked.bool(False),
0037 DumpRegion = cms.untracked.bool(False),
0038 DD4hep = cms.untracked.bool(True),
0039 Name = cms.untracked.string(''),
0040 Names = cms.untracked.vstring(''),
0041 MaterialFileName = cms.untracked.string('matfileBigDD4hep.txt'),
0042 SolidFileName = cms.untracked.string('solidfileBigDD4hep.txt'),
0043 LVFileName = cms.untracked.string('lvfileBigDD4hep.txt'),
0044 PVFileName = cms.untracked.string('pvfileBigDD4hep.txt'),
0045 TouchFileName = cms.untracked.string('touchfileBigDD4hep.txt'),
0046 RegionFileName = cms.untracked.string('regionfileBigDD4hep.txt'),
0047 FileDetail = cms.untracked.bool(True),
0048 type = cms.string('PrintGeomInfoAction')
0049 ))