Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-09 23:35:32

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.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, '120X_mcRun3_2021_realistic_dd4hep_v1', '')
0010 
0011 from SimG4Core.PrintGeomInfo.g4PrintGeomInfo_cfi import *
0012 
0013 process = printGeomInfo(process)
0014 
0015 if hasattr(process,'MessageLogger'):
0016     process.MessageLogger.G4cerr=dict()
0017     process.MessageLogger.G4cout=dict()
0018 
0019 process.g4SimHits.Watchers = cms.VPSet(cms.PSet(
0020     DumpSummary      = cms.untracked.bool(True),
0021     DumpLVTree       = cms.untracked.bool(False),
0022     DumpMaterial     = cms.untracked.bool(False),
0023     DumpLVList       = cms.untracked.bool(False),
0024     DumpLV           = cms.untracked.bool(False),
0025     DumpSolid        = cms.untracked.bool(False),
0026     DumpAttributes   = cms.untracked.bool(False),
0027     DumpPV           = cms.untracked.bool(False),
0028     DumpRotation     = cms.untracked.bool(False),
0029     DumpReplica      = cms.untracked.bool(False),
0030     DumpTouch        = cms.untracked.bool(False),
0031     DumpSense        = cms.untracked.bool(False),
0032     DD4hep           = cms.untracked.bool(True),
0033     Name             = cms.untracked.string(''),
0034     Names            = cms.untracked.vstring(''),
0035     MaterialFileName = cms.untracked.string('matfileDD4hepDB.txt'),
0036     SolidFileName    = cms.untracked.string('solidfileDD4hepDB.txt'),
0037     LVFileName       = cms.untracked.string('lvfileDD4hepDB.txt'),
0038     PVFileName       = cms.untracked.string('pvfileDD4hepDB.txt'),
0039     TouchFileName    = cms.untracked.string('touchfileDD4hepDB.txt'),
0040     FileDetail       = cms.untracked.bool(True),
0041     type             = cms.string('PrintGeomInfoAction')
0042 ))