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('Configuration.StandardSequences.GeometryRecoDB_cff')
0006 process.load('Configuration.StandardSequences.GeometrySimDB_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 from Configuration.AlCa.GlobalTag import GlobalTag
0009 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2022_realistic', '')
0010 
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(False),
0036     Name             = cms.untracked.string(''),
0037     Names            = cms.untracked.vstring(''),
0038     MaterialFileName = cms.untracked.string('matfileDDDDB.txt'),
0039     SolidFileName    = cms.untracked.string('solidfileDDDDB.txt'),
0040     LVFileName       = cms.untracked.string('lvfileDDDDB.txt'),
0041     PVFileName       = cms.untracked.string('pvfileDDDDB.txt'),
0042     TouchFileName    = cms.untracked.string('touchfileDDDDB.txt'),
0043     RegionFileName   = cms.untracked.string('regionfileDDDDB.txt'),
0044     FileDetail       = cms.untracked.bool(True),
0045     type             = cms.string('PrintGeomInfoAction')
0046 ))