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.load(
"CondCore.DBCommon.CondDBSetup_cfi")
11 process.PoolDBESSource = cms.ESSource(
"PoolDBESSource",
13 connect = cms.string(
"sqlite_file:NEW.db"),
15 cms.PSet(record = cms.string(
"DTAlignmentRcd"), tag = cms.string(
"DTAlignmentRcd")),
16 cms.PSet(record = cms.string(
"DTAlignmentErrorExtendedRcd"), tag = cms.string(
"DTAlignmentErrorExtendedRcd")),
17 cms.PSet(record = cms.string(
"CSCAlignmentRcd"), tag = cms.string(
"CSCAlignmentRcd")),
18 cms.PSet(record = cms.string(
"CSCAlignmentErrorExtendedRcd"), tag = cms.string(
"CSCAlignmentErrorExtendedRcd"))))
20 process.inertGlobalPositionRcd = cms.ESSource(
"PoolDBESSource",
22 connect = cms.string(
"sqlite_file:inertGlobalPositionRcd.db"),
23 toGet = cms.VPSet(cms.PSet(record = cms.string(
"GlobalPositionRcd"), tag = cms.string(
"inertGlobalPositionRcd"))))
25 process.MuonGeometryDBConverter = cms.EDAnalyzer(
"MuonGeometryDBConverter",
26 input = cms.string(
"db"),
27 dtLabel = cms.string(
""),
28 cscLabel = cms.string(
""),
29 shiftErr = cms.double(1000.),
30 angleErr = cms.double(6.28),
31 getAPEs = cms.bool(
True),
32 output = cms.string(
"xml"),
34 fileName = cms.string(
"REPLACEME.xml"),
35 relativeto = cms.string(
"ideal"),
36 survey = cms.bool(
False),
37 rawIds = cms.bool(
False),
38 eulerAngles = cms.bool(
False),
39 precision = cms.int32(10),
40 suppressDTBarrel = cms.untracked.bool(
True),
41 suppressDTWheels = cms.untracked.bool(
True),
42 suppressDTStations = cms.untracked.bool(
True),
43 suppressDTChambers = cms.untracked.bool(
False),
44 suppressDTSuperLayers = cms.untracked.bool(
False),
45 suppressDTLayers = cms.untracked.bool(
False),
46 suppressCSCEndcaps = cms.untracked.bool(
True),
47 suppressCSCStations = cms.untracked.bool(
True),
48 suppressCSCRings = cms.untracked.bool(
True),
49 suppressCSCChambers = cms.untracked.bool(
False),
50 suppressCSCLayers = cms.untracked.bool(
False)))
52 process.Path = cms.Path(process.MuonGeometryDBConverter)