CMS 3D CMS Logo

convertXMLtoXML_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("CONVERT")
4 process.source = cms.Source("EmptySource")
5 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
6 
7 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
8 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
9 
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 
16  output = cms.string("xml"),
17  outputXML = cms.PSet(fileName = cms.string("REPLACEME.xml"),
18  relativeto = cms.string("ideal"),
19  survey = cms.bool(False),
20  rawIds = cms.bool(False),
21  eulerAngles = cms.bool(False),
22  precision = cms.int32(10),
23  suppressDTBarrel = cms.untracked.bool(True),
24  suppressDTWheels = cms.untracked.bool(True),
25  suppressDTStations = cms.untracked.bool(True),
26  suppressDTChambers = cms.untracked.bool(False),
27  suppressDTSuperLayers = cms.untracked.bool(False),
28  suppressDTLayers = cms.untracked.bool(False),
29  suppressCSCEndcaps = cms.untracked.bool(True),
30  suppressCSCStations = cms.untracked.bool(True),
31  suppressCSCRings = cms.untracked.bool(True),
32  suppressCSCChambers = cms.untracked.bool(False),
33  suppressCSCLayers = cms.untracked.bool(False)
34  ))
35 
36 process.Path = cms.Path(process.MuonGeometryDBConverter)