CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/MuonAlignment/python/convertSQLitetoXML_cfg.py

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.load("CondCore.DBCommon.CondDBSetup_cfi")
00011 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
00012                                       process.CondDBSetup,
00013                                       connect = cms.string("sqlite_file:REPLACEME.db"),
00014                                       toGet = cms.VPSet(cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
00015                                                         cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
00016                                                         cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
00017                                                         cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd"))))
00018 process.inertGlobalPositionRcd = cms.ESSource("PoolDBESSource",
00019                                               process.CondDBSetup,
00020                                               connect = cms.string("sqlite_file:inertGlobalPositionRcd.db"),
00021                                               toGet = cms.VPSet(cms.PSet(record = cms.string("GlobalPositionRcd"), tag = cms.string("inertGlobalPositionRcd"))))
00022 
00023 process.MuonGeometryDBConverter = cms.EDAnalyzer("MuonGeometryDBConverter",
00024                                                  input = cms.string("db"),
00025                                                  dtLabel = cms.string(""),
00026                                                  cscLabel = cms.string(""),
00027                                                  shiftErr = cms.double(1000.),
00028                                                  angleErr = cms.double(6.28),
00029                                                  getAPEs = cms.bool(True),
00030 
00031                                                  output = cms.string("xml"),
00032                                                  outputXML = cms.PSet(fileName = cms.string("REPLACEME.xml"),
00033                                                                       relativeto = cms.string("ideal"),
00034                                                                       survey = cms.bool(False),
00035                                                                       rawIds = cms.bool(False),
00036                                                                       eulerAngles = cms.bool(False),
00037                                                                       precision = cms.int32(8),
00038                                                                       suppressDTBarrel = cms.untracked.bool(True),
00039                                                                       suppressDTWheels = cms.untracked.bool(True),
00040                                                                       suppressDTStations = cms.untracked.bool(True),
00041                                                                       suppressDTChambers = cms.untracked.bool(False),
00042                                                                       suppressDTSuperLayers = cms.untracked.bool(False),
00043                                                                       suppressDTLayers = cms.untracked.bool(False),
00044                                                                       suppressCSCEndcaps = cms.untracked.bool(True),
00045                                                                       suppressCSCStations = cms.untracked.bool(True),
00046                                                                       suppressCSCRings = cms.untracked.bool(True),
00047                                                                       suppressCSCChambers = cms.untracked.bool(False),
00048                                                                       suppressCSCLayers = cms.untracked.bool(False)
00049                                                                       ))
00050 
00051 process.Path = cms.Path(process.MuonGeometryDBConverter)