Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("CONVERT")
00004 process.source = cms.Source("EmptySource")
00005 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
00006
00007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
00008 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
00009
00010 process.MuonGeometryDBConverter = cms.EDAnalyzer("MuonGeometryDBConverter",
00011 input = cms.string("xml"),
00012 fileName = cms.string("REPLACEME.xml"),
00013 shiftErr = cms.double(1000.),
00014 angleErr = cms.double(6.28),
00015
00016 output = cms.string("db")
00017 )
00018
00019 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00020 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00021 process.CondDBSetup,
00022 connect = cms.string("sqlite_file:REPLACEME.db"),
00023 toPut = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
00024 cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
00025 cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
00026 cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd"))))
00027
00028 process.Path = cms.Path(process.MuonGeometryDBConverter)