File indexing completed on 2024-04-06 11:56:42
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("test")
0004 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0005
0006 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0007
0008 process.load("Alignment.MuonAlignment.Scenarios_cff")
0009
0010 process.source = cms.Source("EmptySource")
0011
0012 process.maxEvents = cms.untracked.PSet(
0013 input = cms.untracked.int32(1)
0014 )
0015 process.MuonGeometryDBConverter = cms.EDAnalyzer("MuonGeometryDBConverter",
0016 outputXML = cms.PSet(
0017 relativeto = cms.string('ideal'),
0018 eulerAngles = cms.bool(False),
0019 survey = cms.bool(False),
0020 rawIds = cms.bool(False),
0021 fileName = cms.string('tmp.xml'),
0022 precision = cms.int32(6)
0023 ),
0024 MisalignmentScenario = cms.PSet(
0025 distribution = cms.string('fixed'),
0026 seed = cms.int32(1234567),
0027 setError = cms.bool(True),
0028 DTBarrels = cms.PSet(
0029 DTChambers = cms.PSet(
0030 dXlocal = cms.double(1.0)
0031 )
0032 ),
0033 CSCEndcaps = cms.PSet(
0034 CSCChambers = cms.PSet(
0035 dXlocal = cms.double(1.0)
0036 )
0037 )
0038 ),
0039 shiftErr = cms.double(5.0),
0040 output = cms.string('xml'),
0041 input = cms.string('scenario'),
0042 angleErr = cms.double(1.0)
0043 )
0044
0045 process.p = cms.Path(process.MuonGeometryDBConverter)
0046
0047