File indexing completed on 2024-05-29 23:12:47
0001
0002
0003
0004
0005
0006
0007
0008
0009 import FWCore.ParameterSet.Config as cms
0010
0011 process = cms.Process("DISPLAY")
0012
0013 process.load("MagneticField.Engine.volumeBasedMagneticField_160812_cfi")
0014
0015 process.XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
0016 geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml',
0017 'Geometry/CMSCommonData/data/cms.xml',
0018 'Geometry/CMSCommonData/data/cmsMagneticField.xml',
0019 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_160812_1.xml',
0020 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_160812_2.xml',
0021 'Geometry/CMSCommonData/data/materials.xml'),
0022 rootNodeName = cms.string('cms:World')
0023 )
0024
0025 process.maxEvents = cms.untracked.PSet(
0026 input = cms.untracked.int32(1)
0027 )
0028
0029 process.source = cms.Source("EmptySource")
0030
0031 process.EveService = cms.Service("EveService")
0032
0033
0034
0035 process.add_( cms.ESProducer(
0036 "TGeoMgrFromDdd",
0037 verbose = cms.untracked.bool(False),
0038 level = cms.untracked.int32(8)
0039 ))
0040
0041
0042 process.dump = cms.EDAnalyzer("DisplayGeom",
0043 nodes = cms.untracked.vstring("cmsMagneticField:MAGF_1"),
0044 level = cms.untracked.int32(2),
0045 MF_component = cms.untracked.string("B"),
0046 MF_pickable = cms.untracked.bool(False),
0047
0048
0049 MF_plane_d0 = cms.untracked.vdouble(0, -900, -2000),
0050 MF_plane_d1 = cms.untracked.vdouble(0, -900., 2000),
0051 MF_plane_d2 = cms.untracked.vdouble(0, 900., -2000.),
0052
0053
0054
0055
0056
0057
0058 MF_plane_N = cms.untracked.int32(500),
0059
0060 MF_plane_draw_dir = cms.untracked.int32(False)
0061 )
0062
0063 process.p = cms.Path(process.dump)
0064