9 import FWCore.ParameterSet.Config
as cms
11 process = cms.Process(
"DISPLAY")
13 process.load(
"MagneticField.Engine.volumeBasedMagneticField_160812_cfi")
15 process.XMLIdealGeometryESSource = cms.ESSource(
"XMLIdealGeometryESSource",
16 geomXMLFiles = cms.vstring(
'Geometry/CMSCommonData/data/normal/cmsextent.xml',
17 'Geometry/CMSCommonData/data/cms.xml',
18 'Geometry/CMSCommonData/data/cmsMagneticField.xml',
19 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_160812_1.xml',
20 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_160812_2.xml',
21 'Geometry/CMSCommonData/data/materials.xml'),
22 rootNodeName = cms.string(
'cms:World')
25 process.maxEvents = cms.untracked.PSet(
26 input = cms.untracked.int32(1)
29 process.source = cms.Source(
"EmptySource")
31 process.EveService = cms.Service(
"EveService")
35 process.add_( cms.ESProducer(
37 verbose = cms.untracked.bool(
False),
38 level = cms.untracked.int32(8)
42 process.dump = cms.EDAnalyzer(
"DisplayGeom",
43 nodes = cms.untracked.vstring(
"cmsMagneticField:MAGF_1"),
44 level = cms.untracked.int32(2),
45 MF_component = cms.untracked.string(
"B"),
46 MF_pickable = cms.untracked.bool(
False),
49 MF_plane_d0 = cms.untracked.vdouble(0, -900, -2000),
50 MF_plane_d1 = cms.untracked.vdouble(0, -900., 2000),
51 MF_plane_d2 = cms.untracked.vdouble(0, 900., -2000.),
58 MF_plane_N = cms.untracked.int32(500),
60 MF_plane_draw_dir = cms.untracked.int32(
False)
63 process.p = cms.Path(process.dump)