File indexing completed on 2024-04-06 12:15:18
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Geometry.MuonNumbering.muonOffsetESProducer_cfi import *
0004
0005 from Configuration.ProcessModifiers.dd4hep_cff import dd4hep
0006
0007 dd4hep.toModify(muonOffsetESProducer,
0008 fromDD4hep = cms.bool(True)
0009 )
0010
0011 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0012
0013 run3_common.toModify(muonOffsetESProducer,
0014 names = cms.vstring(
0015 "MuonCommonNumbering",
0016 "MuonBarrel",
0017 "MuonEndcap",
0018 "MuonBarrelWheels",
0019 "MuonBarrelStation1",
0020 "MuonBarrelStation2",
0021 "MuonBarrelStation3",
0022 "MuonBarrelStation4",
0023 "MuonBarrelSuperLayer",
0024 "MuonBarrelLayer",
0025 "MuonBarrelWire",
0026 "MuonRpcPlane1I",
0027 "MuonRpcPlane1O",
0028 "MuonRpcPlane2I",
0029 "MuonRpcPlane2O",
0030 "MuonRpcPlane3S",
0031 "MuonRpcPlane4",
0032 "MuonRpcChamberLeft",
0033 "MuonRpcChamberMiddle",
0034 "MuonRpcChamberRight",
0035 "MuonRpcEndcap1",
0036 "MuonRpcEndcap2",
0037 "MuonRpcEndcap3",
0038 "MuonRpcEndcap4",
0039 "MuonRpcEndcapSector",
0040 "MuonRpcEndcapChamberB1",
0041 "MuonRpcEndcapChamberB2",
0042 "MuonRpcEndcapChamberB3",
0043 "MuonRpcEndcapChamberC1",
0044 "MuonRpcEndcapChamberC2",
0045 "MuonRpcEndcapChamberC3",
0046 "MuonRpcEndcapChamberE1",
0047 "MuonRpcEndcapChamberE2",
0048 "MuonRpcEndcapChamberE3",
0049 "MuonRpcEndcapChamberF1",
0050 "MuonRpcEndcapChamberF2",
0051 "MuonRpcEndcapChamberF3",
0052 "MuonRpcEndcapChamberG1",
0053 "MuonRpcEndcapChamberH1",
0054 "MuonEndcapStation1",
0055 "MuonEndcapStation2",
0056 "MuonEndcapStation3",
0057 "MuonEndcapStation4",
0058 "MuonEndcapSubrings",
0059 "MuonEndcapSectors",
0060 "MuonEndcapLayers",
0061 "MuonEndcapRing1",
0062 "MuonEndcapRing2",
0063 "MuonEndcapRing3",
0064 "MuonEndcapRingA",
0065 "MuonGEMEndcap",
0066 "MuonGEMEndcap2",
0067 "MuonGEMSector",
0068 "MuonGEMChamber")
0069 )
0070
0071
0072 from Configuration.Eras.Modifier_run3_geomOld_cff import run3_geomOld
0073
0074 run3_geomOld.toModify(muonOffsetESProducer,
0075 names = cms.vstring(
0076 "MuonCommonNumbering",
0077 "MuonBarrel",
0078 "MuonEndcap",
0079 "MuonBarrelWheels",
0080 "MuonBarrelStation1",
0081 "MuonBarrelStation2",
0082 "MuonBarrelStation3",
0083 "MuonBarrelStation4",
0084 "MuonBarrelSuperLayer",
0085 "MuonBarrelLayer",
0086 "MuonBarrelWire",
0087 "MuonRpcPlane1I",
0088 "MuonRpcPlane1O",
0089 "MuonRpcPlane2I",
0090 "MuonRpcPlane2O",
0091 "MuonRpcPlane3S",
0092 "MuonRpcPlane4",
0093 "MuonRpcChamberLeft",
0094 "MuonRpcChamberMiddle",
0095 "MuonRpcChamberRight",
0096 "MuonRpcEndcap1",
0097 "MuonRpcEndcap2",
0098 "MuonRpcEndcap3",
0099 "MuonRpcEndcap4",
0100 "MuonRpcEndcapSector",
0101 "MuonRpcEndcapChamberB1",
0102 "MuonRpcEndcapChamberB2",
0103 "MuonRpcEndcapChamberB3",
0104 "MuonRpcEndcapChamberC1",
0105 "MuonRpcEndcapChamberC2",
0106 "MuonRpcEndcapChamberC3",
0107 "MuonRpcEndcapChamberE1",
0108 "MuonRpcEndcapChamberE2",
0109 "MuonRpcEndcapChamberE3",
0110 "MuonRpcEndcapChamberF1",
0111 "MuonRpcEndcapChamberF2",
0112 "MuonRpcEndcapChamberF3",
0113 "MuonEndcapStation1",
0114 "MuonEndcapStation2",
0115 "MuonEndcapStation3",
0116 "MuonEndcapStation4",
0117 "MuonEndcapSubrings",
0118 "MuonEndcapSectors",
0119 "MuonEndcapLayers",
0120 "MuonEndcapRing1",
0121 "MuonEndcapRing2",
0122 "MuonEndcapRing3",
0123 "MuonEndcapRingA",
0124 "MuonGEMEndcap",
0125 "MuonGEMSector",
0126 "MuonGEMChamber")
0127 )
0128
0129 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0130
0131 phase2_common.toModify(muonOffsetESProducer,
0132 names = cms.vstring(
0133 "MuonCommonNumbering",
0134 "MuonBarrel",
0135 "MuonEndcap",
0136 "MuonBarrelWheels",
0137 "MuonBarrelStation1",
0138 "MuonBarrelStation2",
0139 "MuonBarrelStation3",
0140 "MuonBarrelStation4",
0141 "MuonBarrelSuperLayer",
0142 "MuonBarrelLayer",
0143 "MuonBarrelWire",
0144 "MuonRpcPlane1I",
0145 "MuonRpcPlane1O",
0146 "MuonRpcPlane2I",
0147 "MuonRpcPlane2O",
0148 "MuonRpcPlane3S",
0149 "MuonRpcPlane4",
0150 "MuonRpcChamberLeft",
0151 "MuonRpcChamberMiddle",
0152 "MuonRpcChamberRight",
0153 "MuonRpcEndcap1",
0154 "MuonRpcEndcap2",
0155 "MuonRpcEndcap3",
0156 "MuonRpcEndcap4",
0157 "MuonRpcEndcapSector",
0158 "MuonRpcEndcapChamberB1",
0159 "MuonRpcEndcapChamberB2",
0160 "MuonRpcEndcapChamberB3",
0161 "MuonRpcEndcapChamberC1",
0162 "MuonRpcEndcapChamberC2",
0163 "MuonRpcEndcapChamberC3",
0164 "MuonRpcEndcapChamberE1",
0165 "MuonRpcEndcapChamberE2",
0166 "MuonRpcEndcapChamberE3",
0167 "MuonRpcEndcapChamberF1",
0168 "MuonRpcEndcapChamberF2",
0169 "MuonRpcEndcapChamberF3",
0170 "MuonRpcEndcapChamberG1",
0171 "MuonRpcEndcapChamberH1",
0172 "MuonEndcapStation1",
0173 "MuonEndcapStation2",
0174 "MuonEndcapStation3",
0175 "MuonEndcapStation4",
0176 "MuonEndcapSubrings",
0177 "MuonEndcapSectors",
0178 "MuonEndcapLayers",
0179 "MuonEndcapRing1",
0180 "MuonEndcapRing2",
0181 "MuonEndcapRing3",
0182 "MuonEndcapRingA",
0183 "MuonGEMEndcap",
0184 "MuonGEMEndcap2",
0185 "MuonGEMSector",
0186 "MuonGEMChamber",
0187 "MuonGE0Sector",
0188 "MuonGE0Layer",
0189 "MuonGE0Chamber")
0190 )