Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-07 22:22:59

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     DD4hep           = cms.untracked.bool(False),
0035     Name             = cms.untracked.string(''),
0036     Names            = cms.untracked.vstring(''),
0037     MaterialFileName = cms.untracked.string('matfileDDDDB.txt'),
0038     SolidFileName    = cms.untracked.string('solidfileDDDDB.txt'),
0039     LVFileName       = cms.untracked.string('lvfileDDDDB.txt'),
0040     PVFileName       = cms.untracked.string('pvfileDDDDB.txt'),
0041     TouchFileName    = cms.untracked.string('touchfileDDDDB.txt'),
0042     FileDetail       = cms.untracked.bool(True),
0043     type             = cms.string('PrintGeomInfoAction')
0044 ))