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.DTGeometryAlInputDB = cms.ESProducer("DTGeometryESModule",
11  appendToDataLabel = cms.string('idealForInputXML'),
12  applyAlignment = cms.bool(False),
13  alignmentsLabel = cms.string(''),
14  fromDDD = cms.bool(True)
15 )
16 
17 process.CSCGeometryAlInputDB = cms.ESProducer("CSCGeometryESModule",
18  appendToDataLabel = cms.string('idealForInputXML'),
19  debugV = cms.untracked.bool(False),
20  useGangedStripsInME1a = cms.bool(False),
21  alignmentsLabel = cms.string(''),
22  useOnlyWiresInME1a = cms.bool(False),
23  useRealWireGeometry = cms.bool(True),
24  useCentreTIOffsets = cms.bool(False),
25  applyAlignment = cms.bool(False),
26  fromDDD = cms.bool(True),
27  fromDD4hep = cms.bool(False)
28 )
29 
30 process.DTGeometryAlOutputXML = cms.ESProducer("DTGeometryESModule",
31  appendToDataLabel = cms.string('idealForOutputXML'),
32  applyAlignment = cms.bool(False),
33  alignmentsLabel = cms.string(''),
34  fromDDD = cms.bool(True)
35 )
36 
37 process.CSCGeometryAlOutputXML = cms.ESProducer("CSCGeometryESModule",
38  appendToDataLabel = cms.string('idealForOutputXML'),
39  debugV = cms.untracked.bool(False),
40  useGangedStripsInME1a = cms.bool(False),
41  alignmentsLabel = cms.string(''),
42  useOnlyWiresInME1a = cms.bool(False),
43  useRealWireGeometry = cms.bool(True),
44  useCentreTIOffsets = cms.bool(False),
45  applyAlignment = cms.bool(False),
46  fromDDD = cms.bool(True),
47  fromDD4hep = cms.bool(False)
48 )
49 
50 process.MuonGeometryDBConverter = cms.EDAnalyzer("MuonGeometryDBConverter",
51  input = cms.string("xml"),
52  fileName = cms.string("REPLACEME.xml"),
53  shiftErr = cms.double(1000.),
54  angleErr = cms.double(6.28),
55 
56  output = cms.string("xml"),
57  outputXML = cms.PSet(fileName = cms.string("REPLACEME.xml"),
58  relativeto = cms.string("ideal"),
59  survey = cms.bool(False),
60  rawIds = cms.bool(False),
61  eulerAngles = cms.bool(False),
62  precision = cms.int32(10),
63  suppressDTBarrel = cms.untracked.bool(True),
64  suppressDTWheels = cms.untracked.bool(True),
65  suppressDTStations = cms.untracked.bool(True),
66  suppressDTChambers = cms.untracked.bool(False),
67  suppressDTSuperLayers = cms.untracked.bool(False),
68  suppressDTLayers = cms.untracked.bool(False),
69  suppressCSCEndcaps = cms.untracked.bool(True),
70  suppressCSCStations = cms.untracked.bool(True),
71  suppressCSCRings = cms.untracked.bool(True),
72  suppressCSCChambers = cms.untracked.bool(False),
73  suppressCSCLayers = cms.untracked.bool(False)
74  ))
75 
76 process.Path = cms.Path(process.MuonGeometryDBConverter)