Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-16 00:28:57

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.GeometryDD4hepExtended2021Reco_cff')
0006 
0007 #from Configuration.Eras.Era_Phase2C11_dd4hep_cff import Phase2C11_dd4hep
0008 #process = cms.Process('G4PrintGeometry',Phase2C11_dd4hep)
0009 #process.load('Configuration.Geometry.GeometryDD4hepExtended2026D77Reco_cff')
0010 #process.load('Configuration.Geometry.GeometryDD4hepExtended2026D83Reco_cff')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 
0013 from SimG4Core.PrintGeomInfo.g4PrintGeomInfo_cfi import *
0014 
0015 process = printGeomInfo(process)
0016 
0017 if hasattr(process,'MessageLogger'):
0018     process.MessageLogger.G4cerr=dict()
0019     process.MessageLogger.G4cout=dict()
0020 
0021 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0022     DumpSummary      = cms.untracked.bool(True),
0023     DumpLVTree       = cms.untracked.bool(False),
0024     DumpMaterial     = cms.untracked.bool(False),
0025     DumpLVList       = cms.untracked.bool(False),
0026     DumpLV           = cms.untracked.bool(False),
0027     DumpSolid        = cms.untracked.bool(False),
0028     DumpAttributes   = cms.untracked.bool(False),
0029     DumpPV           = cms.untracked.bool(False),
0030     DumpRotation     = cms.untracked.bool(False),
0031     DumpReplica      = cms.untracked.bool(False),
0032     DumpTouch        = cms.untracked.bool(False),
0033     DumpSense        = cms.untracked.bool(False),
0034     DumpRegion       = cms.untracked.bool(False),
0035     DD4hep           = cms.untracked.bool(True),
0036     Name             = cms.untracked.string(''),
0037     Names            = cms.untracked.vstring(''),
0038     MaterialFileName = cms.untracked.string('matfileDD4hep.txt'),
0039     SolidFileName    = cms.untracked.string('solidfileDD4hep.txt'),
0040     LVFileName       = cms.untracked.string('lvfileDD4hep.txt'),
0041     PVFileName       = cms.untracked.string('pvfileDD4hep.txt'),
0042     TouchFileName    = cms.untracked.string('touchfileDD4hep.txt'),
0043     RegionFileName   = cms.untracked.string('regionfileDD4hep.txt'),
0044     FileDetail       = cms.untracked.bool(True),
0045     type             = cms.string('PrintGeomInfoAction')
0046 ))