Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:27:26

0001 #################################################
0002 #
0003 # Please run the script with cmsRun:
0004 # 
0005 # cmsRun displayGeom_cfg.py
0006 #
0007 #################################################
0008 
0009 import FWCore.ParameterSet.Config as cms
0010 
0011 process = cms.Process("DISPLAY")
0012 
0013 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0014 
0015 
0016 
0017 process.source = cms.Source("EmptySource")
0018 
0019 process.EveService = cms.Service("EveService")
0020 
0021 ### Extractor of geometry needed to display it in Eve.
0022 ### Required for "DummyEvelyser".
0023 process.add_( cms.ESProducer(
0024         "TGeoMgrFromDdd",
0025         verbose = cms.untracked.bool(False),
0026         level   = cms.untracked.int32(8)
0027 ))
0028 
0029 process.dump = cms.EDAnalyzer(
0030     "DisplayGeom"
0031 
0032 )
0033 
0034 process.p = cms.Path(process.dump)