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 
110 }
111 
112 caloDict = {
113  "abbrev" : "C",
114  "name" : "calo",
115  "default" : 3,
116  "C3" : {
117  1 : [
118  'Geometry/EcalCommonData/data/ectkcable.xml',
119  'Geometry/EcalCommonData/data/PhaseII/eregalgo.xml',
120  'Geometry/EcalCommonData/data/ebalgo.xml',
121  'Geometry/EcalCommonData/data/ebcon.xml',
122  'Geometry/EcalCommonData/data/ebrot.xml',
123  'Geometry/EcalCommonData/data/eecon.xml',
124  'Geometry/EcalCommonData/data/PhaseII/escon.xml',
125  'Geometry/EcalCommonData/data/PhaseII/esalgo.xml',
126  'Geometry/HcalCommonData/data/hcalrotations.xml',
127  'Geometry/HcalCommonData/data/hcal/HGCal/hcalalgo.xml',
128  'Geometry/HcalCommonData/data/hcalbarrelalgo.xml',
129  'Geometry/HcalCommonData/data/hcalendcap/SSAbsorber/hcalendcapalgo.xml',
130  'Geometry/HcalCommonData/data/hcalouteralgo.xml',
131  'Geometry/HcalCommonData/data/hcalforwardalgo.xml',
132  'Geometry/HcalCommonData/data/hcalSimNumbering/2023/hcalSimNumbering.xml',
133  'Geometry/HcalCommonData/data/hcalRecNumbering/2023/hcalRecNumbering.xml',
134  'Geometry/HcalCommonData/data/average/hcalforwardmaterial.xml',
135  'Geometry/HGCalCommonData/data/hgcal/v8/hgcal.xml',
136  'Geometry/HGCalCommonData/data/hgcalEE/v8/hgcalEE.xml',
137  'Geometry/HGCalCommonData/data/hgcalHEsil/v8/hgcalHEsil.xml',
138  'Geometry/HGCalCommonData/data/hgcalwafer/v7/hgcalwafer.xml',
139  'Geometry/HGCalCommonData/data/hgcalCons/v8/hgcalCons.xml',
140  ],
141  3 : [
142  'Geometry/EcalSimData/data/PhaseII/ecalsens.xml',
143  'Geometry/HcalCommonData/data/hcalsens/HGCal/hcalsenspmf.xml',
144  'Geometry/HcalSimData/data/hf.xml',
145  'Geometry/HcalSimData/data/hfpmt.xml',
146  'Geometry/HcalSimData/data/hffibrebundle.xml',
147  'Geometry/HcalSimData/data/CaloUtil.xml',
148  'Geometry/HGCalSimData/data/hgcsensv8.xml',
149  'Geometry/HGCalSimData/data/hgccons.xml',
150  'Geometry/HGCalSimData/data/hgcProdCuts.xml',
151  ],
152  4 : [
153  'Geometry/HcalSimData/data/HcalProdCuts.xml',
154  'Geometry/EcalSimData/data/EcalProdCuts.xml',
155  ],
156  "sim" : [
157  'from Geometry.HcalCommonData.hcalParameters_cfi import *',
158  'from Geometry.HcalCommonData.hcalDDDSimConstants_cfi import *',
159  'from Geometry.HGCalCommonData.hgcalV6ParametersInitialization_cfi import *',
160  'from Geometry.HGCalCommonData.hgcalV6NumberingInitialization_cfi import *'
161  ],
162  "reco" : [
163  'from Geometry.CaloEventSetup.HGCalV6Topology_cfi import *',
164  'from Geometry.HGCalGeometry.HGCalV6GeometryESProducer_cfi import *',
165  'from Geometry.CaloEventSetup.CaloTopology_cfi import *',
166  'from Geometry.CaloEventSetup.CaloGeometryBuilder_cfi import *',
167  'CaloGeometryBuilder = cms.ESProducer("CaloGeometryBuilder",',
168  ' SelectedCalos = cms.vstring("HCAL" ,',
169  ' "ZDC" ,',
170  ' "EcalBarrel" ,',
171  ' "TOWER" ,',
172  ' "HGCalEESensitive" ,',
173  ' "HGCalHESiliconSensitive" ',
174  ' )',
175  ')',
176  'from Geometry.EcalAlgo.EcalBarrelGeometry_cfi import *',
177  'from Geometry.HcalEventSetup.HcalGeometry_cfi import *',
178  'from Geometry.HcalEventSetup.CaloTowerGeometry_cfi import *',
179  'from Geometry.HcalEventSetup.CaloTowerTopology_cfi import *',
180  'from Geometry.HcalCommonData.hcalDDDRecConstants_cfi import *',
181  'from Geometry.HcalEventSetup.hcalTopologyIdeal_cfi import *',
182  'from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import *',
183  'from Geometry.EcalMapping.EcalMapping_cfi import *',
184  'from Geometry.EcalMapping.EcalMappingRecord_cfi import *',
185  ],
186  "era" : "run2_HE_2017, run2_HF_2017, run2_HCAL_2017, run3_HB, phase2_hcal, phase2_hgcal, hcalHardcodeConditions, hcalSkipPacker",
187  }
188 }
189 
190 muonDict = {
191  "abbrev" : "M",
192  "name" : "muon",
193  "default" : 2,
194  "M2" : {
195  1 : [
196  'Geometry/MuonCommonData/data/mbCommon/2017/v2/mbCommon.xml',
197  'Geometry/MuonCommonData/data/mb1/2015/v1/mb1.xml',
198  'Geometry/MuonCommonData/data/mb2/2015/v1/mb2.xml',
199  'Geometry/MuonCommonData/data/mb3/2015/v1/mb3.xml',
200  'Geometry/MuonCommonData/data/mb4/2015/v1/mb4.xml',
201  'Geometry/MuonCommonData/data/design/muonYoke.xml',
202  'Geometry/MuonCommonData/data/mf/2023/v2/mf.xml',
203  'Geometry/MuonCommonData/data/rpcf/2023/v1/rpcf.xml',
204  'Geometry/MuonCommonData/data/gemf/TDR_BaseLine/gemf.xml',
205  'Geometry/MuonCommonData/data/gem11/TDR_BaseLine/gem11.xml',
206  'Geometry/MuonCommonData/data/gem21/TDR_Dev/gem21.xml',
207  'Geometry/MuonCommonData/data/csc/2015/v1/csc.xml',
208  'Geometry/MuonCommonData/data/mfshield/2023/v1/mfshield.xml',
209  'Geometry/MuonCommonData/data/me0/TDR_Dev/me0.xml',
210  ],
211  2 : [
212  'Geometry/MuonCommonData/data/muonNumbering/TDR_DeV/muonNumbering.xml',
213  ],
214  3 : [
215  'Geometry/MuonSimData/data/PhaseII/ME0EtaPart/muonSens.xml',
216  'Geometry/DTGeometryBuilder/data/dtSpecsFilter.xml',
217  'Geometry/CSCGeometryBuilder/data/cscSpecsFilter.xml',
218  'Geometry/CSCGeometryBuilder/data/cscSpecs.xml',
219  'Geometry/RPCGeometryBuilder/data/PhaseII/RPCSpecs.xml',
220  'Geometry/GEMGeometryBuilder/data/v7/GEMSpecsFilter.xml',
221  'Geometry/GEMGeometryBuilder/data/v7/GEMSpecs.xml',
222  ],
223  4 : [
224  'Geometry/MuonSimData/data/PhaseII/muonProdCuts.xml',
225  ],
226  "reco" : [
227  'from Geometry.MuonNumbering.muonNumberingInitialization_cfi import *',
228  'from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *',
229  'from Geometry.GEMGeometryBuilder.gemGeometry_cfi import *',
230  'from Geometry.GEMGeometryBuilder.me0Geometry_cfi import *',
231  'from Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff import *',
232  'from Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff import *',
233  ],
234  "era" : "phase2_muon, run3_GEM",
235  }
236 
237 }
238 
239 forwardDict = {
240  "abbrev" : "F",
241  "name" : "forward",
242  "default" : 2,
243  "F2" : {
244  1 : [
245  'Geometry/ForwardCommonData/data/forwardshield/2017/v1/forwardshield.xml',
246  'Geometry/ForwardCommonData/data/brmrotations.xml',
247  'Geometry/ForwardCommonData/data/PostLS2/brm.xml',
248  'Geometry/ForwardCommonData/data/zdcmaterials.xml',
249  'Geometry/ForwardCommonData/data/lumimaterials.xml',
250  'Geometry/ForwardCommonData/data/zdcrotations.xml',
251  'Geometry/ForwardCommonData/data/lumirotations.xml',
252  'Geometry/ForwardCommonData/data/zdc.xml',
253  'Geometry/ForwardCommonData/data/zdclumi.xml',
254  'Geometry/ForwardCommonData/data/cmszdc.xml',
255  ],
256  3 : [
257  'Geometry/ForwardCommonData/data/brmsens.xml',
258  'Geometry/ForwardSimData/data/zdcsens.xml',
259  ],
260  4 : [
261  'Geometry/ForwardSimData/data/zdcProdCuts.xml',
262  'Geometry/ForwardSimData/data/ForwardShieldProdCuts.xml',
263  ],
264  "reco" :[
265  'from Geometry.ForwardGeometry.ForwardGeometry_cfi import *',
266  ]
267  }
268 }
269 
270 timingDict = {
271  "abbrev" : "I",
272  "name" : "timing",
273  "default" : 1,
274  "I1" : {},
275  "I2" : {
276  1 : [
277  'Geometry/HGCalCommonData/data/fastTimingBarrel.xml',
278  'Geometry/HGCalCommonData/data/fastTimingEndcap.xml',
279  'Geometry/HGCalCommonData/data/fastTimingElement.xml',
280  ],
281  3 : [
282  'Geometry/HGCalSimData/data/fasttimesens.xml'
283  ],
284  4 : [
285  'Geometry/HGCalSimData/data/fasttimeProdCuts.xml'
286  ],
287  "sim" : [
288  'from Geometry.HGCalCommonData.fastTimeParametersInitialization_cfi import *',
289  'from Geometry.HGCalCommonData.fastTimeNumberingInitialization_cfi import *',
290  ],
291  "reco" :[
292  'from Geometry.CaloEventSetup.FastTimeTopology_cfi import *',
293  'from Geometry.HGCalGeometry.FastTimeGeometryESProducer_cfi import *',
294  ],
295  "era" : "phase2_timing, phase2_timing_layer",
296  }
297 }
298 
299 allDicts = [ commonDict, trackerDict, caloDict, muonDict, forwardDict, timingDict ]
300 
301 detectorVersionDict = {
302  ("O2","T5","C3","M2","F2","I1") : "D17",
303  ("O2","T5","C3","M2","F2","I2") : "D19",
304  ("O2","T4","C3","M2","F2","I1") : "D20",
305 }
306 
307 deprecatedDets = set([ "D1", "D2", "D3", "D5", "D6" , "D7", "D4", "D8" , "D9", "D12", "D13", "D15", "D10", "D11", "D14", "D16", "D18" ])
308 deprecatedSubdets = set([ "T1", "T2" ,"T3", "C1", "C2", "M1", "O1", "F1" ])