Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('DUMP')
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0007 process.load("Geometry.GEMGeometryBuilder.gemGeometry_cff")
0008 process.load("Geometry.GEMGeometryBuilder.gemGeometryDump_cfi")
0009 
0010 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0011                                             confGeomXMLFiles = cms.FileInPath('Geometry/MuonCommonData/data/dd4hep/testGE0XML.xml'),
0012                                             appendToDataLabel = cms.string('')
0013                                         )
0014 
0015 process.DDCompactViewESProducer = cms.ESProducer("DDCompactViewESProducer",
0016                                                  appendToDataLabel = cms.string('')
0017 )
0018 
0019 if 'MessageLogger' in process.__dict__:
0020     process.MessageLogger.Geometry=dict()
0021     process.MessageLogger.GEMNumberingScheme=dict()
0022     process.MessageLogger.GEMGeometry=dict()
0023 
0024 process.source = cms.Source('EmptySource')
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(1)
0028 )
0029 
0030 process.muonGeometryConstants.fromDD4hep = True
0031 process.gemGeometry.fromDDD = False
0032 process.gemGeometry.fromDD4hep = True
0033 #process.gemGeometryDump.verbose = True
0034 
0035 process.p = cms.Path(process.gemGeometryDump)