Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0004 process = cms.Process('G4PrintGeometry',Run3_DDD)
0005 process.load('SimG4Core.PrintGeomInfo.cmsExtendedGeometry2021_cfi')
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.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0023     DumpSummary      = cms.untracked.bool(True),
0024     DumpLVTree       = cms.untracked.bool(False),
0025     DumpMaterial     = cms.untracked.bool(False),
0026     DumpLVList       = cms.untracked.bool(False),
0027     DumpLV           = cms.untracked.bool(False),
0028     DumpSolid        = cms.untracked.bool(False),
0029     DumpAttributes   = cms.untracked.bool(False),
0030     DumpPV           = cms.untracked.bool(False),
0031     DumpRotation     = cms.untracked.bool(False),
0032     DumpReplica      = cms.untracked.bool(False),
0033     DumpTouch        = cms.untracked.bool(False),
0034     DumpSense        = cms.untracked.bool(False),
0035     DumpRegion       = cms.untracked.bool(False),
0036     DD4hep           = cms.untracked.bool(False),
0037     Name             = cms.untracked.string(''),
0038     Names            = cms.untracked.vstring(''),
0039     MaterialFileName = cms.untracked.string('matfileBigDDD.txt'),
0040     SolidFileName    = cms.untracked.string('solidfileBigDDD.txt'),
0041     LVFileName       = cms.untracked.string('lvfileBigDDD.txt'),
0042     PVFileName       = cms.untracked.string('pvfileBigDDD.txt'),
0043     TouchFileName    = cms.untracked.string('touchfileBigDDD.txt'),
0044     RegionFileName   = cms.untracked.string('regionfileBigDDD.txt'),
0045     FileDetail       = cms.untracked.bool(True),
0046     type             = cms.string('PrintGeomInfoAction')
0047 ))