test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
convertToXML_global_cfg.py
Go to the documentation of this file.
1 import os
2 
3 fileName = os.getenv("ALIGNMENT_CONVERTXML")
4 
6 process.PoolDBESSource.connect = "sqlite_file:%s" % fileName
7 process.MuonGeometryDBConverter.outputXML.fileName = "%s_global.xml" % fileName
8 process.MuonGeometryDBConverter.outputXML.relativeto = "none"
9 process.MuonGeometryDBConverter.outputXML.suppressDTChambers = True
10 process.MuonGeometryDBConverter.outputXML.suppressDTSuperLayers = True
11 process.MuonGeometryDBConverter.outputXML.suppressDTLayers = True
12 process.MuonGeometryDBConverter.outputXML.suppressCSCChambers = False
13 process.MuonGeometryDBConverter.outputXML.suppressCSCLayers = True
14 
15 process.MuonGeometryDBConverter.getAPEs = cms.bool(False)
16 process.PoolDBESSource.toGet = cms.VPSet(
17  cms.PSet(record = cms.string("DTAlignmentRcd"), tag = cms.string("DTAlignmentRcd")),
18  cms.PSet(record = cms.string("DTAlignmentErrorRcd"), tag = cms.string("DTAlignmentErrorRcd")),
19  cms.PSet(record = cms.string("CSCAlignmentRcd"), tag = cms.string("CSCAlignmentRcd")),
20  cms.PSet(record = cms.string("CSCAlignmentErrorRcd"), tag = cms.string("CSCAlignmentErrorRcd")),
21  )