Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CONVERT")
0004 process.source = cms.Source("EmptySource")
0005 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0006 
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0009 
0010 process.DTGeometryAlInputDB = cms.ESProducer("DTGeometryESModule",
0011     appendToDataLabel = cms.string('idealForInputXML'),
0012     applyAlignment = cms.bool(False), 
0013     alignmentsLabel = cms.string(''),
0014     fromDDD = cms.bool(True)
0015 )
0016 
0017 process.CSCGeometryAlInputDB = cms.ESProducer("CSCGeometryESModule",
0018     appendToDataLabel = cms.string('idealForInputXML'),
0019     debugV = cms.untracked.bool(False),
0020     useGangedStripsInME1a = cms.bool(False),
0021     alignmentsLabel = cms.string(''),
0022     useOnlyWiresInME1a = cms.bool(False),
0023     useRealWireGeometry = cms.bool(True),
0024     useCentreTIOffsets = cms.bool(False),
0025     applyAlignment = cms.bool(False),
0026     fromDDD = cms.bool(True),
0027     fromDD4hep = cms.bool(False)
0028 )
0029 
0030 process.DTGeometryAlOutputXML = cms.ESProducer("DTGeometryESModule",
0031     appendToDataLabel = cms.string('idealForOutputXML'),
0032     applyAlignment = cms.bool(False), 
0033     alignmentsLabel = cms.string(''),
0034     fromDDD = cms.bool(True)
0035 )
0036 
0037 process.CSCGeometryAlOutputXML = cms.ESProducer("CSCGeometryESModule",
0038     appendToDataLabel = cms.string('idealForOutputXML'),
0039     debugV = cms.untracked.bool(False),
0040     useGangedStripsInME1a = cms.bool(False),
0041     alignmentsLabel = cms.string(''),
0042     useOnlyWiresInME1a = cms.bool(False),
0043     useRealWireGeometry = cms.bool(True),
0044     useCentreTIOffsets = cms.bool(False),
0045     applyAlignment = cms.bool(False), 
0046     fromDDD = cms.bool(True),
0047     fromDD4hep = cms.bool(False)
0048 )
0049 
0050 process.MuonGeometryDBConverter = cms.EDAnalyzer("MuonGeometryDBConverter",
0051                                                  input = cms.string("xml"),
0052                                                  fileName = cms.string("REPLACEME.xml"),
0053                                                  shiftErr = cms.double(1000.),
0054                                                  angleErr = cms.double(6.28),
0055 
0056                                                  output = cms.string("xml"),
0057                                                  outputXML = cms.PSet(fileName = cms.string("REPLACEME.xml"),
0058                                                                       relativeto = cms.string("ideal"),
0059                                                                       survey = cms.bool(False),
0060                                                                       rawIds = cms.bool(False),
0061                                                                       eulerAngles = cms.bool(False),
0062                                                                       precision = cms.int32(10),
0063                                                                       suppressDTBarrel = cms.untracked.bool(True),
0064                                                                       suppressDTWheels = cms.untracked.bool(True),
0065                                                                       suppressDTStations = cms.untracked.bool(True),
0066                                                                       suppressDTChambers = cms.untracked.bool(False),
0067                                                                       suppressDTSuperLayers = cms.untracked.bool(False),
0068                                                                       suppressDTLayers = cms.untracked.bool(False),
0069                                                                       suppressCSCEndcaps = cms.untracked.bool(True),
0070                                                                       suppressCSCStations = cms.untracked.bool(True),
0071                                                                       suppressCSCRings = cms.untracked.bool(True),
0072                                                                       suppressCSCChambers = cms.untracked.bool(False),
0073                                                                       suppressCSCLayers = cms.untracked.bool(False)
0074                                                                       ))
0075 
0076 process.Path = cms.Path(process.MuonGeometryDBConverter)