File indexing completed on 2024-04-06 12:15:32
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("GeometryAndMFTest")
0004 process.load('Configuration.Geometry.GeometryIdeal2015_cff')
0005 process.load('MagneticField.Engine.volumeBasedMagneticField_160812_cfi')
0006
0007 process.maxEvents = cms.untracked.PSet(
0008 input = cms.untracked.int32(1)
0009 )
0010
0011 process.source = cms.Source("EmptySource")
0012
0013 process.myprint = cms.OutputModule("AsciiOutputModule")
0014
0015
0016 process.prod = cms.EDAnalyzer("PerfectGeometryAnalyzer",
0017 ddRootNodeName = cms.untracked.string('cms:OCMS'),
0018 dumpPosInfo = cms.untracked.bool(True),
0019 dumpSpecs = cms.untracked.bool(True),
0020 dumpGeoHistory = cms.untracked.bool(True),
0021 label = cms.untracked.string(''),
0022 isMagField = cms.untracked.bool(False),
0023 outFileName = cms.untracked.string('GeoHistory'),
0024 numNodesToDump = cms.untracked.uint32(0)
0025 )
0026
0027
0028 process.prodmag = cms.EDAnalyzer("PerfectGeometryAnalyzer",
0029 ddRootNodeName = cms.untracked.string('cmsMagneticField:MAGF'),
0030 dumpPosInfo = cms.untracked.bool(True),
0031 dumpSpecs = cms.untracked.bool(True),
0032 dumpGeoHistory = cms.untracked.bool(True),
0033 label = cms.untracked.string('magfield'),
0034 isMagField = cms.untracked.bool(True),
0035 outFileName = cms.untracked.string('MagF'),
0036 numNodesToDump = cms.untracked.uint32(0)
0037 )
0038
0039 process.Timing = cms.Service("Timing")
0040
0041 process.p1 = cms.Path(process.prodmag*process.prod)
0042 process.e1 = cms.EndPath(process.myprint)