CMS 3D CMS Logo

dict2023Geometry.py
Go to the documentation of this file.
1 maxsections = 5
2 
3 commonDict = {
4  "abbrev" : "O",
5  "name" : "common",
6  "default" : 2,
7  "O2" : {
8  1 : [
9  'Geometry/CMSCommonData/data/materials.xml',
10  'Geometry/CMSCommonData/data/rotations.xml',
11  'Geometry/CMSCommonData/data/extend/v2/cmsextent.xml',
12  'Geometry/CMSCommonData/data/cms/2023/v1/cms.xml',
13  'Geometry/CMSCommonData/data/eta3/etaMax.xml',
14  'Geometry/CMSCommonData/data/cmsMother.xml',
15  'Geometry/CMSCommonData/data/cmsTracker.xml',
16  'Geometry/CMSCommonData/data/caloBase/2023/v1/caloBase.xml',
17  'Geometry/CMSCommonData/data/cmsCalo.xml',
18  'Geometry/CMSCommonData/data/muonBase/2023/v2/muonBase.xml',
19  'Geometry/CMSCommonData/data/cmsMuon.xml',
20  'Geometry/CMSCommonData/data/mgnt.xml',
21  'Geometry/CMSCommonData/data/beampipe/2023/v1/beampipe.xml',
22  'Geometry/CMSCommonData/data/cmsBeam/2023/v1/cmsBeam.xml',
23  'Geometry/CMSCommonData/data/muonMB.xml',
24  'Geometry/CMSCommonData/data/muonMagnet.xml',
25  'Geometry/CMSCommonData/data/cavern/2017/v2/cavern.xml',
26  'Geometry/CMSCommonData/data/cavernData/2017/v1/cavernData.xml',
27  'Geometry/CMSCommonData/data/cavernFloor/2017/v1/cavernFloor.xml',
28  ],
29  5 : [
30  'Geometry/CMSCommonData/data/FieldParameters.xml',
31  ],
32  "era" : "run2_common, run3_common, phase2_common",
33  }
34 }
35 
36 trackerDict = {
37  "abbrev" : "T",
38  "name" : "tracker",
39  "default" : 5,
40  "T4" : {
41  1 : [
42  'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
43  'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
44  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixfwd.xml',
45  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixbar.xml',
46  'Geometry/TrackerCommonData/data/trackermaterial.xml',
47  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/tracker.xml',
48  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixel.xml',
49  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerbar.xml',
50  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerfwd.xml',
51  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/trackerStructureTopology.xml',
52  'Geometry/TrackerCommonData/data/PhaseII/FlatTracker/pixelStructureTopology.xml',
53  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackersens.xml',
54  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelsens.xml',
55  'Geometry/TrackerRecoData/data/PhaseII/FlatTracker/trackerRecoMaterial.xml',
56  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/trackerProdCuts.xml',
57  'Geometry/TrackerSimData/data/PhaseII/FlatTracker/pixelProdCuts.xml',
58  'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
59 
60  ],
61  "sim" : [
62  'from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *',
63  'from SLHCUpgradeSimulations.Geometry.fakeConditions_phase2TkFlat_cff import *',
64  ],
65  "reco" : [
66  'from Geometry.CommonDetUnit.globalTrackingGeometry_cfi import *',
67  'from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *',
68  'from Geometry.TrackerGeometryBuilder.trackerParameters_cfi import *',
69  'from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *',
70  'from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *',
71  'trackerGeometry.applyAlignment = cms.bool(False)',
72  ],
73  "era" : "phase2_tracker, trackingPhase2PU140",
74  },
75  "T5" : {
76  1 : [
77  'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
78  'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
79  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixfwd.xml',
80  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixbar.xml',
81  'Geometry/TrackerCommonData/data/trackermaterial.xml',
82  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/tracker.xml',
83  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixel.xml',
84  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerbar.xml',
85  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerfwd.xml',
86  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerStructureTopology.xml',
87  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixelStructureTopology.xml',
88  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/trackersens.xml',
89  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/pixelsens.xml',
90  'Geometry/TrackerRecoData/data/PhaseII/TiltedTracker4025/trackerRecoMaterial.xml',
91  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/trackerProdCuts.xml',
92  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/pixelProdCuts.xml',
93  'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
94  ],
95  "sim" : [
96  'from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *',
97  'from SLHCUpgradeSimulations.Geometry.fakeConditions_phase2TkTilted4025_cff import *',
98  ],
99  "reco" : [
100  'from Geometry.CommonDetUnit.globalTrackingGeometry_cfi import *',
101  'from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *',
102  'from Geometry.TrackerGeometryBuilder.trackerParameters_cfi import *',
103  'from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *',
104  'from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *',
105  'trackerGeometry.applyAlignment = cms.bool(False)',
106  ],
107  "era" : "phase2_tracker, trackingPhase2PU140",
108  },
109  "T6" : {
110  1 : [
111  'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
112  'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
113  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/pixfwd.xml',
114  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/pixbar.xml',
115  'Geometry/TrackerCommonData/data/trackermaterial.xml',
116  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/tracker.xml',
117  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/pixel.xml',
118  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/trackerbar.xml',
119  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/trackerfwd.xml',
120  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/trackerStructureTopology.xml',
121  'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker404/pixelStructureTopology.xml',
122  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker404/trackersens.xml',
123  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker404/pixelsens.xml',
124  'Geometry/TrackerRecoData/data/PhaseII/TiltedTracker404/trackerRecoMaterial.xml',
125  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker404/trackerProdCuts.xml',
126  'Geometry/TrackerSimData/data/PhaseII/TiltedTracker404/pixelProdCuts.xml',
127  'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
128  ],
129  "sim" : [
130  'from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *',
131  'from SLHCUpgradeSimulations.Geometry.fakeConditions_phase2TkTiltedBase_cff import *',
132  ],
133  "reco" : [
134  'from Geometry.CommonDetUnit.globalTrackingGeometry_cfi import *',
135  'from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *',
136  'from Geometry.TrackerGeometryBuilder.trackerParameters_cfi import *',
137  'from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *',
138  'from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *',
139  'trackerGeometry.applyAlignment = cms.bool(False)',
140  ],
141  "era" : "phase2_tracker, trackingPhase2PU140",
142  }
143 }
144 
145 caloDict = {
146  "abbrev" : "C",
147  "name" : "calo",
148  "default" : 3,
149  "C3" : {
150  1 : [
151  'Geometry/EcalCommonData/data/ectkcable.xml',
152  'Geometry/EcalCommonData/data/PhaseII/eregalgo.xml',
153  'Geometry/EcalCommonData/data/ebalgo.xml',
154  'Geometry/EcalCommonData/data/ebcon.xml',
155  'Geometry/EcalCommonData/data/ebrot.xml',
156  'Geometry/EcalCommonData/data/eecon.xml',
157  'Geometry/EcalCommonData/data/PhaseII/escon.xml',
158  'Geometry/EcalCommonData/data/PhaseII/esalgo.xml',
159  'Geometry/HcalCommonData/data/hcalrotations.xml',
160  'Geometry/HcalCommonData/data/hcal/HGCal/hcalalgo.xml',
161  'Geometry/HcalCommonData/data/hcalbarrelalgo.xml',
162  'Geometry/HcalCommonData/data/hcalendcap/SSAbsorber/hcalendcapalgo.xml',
163  'Geometry/HcalCommonData/data/hcalouteralgo.xml',
164  'Geometry/HcalCommonData/data/hcalforwardalgo.xml',
165  'Geometry/HcalCommonData/data/hcalSimNumbering/2023/hcalSimNumbering.xml',
166  'Geometry/HcalCommonData/data/hcalRecNumbering/2023/hcalRecNumbering.xml',
167  'Geometry/HcalCommonData/data/average/hcalforwardmaterial.xml',
168  'Geometry/HGCalCommonData/data/hgcal/v8/hgcal.xml',
169  'Geometry/HGCalCommonData/data/hgcalEE/v8/hgcalEE.xml',
170  'Geometry/HGCalCommonData/data/hgcalHEsil/v8/hgcalHEsil.xml',
171  'Geometry/HGCalCommonData/data/hgcalwafer/v7/hgcalwafer.xml',
172  'Geometry/HGCalCommonData/data/hgcalCons/v8/hgcalCons.xml',
173  ],
174  3 : [
175  'Geometry/EcalSimData/data/PhaseII/ecalsens.xml',
176  'Geometry/HcalCommonData/data/hcalsens/HGCal/hcalsenspmf.xml',
177  'Geometry/HcalSimData/data/hf.xml',
178  'Geometry/HcalSimData/data/hfpmt.xml',
179  'Geometry/HcalSimData/data/hffibrebundle.xml',
180  'Geometry/HcalSimData/data/CaloUtil.xml',
181  'Geometry/HGCalSimData/data/hgcsensv8.xml',
182  'Geometry/HGCalSimData/data/hgccons.xml',
183  'Geometry/HGCalSimData/data/hgcProdCuts.xml',
184  ],
185  4 : [
186  'Geometry/HcalSimData/data/HcalProdCuts.xml',
187  'Geometry/EcalSimData/data/EcalProdCuts.xml',
188  ],
189  "sim" : [
190  'from Geometry.HcalCommonData.hcalParameters_cfi import *',
191  'from Geometry.HcalCommonData.hcalDDDSimConstants_cfi import *',
192  'from Geometry.HGCalCommonData.hgcalV6ParametersInitialization_cfi import *',
193  'from Geometry.HGCalCommonData.hgcalV6NumberingInitialization_cfi import *'
194  ],
195  "reco" : [
196  'from Geometry.CaloEventSetup.HGCalV6Topology_cfi import *',
197  'from Geometry.HGCalGeometry.HGCalV6GeometryESProducer_cfi import *',
198  'from Geometry.CaloEventSetup.CaloTopology_cfi import *',
199  'from Geometry.CaloEventSetup.CaloGeometryBuilder_cfi import *',
200  'CaloGeometryBuilder = cms.ESProducer("CaloGeometryBuilder",',
201  ' SelectedCalos = cms.vstring("HCAL" ,',
202  ' "ZDC" ,',
203  ' "EcalBarrel" ,',
204  ' "TOWER" ,',
205  ' "HGCalEESensitive" ,',
206  ' "HGCalHESiliconSensitive" ',
207  ' )',
208  ')',
209  'from Geometry.EcalAlgo.EcalBarrelGeometry_cfi import *',
210  'from Geometry.HcalEventSetup.HcalGeometry_cfi import *',
211  'from Geometry.HcalEventSetup.CaloTowerGeometry_cfi import *',
212  'from Geometry.HcalEventSetup.CaloTowerTopology_cfi import *',
213  'from Geometry.HcalCommonData.hcalDDDRecConstants_cfi import *',
214  'from Geometry.HcalEventSetup.hcalTopologyIdeal_cfi import *',
215  'from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import *',
216  'from Geometry.EcalMapping.EcalMapping_cfi import *',
217  'from Geometry.EcalMapping.EcalMappingRecord_cfi import *',
218  ],
219  "era" : "run2_HE_2017, run2_HF_2017, run2_HCAL_2017, run3_HB, phase2_hcal, phase2_hgcal, hcalHardcodeConditions, hcalSkipPacker",
220  }
221 }
222 
223 muonDict = {
224  "abbrev" : "M",
225  "name" : "muon",
226  "default" : 2,
227  "M2" : {
228  1 : [
229  'Geometry/MuonCommonData/data/mbCommon/2017/v2/mbCommon.xml',
230  'Geometry/MuonCommonData/data/mb1/2015/v1/mb1.xml',
231  'Geometry/MuonCommonData/data/mb2/2015/v1/mb2.xml',
232  'Geometry/MuonCommonData/data/mb3/2015/v1/mb3.xml',
233  'Geometry/MuonCommonData/data/mb4/2015/v1/mb4.xml',
234  'Geometry/MuonCommonData/data/design/muonYoke.xml',
235  'Geometry/MuonCommonData/data/mf/2023/v2/mf.xml',
236  'Geometry/MuonCommonData/data/rpcf/2023/v1/rpcf.xml',
237  'Geometry/MuonCommonData/data/gemf/TDR_BaseLine/gemf.xml',
238  'Geometry/MuonCommonData/data/gem11/TDR_BaseLine/gem11.xml',
239  'Geometry/MuonCommonData/data/gem21/TDR_Dev/gem21.xml',
240  'Geometry/MuonCommonData/data/csc/2015/v1/csc.xml',
241  'Geometry/MuonCommonData/data/mfshield/2023/v1/mfshield.xml',
242  'Geometry/MuonCommonData/data/me0/TDR_Dev/me0.xml',
243  ],
244  2 : [
245  'Geometry/MuonCommonData/data/muonNumbering/TDR_DeV/muonNumbering.xml',
246  ],
247  3 : [
248  'Geometry/MuonSimData/data/PhaseII/ME0EtaPart/muonSens.xml',
249  'Geometry/DTGeometryBuilder/data/dtSpecsFilter.xml',
250  'Geometry/CSCGeometryBuilder/data/cscSpecsFilter.xml',
251  'Geometry/CSCGeometryBuilder/data/cscSpecs.xml',
252  'Geometry/RPCGeometryBuilder/data/PhaseII/RPCSpecs.xml',
253  'Geometry/GEMGeometryBuilder/data/v7/GEMSpecsFilter.xml',
254  'Geometry/GEMGeometryBuilder/data/v7/GEMSpecs.xml',
255  ],
256  4 : [
257  'Geometry/MuonSimData/data/PhaseII/muonProdCuts.xml',
258  ],
259  "reco" : [
260  'from Geometry.MuonNumbering.muonNumberingInitialization_cfi import *',
261  'from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *',
262  'from Geometry.GEMGeometryBuilder.gemGeometry_cfi import *',
263  'from Geometry.GEMGeometryBuilder.me0Geometry_cfi import *',
264  'from Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff import *',
265  'from Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff import *',
266  ],
267  "era" : "phase2_muon, run3_GEM",
268  }
269 
270 }
271 
272 forwardDict = {
273  "abbrev" : "F",
274  "name" : "forward",
275  "default" : 2,
276  "F2" : {
277  1 : [
278  'Geometry/ForwardCommonData/data/forwardshield/2017/v1/forwardshield.xml',
279  'Geometry/ForwardCommonData/data/brmrotations.xml',
280  'Geometry/ForwardCommonData/data/PostLS2/brm.xml',
281  'Geometry/ForwardCommonData/data/zdcmaterials.xml',
282  'Geometry/ForwardCommonData/data/lumimaterials.xml',
283  'Geometry/ForwardCommonData/data/zdcrotations.xml',
284  'Geometry/ForwardCommonData/data/lumirotations.xml',
285  'Geometry/ForwardCommonData/data/zdc.xml',
286  'Geometry/ForwardCommonData/data/zdclumi.xml',
287  'Geometry/ForwardCommonData/data/cmszdc.xml',
288  ],
289  3 : [
290  'Geometry/ForwardCommonData/data/brmsens.xml',
291  'Geometry/ForwardSimData/data/zdcsens.xml',
292  ],
293  4 : [
294  'Geometry/ForwardSimData/data/zdcProdCuts.xml',
295  'Geometry/ForwardSimData/data/ForwardShieldProdCuts.xml',
296  ],
297  "reco" :[
298  'from Geometry.ForwardGeometry.ForwardGeometry_cfi import *',
299  ]
300  }
301 }
302 
303 timingDict = {
304  "abbrev" : "I",
305  "name" : "timing",
306  "default" : 1,
307  "I1" : {},
308  "I2" : {
309  1 : [
310  'Geometry/HGCalCommonData/data/fastTimingBarrel.xml',
311  'Geometry/HGCalCommonData/data/fastTimingEndcap.xml',
312  'Geometry/HGCalCommonData/data/fastTimingElement.xml',
313  ],
314  3 : [
315  'Geometry/HGCalSimData/data/fasttimesens.xml'
316  ],
317  4 : [
318  'Geometry/HGCalSimData/data/fasttimeProdCuts.xml'
319  ],
320  "sim" : [
321  'from Geometry.HGCalCommonData.fastTimeParametersInitialization_cfi import *',
322  'from Geometry.HGCalCommonData.fastTimeNumberingInitialization_cfi import *',
323  ],
324  "reco" :[
325  'from Geometry.CaloEventSetup.FastTimeTopology_cfi import *',
326  'from Geometry.HGCalGeometry.FastTimeGeometryESProducer_cfi import *',
327  ],
328  "era" : "phase2_timing, phase2_timing_layer",
329  }
330 }
331 
332 allDicts = [ commonDict, trackerDict, caloDict, muonDict, forwardDict, timingDict ]
333 
334 detectorVersionDict = {
335  ("O2","T5","C3","M2","F2","I1") : "D17",
336  ("O2","T5","C3","M2","F2","I2") : "D19",
337  ("O2","T4","C3","M2","F2","I1") : "D20",
338  ("O2","T6","C3","M2","F2","I1") : "D21",
339 }
340 
341 deprecatedDets = set([ "D1", "D2", "D3", "D5", "D6" , "D7", "D4", "D8" , "D9", "D12", "D13", "D15", "D10", "D11", "D14", "D16", "D18" ])
342 deprecatedSubdets = set([ "T1", "T2" ,"T3", "C1", "C2", "M1", "O1", "F1" ])