CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Alignment/MuonAlignmentAlgorithms/python/convertToXML_global_cfg.py

Go to the documentation of this file.
00001 import os
00002 
00003 fileName = os.getenv("ALIGNMENT_CONVERTXML")
00004 
00005 from Alignment.MuonAlignment.convertSQLitetoXML_cfg import *
00006 process.PoolDBESSource.connect = "sqlite_file:%s" % fileName
00007 process.MuonGeometryDBConverter.outputXML.fileName = "%s_global.xml" % fileName
00008 process.MuonGeometryDBConverter.outputXML.relativeto = "none"
00009 process.MuonGeometryDBConverter.outputXML.suppressDTChambers = True
00010 process.MuonGeometryDBConverter.outputXML.suppressDTSuperLayers = True
00011 process.MuonGeometryDBConverter.outputXML.suppressDTLayers = True
00012 process.MuonGeometryDBConverter.outputXML.suppressCSCChambers = False
00013 process.MuonGeometryDBConverter.outputXML.suppressCSCLayers = True
00014 
00015 process.MuonGeometryDBConverter.getAPEs = cms.bool(False)
00016 process.PoolDBESSource.toGet = cms.VPSet(
00017     cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
00018     cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
00019     cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
00020     cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd")),
00021       )