Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MuonConstantsTest")
0004 process.load("SimGeneral.HepPDTESSource.pdt_cfi")
0005 process.load("Geometry.CMSCommonData.cmsExtendedGeometry2026D46XML_cfi")
0006 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 
0009 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0010                                             confGeomXMLFiles = cms.FileInPath('Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2026D46.xml'),
0011                                             appendToDataLabel = cms.string('')
0012                                             )
0013 
0014 process.DDCompactViewESProducer = cms.ESProducer("DDCompactViewESProducer",
0015                                                  appendToDataLabel = cms.string('')
0016 )
0017 
0018 process.source = cms.Source("EmptySource")
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(1)
0022 )
0023 
0024 process.muonGeometryConstants.fromDD4hep = True
0025 
0026 process.test = cms.EDAnalyzer("MuonGeometryConstantsTester")
0027 
0028 process.p1 = cms.Path(process.test)