3 process = cms.Process(
"CONVERT")
4 process.source = cms.Source(
"EmptySource")
5 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
7 process.load(
"Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
8 process.load(
"Geometry.MuonNumbering.muonNumberingInitialization_cfi")
10 process.MuonGeometryDBConverter = cms.EDAnalyzer(
"MuonGeometryDBConverter",
11 input = cms.string(
"xml"),
12 fileName = cms.string(
"REPLACEME.xml"),
13 shiftErr = cms.double(1000.),
14 angleErr = cms.double(6.28),
15 output = cms.string(
"db"))
17 process.load(
"CondCore.DBCommon.CondDBSetup_cfi")
18 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
20 connect = cms.string(
"sqlite_file:REPLACEME.db"),
22 cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
23 cms.PSet(record = cms.string(
"DTAlignmentErrorRcd"), tag = cms.string(
"DTAlignmentErrorRcd")),
24 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
25 cms.PSet(record = cms.string(
"CSCAlignmentErrorRcd"), tag = cms.string(
"CSCAlignmentErrorRcd"))))
27 process.inertGlobalPositionRcd = cms.ESSource(
"PoolDBESSource",
29 connect = cms.string(
"sqlite_file:inertGlobalPositionRcd.db"),
30 toGet = cms.VPSet(cms.PSet(record = cms.string(
"GlobalPositionRcd"), tag = cms.string(
"inertGlobalPositionRcd"))))
32 process.Path = cms.Path(process.MuonGeometryDBConverter)