Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # Geometry master configuration
0005 #
0006 # Ideal geometry, needed for simulation
0007 
0008 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
0009 
0010 def _loadSimGeomDBDDD(process) :
0011     process.load('Configuration.Geometry.GeometryDDDSimDB_cff')
0012 
0013 def _loadSimGeomDBDD4hep(process) :
0014     process.load('Configuration.Geometry.GeometryDD4hepSimDB_cff')
0015 
0016 modifyGeometryConfiguration = (~dd4hep).makeProcessModifier(_loadSimGeomDBDDD)
0017 modifyGeometryConfiguration_dd4hep = dd4hep.makeProcessModifier(_loadSimGeomDBDD4hep)