CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cmsRun_displayGeom_cfg.py
Go to the documentation of this file.
1 #################################################
2 #
3 # Please run the script with cmsRun:
4 #
5 # cmsRun displayGeom_cfg.py
6 #
7 #################################################
8 
9 import FWCore.ParameterSet.Config as cms
10 
11 process = cms.Process("DISPLAY")
12 
13 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
14 
15 
16 
17 process.source = cms.Source("EmptySource")
18 
19 process.EveService = cms.Service("EveService")
20 
21 ### Extractor of geometry needed to display it in Eve.
22 ### Required for "DummyEvelyser".
23 process.add_( cms.ESProducer(
24  "TGeoMgrFromDdd",
25  verbose = cms.untracked.bool(False),
26  level = cms.untracked.int32(8)
27 ))
28 
29 process.dump = cms.EDAnalyzer(
30  "DisplayGeom"
31 
32 )
33 
34 process.p = cms.Path(process.dump)