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_Run2_cff import Run2
0004 #process = cms.Process('G4PrintGeometry',Run2)
0005 #process.load('Configuration.Geometry.GeometryExtended2015Reco_cff')
0006 #process.load('Configuration.Geometry.GeometryExtended2017Reco_cff')
0007 
0008 from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
0009 process = cms.Process('G4PrintGeometry',Run3_DDD)
0010 process.load('Configuration.Geometry.GeometryExtended2021Reco_cff')
0011 
0012 #from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0013 #process = cms.Process('G4PrintGeometry',Phase2C11)
0014 #process.load('Configuration.Geometry.GeometryExtended2026D77Reco_cff')
0015 #process.load('Configuration.Geometry.GeometryExtended2026D83Reco_cff')
0016 
0017 process.load('FWCore.MessageService.MessageLogger_cfi')
0018 
0019 from SimG4Core.PrintGeomInfo.g4PrintGeomInfo_cfi import *
0020 
0021 process = printGeomInfo(process)
0022 
0023 if hasattr(process,'MessageLogger'):
0024     process.MessageLogger.G4cerr=dict()
0025     process.MessageLogger.G4cout=dict()
0026 
0027 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0028     DumpSummary      = cms.untracked.bool(True),
0029     DumpLVTree       = cms.untracked.bool(False),
0030     DumpMaterial     = cms.untracked.bool(False),
0031     DumpLVList       = cms.untracked.bool(False),
0032     DumpLV           = cms.untracked.bool(False),
0033     DumpSolid        = cms.untracked.bool(False),
0034     DumpAttributes   = cms.untracked.bool(False),
0035     DumpPV           = cms.untracked.bool(False),
0036     DumpRotation     = cms.untracked.bool(False),
0037     DumpReplica      = cms.untracked.bool(False),
0038     DumpTouch        = cms.untracked.bool(False),
0039     DumpSense        = cms.untracked.bool(False),
0040     DumpRegion       = cms.untracked.bool(False),
0041     DD4hep           = cms.untracked.bool(False),
0042     Name             = cms.untracked.string(''),
0043     Names            = cms.untracked.vstring(''),
0044     MaterialFileName = cms.untracked.string('matfileDDD.txt'),
0045     SolidFileName    = cms.untracked.string('solidfileDDD.txt'),
0046     LVFileName       = cms.untracked.string('lvfileDDD.txt'),
0047     PVFileName       = cms.untracked.string('pvfileDDD.txt'),
0048     TouchFileName    = cms.untracked.string('touchfileDDD.txt'),
0049     RegionFileName   = cms.untracked.string('regionfileDDD.txt'),
0050     FileDetail       = cms.untracked.bool(True),
0051     type             = cms.string('PrintGeomInfoAction')
0052 ))