CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
testEve_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("DISPLAY")
4 
5 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
6 
7 ### Expects test.root in current directory.
8 process.source = cms.Source(
9  "PoolSource",
10  fileNames=cms.untracked.vstring('file:test.root')
11 )
12 
13 # process.maxEvents = cms.untracked.PSet(
14 # input = cms.untracked.int32(1)
15 # )
16 
17 ### For running on pre 3.6 files the current needed to determine the
18 ### magnetic field is taken from Conditions DB.
19 # process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
20 ### specify tag:
21 # process.GlobalTag.globaltag = 'START36_V10::All'
22 ### or use auto-cond:
23 # from Configuration.AlCa.autoCond import autoCond
24 # process.GlobalTag.globaltag = autoCond['mc']
25 
26 ### Request EveService
27 process.EveService = cms.Service("EveService")
28 
29 ### Extractor of geometry needed to display it in Eve.
30 ### Required for "DummyEvelyser".
31 process.add_( cms.ESProducer(
32  "TGeoMgrFromDdd",
33  verbose = cms.untracked.bool(False),
34  level = cms.untracked.int32(8)
35 ))
36 
37 process.dump = cms.EDAnalyzer(
38  "DummyEvelyser",
39  tracks = cms.untracked.InputTag("generalTracks")
40 )
41 
42 process.p = cms.Path(process.dump)