Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 import FWCore.ParameterSet.Config as cms
00010
00011 process = cms.Process("DISPLAY")
00012
00013 process.load("Configuration.StandardSequences.GeometryExtended_cff")
00014 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
00015
00016 process.XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
00017 geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/normal/cmsextent.xml',
00018 'Geometry/CMSCommonData/data/cms.xml',
00019 'Geometry/CMSCommonData/data/cmsMagneticField.xml',
00020 'MagneticField/GeomBuilder/data/MagneticFieldVolumes_1103l.xml',
00021 'MagneticField/GeomBuilder/data/MagneticFieldParameters_07.xml',
00022 'Geometry/CMSCommonData/data/materials.xml'),
00023 rootNodeName = cms.string('cms:MCMS')
00024 )
00025
00026
00027
00028
00029
00030 process.maxEvents = cms.untracked.PSet(
00031 input = cms.untracked.int32(1)
00032 )
00033
00034
00035 process.source = cms.Source("EmptySource")
00036
00037 process.EveService = cms.Service("EveService")
00038
00039
00040
00041 process.add_( cms.ESProducer(
00042 "TGeoMgrFromDdd",
00043 verbose = cms.untracked.bool(False),
00044 level = cms.untracked.int32(8)
00045 ))
00046
00047
00048
00049 process.disp = cms.EDProducer("MFProducer",
00050 mapDensityX = cms.untracked.uint32(10),
00051 mapDensityY = cms.untracked.uint32(10),
00052 mapDensityZ = cms.untracked.uint32(10),
00053 minX = cms.untracked.double(-18.0),
00054 maxX = cms.untracked.double(18.0),
00055 minY = cms.untracked.double(-18.0),
00056 maxY = cms.untracked.double(18.0),
00057 minZ = cms.untracked.double(-18.0),
00058 maxZ = cms.untracked.double(18.0))
00059
00060 process.dump = cms.EDAnalyzer(
00061 "DisplayGeom",
00062 level = cms.untracked.int32(2),
00063 MF = cms.untracked.int32(True)
00064 )
00065
00066 process.p = cms.Path(process.dump+process.disp)