File indexing completed on 2024-11-25 02:30:05
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from PhysicsTools.PatAlgos.recoLayer0.stringResolutionProvider_cfi import *
0004
0005 print("*** Including object resolutions derived from Fall11 MC for:")
0006 print("*** - electrons - muons - udscJetsPF - bJetsPF - pfMET")
0007 print("*** Please make sure that you are really using resolutions that are suited for the objects in your analysis!")
0008
0009 udscResolutionPF = stringResolution.clone(parametrization = 'EtEtaPhi',
0010 functions = cms.VPSet(
0011 cms.PSet(
0012 bin = cms.string('0.000<=abs(eta) && abs(eta)<0.087'),
0013 et = cms.string('et * (sqrt(0.0591^2 + (1/sqrt(et))^2 + (0.891/et)^2))'),
0014 eta = cms.string('sqrt(0.00915^2 + (1.51/et)^2)'),
0015 phi = cms.string('sqrt(0.01^2 + (1.6/et)^2)'),
0016 ),
0017 cms.PSet(
0018 bin = cms.string('0.087<=abs(eta) && abs(eta)<0.174'),
0019 et = cms.string('et * (sqrt(0.0619^2 + (0.975/sqrt(et))^2 + (1.54/et)^2))'),
0020 eta = cms.string('sqrt(0.00887^2 + (1.53/et)^2)'),
0021 phi = cms.string('sqrt(0.00982^2 + (1.61/et)^2)'),
0022 ),
0023 cms.PSet(
0024 bin = cms.string('0.174<=abs(eta) && abs(eta)<0.261'),
0025 et = cms.string('et * (sqrt(0.0574^2 + (1/sqrt(et))^2 + (1.49e-05/et)^2))'),
0026 eta = cms.string('sqrt(0.00865^2 + (1.54/et)^2)'),
0027 phi = cms.string('sqrt(0.0101^2 + (1.59/et)^2)'),
0028 ),
0029 cms.PSet(
0030 bin = cms.string('0.261<=abs(eta) && abs(eta)<0.348'),
0031 et = cms.string('et * (sqrt(0.0569^2 + (1.01/sqrt(et))^2 + (1.22e-07/et)^2))'),
0032 eta = cms.string('sqrt(0.00867^2 + (1.55/et)^2)'),
0033 phi = cms.string('sqrt(0.00988^2 + (1.6/et)^2)'),
0034 ),
0035 cms.PSet(
0036 bin = cms.string('0.348<=abs(eta) && abs(eta)<0.435'),
0037 et = cms.string('et * (sqrt(0.057^2 + (1/sqrt(et))^2 + (2.17e-08/et)^2))'),
0038 eta = cms.string('sqrt(0.00907^2 + (1.55/et)^2)'),
0039 phi = cms.string('sqrt(0.0102^2 + (1.59/et)^2)'),
0040 ),
0041 cms.PSet(
0042 bin = cms.string('0.435<=abs(eta) && abs(eta)<0.522'),
0043 et = cms.string('et * (sqrt(0.0522^2 + (1.02/sqrt(et))^2 + (2.64e-05/et)^2))'),
0044 eta = cms.string('sqrt(0.00844^2 + (1.59/et)^2)'),
0045 phi = cms.string('sqrt(0.00982^2 + (1.6/et)^2)'),
0046 ),
0047 cms.PSet(
0048 bin = cms.string('0.522<=abs(eta) && abs(eta)<0.609'),
0049 et = cms.string('et * (sqrt(0.0502^2 + (1.02/sqrt(et))^2 + (2.6e-06/et)^2))'),
0050 eta = cms.string('sqrt(0.00915^2 + (1.57/et)^2)'),
0051 phi = cms.string('sqrt(0.00979^2 + (1.6/et)^2)'),
0052 ),
0053 cms.PSet(
0054 bin = cms.string('0.609<=abs(eta) && abs(eta)<0.696'),
0055 et = cms.string('et * (sqrt(0.053^2 + (1.03/sqrt(et))^2 + (4.87e-07/et)^2))'),
0056 eta = cms.string('sqrt(0.00856^2 + (1.58/et)^2)'),
0057 phi = cms.string('sqrt(0.00925^2 + (1.62/et)^2)'),
0058 ),
0059 cms.PSet(
0060 bin = cms.string('0.696<=abs(eta) && abs(eta)<0.783'),
0061 et = cms.string('et * (sqrt(0.051^2 + (1.03/sqrt(et))^2 + (7.53e-06/et)^2))'),
0062 eta = cms.string('sqrt(0.00897^2 + (1.58/et)^2)'),
0063 phi = cms.string('sqrt(0.00973^2 + (1.61/et)^2)'),
0064 ),
0065 cms.PSet(
0066 bin = cms.string('0.783<=abs(eta) && abs(eta)<0.870'),
0067 et = cms.string('et * (sqrt(0.0549^2 + (1.04/sqrt(et))^2 + (5.62e-08/et)^2))'),
0068 eta = cms.string('sqrt(0.0095^2 + (1.6/et)^2)'),
0069 phi = cms.string('sqrt(0.00971^2 + (1.62/et)^2)'),
0070 ),
0071 cms.PSet(
0072 bin = cms.string('0.870<=abs(eta) && abs(eta)<0.957'),
0073 et = cms.string('et * (sqrt(0.0544^2 + (1.06/sqrt(et))^2 + (1.07e-05/et)^2))'),
0074 eta = cms.string('sqrt(0.00836^2 + (1.65/et)^2)'),
0075 phi = cms.string('sqrt(0.00916^2 + (1.64/et)^2)'),
0076 ),
0077 cms.PSet(
0078 bin = cms.string('0.957<=abs(eta) && abs(eta)<1.044'),
0079 et = cms.string('et * (sqrt(0.0519^2 + (1.09/sqrt(et))^2 + (8.43e-06/et)^2))'),
0080 eta = cms.string('sqrt(0.00782^2 + (1.68/et)^2)'),
0081 phi = cms.string('sqrt(0.00959^2 + (1.66/et)^2)'),
0082 ),
0083 cms.PSet(
0084 bin = cms.string('1.044<=abs(eta) && abs(eta)<1.131'),
0085 et = cms.string('et * (sqrt(0.0539^2 + (1.12/sqrt(et))^2 + (1.97e-07/et)^2))'),
0086 eta = cms.string('sqrt(0.0093^2 + (1.65/et)^2)'),
0087 phi = cms.string('sqrt(0.00964^2 + (1.67/et)^2)'),
0088 ),
0089 cms.PSet(
0090 bin = cms.string('1.131<=abs(eta) && abs(eta)<1.218'),
0091 et = cms.string('et * (sqrt(0.0492^2 + (1.16/sqrt(et))^2 + (1.37e-08/et)^2))'),
0092 eta = cms.string('sqrt(0.00986^2 + (1.69/et)^2)'),
0093 phi = cms.string('sqrt(0.00969^2 + (1.71/et)^2)'),
0094 ),
0095 cms.PSet(
0096 bin = cms.string('1.218<=abs(eta) && abs(eta)<1.305'),
0097 et = cms.string('et * (sqrt(0.0489^2 + (1.18/sqrt(et))^2 + (3.44e-07/et)^2))'),
0098 eta = cms.string('sqrt(0.0124^2 + (1.72/et)^2)'),
0099 phi = cms.string('sqrt(0.00992^2 + (1.76/et)^2)'),
0100 ),
0101 cms.PSet(
0102 bin = cms.string('1.305<=abs(eta) && abs(eta)<1.392'),
0103 et = cms.string('et * (sqrt(0.0414^2 + (1.25/sqrt(et))^2 + (1.98e-07/et)^2))'),
0104 eta = cms.string('sqrt(0.0181^2 + (1.63/et)^2)'),
0105 phi = cms.string('sqrt(0.0124^2 + (1.79/et)^2)'),
0106 ),
0107 cms.PSet(
0108 bin = cms.string('1.392<=abs(eta) && abs(eta)<1.479'),
0109 et = cms.string('et * (sqrt(0.0373^2 + (1.26/sqrt(et))^2 + (5.4e-07/et)^2))'),
0110 eta = cms.string('sqrt(0.0121^2 + (1.69/et)^2)'),
0111 phi = cms.string('sqrt(0.0135^2 + (1.8/et)^2)'),
0112 ),
0113 cms.PSet(
0114 bin = cms.string('1.479<=abs(eta) && abs(eta)<1.566'),
0115 et = cms.string('et * (sqrt(0.0125^2 + (1.24/sqrt(et))^2 + (1e-06/et)^2))'),
0116 eta = cms.string('sqrt(0.0122^2 + (1.69/et)^2)'),
0117 phi = cms.string('sqrt(0.0107^2 + (1.85/et)^2)'),
0118 ),
0119 cms.PSet(
0120 bin = cms.string('1.566<=abs(eta) && abs(eta)<1.653'),
0121 et = cms.string('et * (sqrt(1.37e-07^2 + (1.08/sqrt(et))^2 + (3.06/et)^2))'),
0122 eta = cms.string('sqrt(0.00975^2 + (1.69/et)^2)'),
0123 phi = cms.string('sqrt(0.00895^2 + (1.84/et)^2)'),
0124 ),
0125 cms.PSet(
0126 bin = cms.string('1.653<=abs(eta) && abs(eta)<1.740'),
0127 et = cms.string('et * (sqrt(2.37e-07^2 + (1.04/sqrt(et))^2 + (3.01/et)^2))'),
0128 eta = cms.string('sqrt(0.00881^2 + (1.71/et)^2)'),
0129 phi = cms.string('sqrt(0.00902^2 + (1.81/et)^2)'),
0130 ),
0131 cms.PSet(
0132 bin = cms.string('1.740<=abs(eta) && abs(eta)<1.830'),
0133 et = cms.string('et * (sqrt(2.3e-07^2 + (1/sqrt(et))^2 + (3.1/et)^2))'),
0134 eta = cms.string('sqrt(0.00938^2 + (1.75/et)^2)'),
0135 phi = cms.string('sqrt(0.00861^2 + (1.79/et)^2)'),
0136 ),
0137 cms.PSet(
0138 bin = cms.string('1.830<=abs(eta) && abs(eta)<1.930'),
0139 et = cms.string('et * (sqrt(1.25e-07^2 + (0.965/sqrt(et))^2 + (3.14/et)^2))'),
0140 eta = cms.string('sqrt(0.00894^2 + (1.8/et)^2)'),
0141 phi = cms.string('sqrt(0.00877^2 + (1.75/et)^2)'),
0142 ),
0143 cms.PSet(
0144 bin = cms.string('1.930<=abs(eta) && abs(eta)<2.043'),
0145 et = cms.string('et * (sqrt(5.78e-08^2 + (0.924/sqrt(et))^2 + (3.14/et)^2))'),
0146 eta = cms.string('sqrt(0.00893^2 + (1.83/et)^2)'),
0147 phi = cms.string('sqrt(0.00791^2 + (1.73/et)^2)'),
0148 ),
0149 cms.PSet(
0150 bin = cms.string('2.043<=abs(eta) && abs(eta)<2.172'),
0151 et = cms.string('et * (sqrt(4.25e-08^2 + (0.923/sqrt(et))^2 + (2.85/et)^2))'),
0152 eta = cms.string('sqrt(0.0099^2 + (1.82/et)^2)'),
0153 phi = cms.string('sqrt(0.00775^2 + (1.73/et)^2)'),
0154 ),
0155 cms.PSet(
0156 bin = cms.string('2.172<=abs(eta) && abs(eta)<2.322'),
0157 et = cms.string('et * (sqrt(0.00601^2 + (0.881/sqrt(et))^2 + (3.23/et)^2))'),
0158 eta = cms.string('sqrt(0.00944^2 + (1.8/et)^2)'),
0159 phi = cms.string('sqrt(0.00807^2 + (1.71/et)^2)'),
0160 ),
0161 cms.PSet(
0162 bin = cms.string('2.322<=abs(eta) && abs(eta)<2.500'),
0163 et = cms.string('et * (sqrt(4.94e-08^2 + (0.86/sqrt(et))^2 + (3.56/et)^2))'),
0164 eta = cms.string('sqrt(0.0103^2 + (2.15/et)^2)'),
0165 phi = cms.string('sqrt(0.0103^2 + (1.81/et)^2)'),
0166 ),
0167 ),
0168 constraints = cms.vdouble(0)
0169 )
0170
0171 bjetResolutionPF = stringResolution.clone(parametrization = 'EtEtaPhi',
0172 functions = cms.VPSet(
0173 cms.PSet(
0174 bin = cms.string('0.000<=abs(eta) && abs(eta)<0.087'),
0175 et = cms.string('et * (sqrt(0.0686^2 + (1.03/sqrt(et))^2 + (1.68/et)^2))'),
0176 eta = cms.string('sqrt(0.00605^2 + (1.63/et)^2)'),
0177 phi = cms.string('sqrt(0.00787^2 + (1.74/et)^2)'),
0178 ),
0179 cms.PSet(
0180 bin = cms.string('0.087<=abs(eta) && abs(eta)<0.174'),
0181 et = cms.string('et * (sqrt(0.0737^2 + (1.01/sqrt(et))^2 + (1.74/et)^2))'),
0182 eta = cms.string('sqrt(0.00592^2 + (1.64/et)^2)'),
0183 phi = cms.string('sqrt(0.00766^2 + (1.74/et)^2)'),
0184 ),
0185 cms.PSet(
0186 bin = cms.string('0.174<=abs(eta) && abs(eta)<0.261'),
0187 et = cms.string('et * (sqrt(0.0657^2 + (1.07/sqrt(et))^2 + (5.16e-06/et)^2))'),
0188 eta = cms.string('sqrt(0.00584^2 + (1.65/et)^2)'),
0189 phi = cms.string('sqrt(0.00755^2 + (1.74/et)^2)'),
0190 ),
0191 cms.PSet(
0192 bin = cms.string('0.261<=abs(eta) && abs(eta)<0.348'),
0193 et = cms.string('et * (sqrt(0.062^2 + (1.07/sqrt(et))^2 + (0.000134/et)^2))'),
0194 eta = cms.string('sqrt(0.00593^2 + (1.65/et)^2)'),
0195 phi = cms.string('sqrt(0.00734^2 + (1.74/et)^2)'),
0196 ),
0197 cms.PSet(
0198 bin = cms.string('0.348<=abs(eta) && abs(eta)<0.435'),
0199 et = cms.string('et * (sqrt(0.0605^2 + (1.07/sqrt(et))^2 + (1.84e-07/et)^2))'),
0200 eta = cms.string('sqrt(0.00584^2 + (1.68/et)^2)'),
0201 phi = cms.string('sqrt(0.00734^2 + (1.75/et)^2)'),
0202 ),
0203 cms.PSet(
0204 bin = cms.string('0.435<=abs(eta) && abs(eta)<0.522'),
0205 et = cms.string('et * (sqrt(0.059^2 + (1.08/sqrt(et))^2 + (9.06e-09/et)^2))'),
0206 eta = cms.string('sqrt(0.00646^2 + (1.67/et)^2)'),
0207 phi = cms.string('sqrt(0.00767^2 + (1.74/et)^2)'),
0208 ),
0209 cms.PSet(
0210 bin = cms.string('0.522<=abs(eta) && abs(eta)<0.609'),
0211 et = cms.string('et * (sqrt(0.0577^2 + (1.08/sqrt(et))^2 + (5.46e-06/et)^2))'),
0212 eta = cms.string('sqrt(0.00661^2 + (1.67/et)^2)'),
0213 phi = cms.string('sqrt(0.00742^2 + (1.75/et)^2)'),
0214 ),
0215 cms.PSet(
0216 bin = cms.string('0.609<=abs(eta) && abs(eta)<0.696'),
0217 et = cms.string('et * (sqrt(0.0525^2 + (1.09/sqrt(et))^2 + (4.05e-05/et)^2))'),
0218 eta = cms.string('sqrt(0.00724^2 + (1.65/et)^2)'),
0219 phi = cms.string('sqrt(0.00771^2 + (1.73/et)^2)'),
0220 ),
0221 cms.PSet(
0222 bin = cms.string('0.696<=abs(eta) && abs(eta)<0.783'),
0223 et = cms.string('et * (sqrt(0.0582^2 + (1.09/sqrt(et))^2 + (1.17e-05/et)^2))'),
0224 eta = cms.string('sqrt(0.00763^2 + (1.67/et)^2)'),
0225 phi = cms.string('sqrt(0.00758^2 + (1.76/et)^2)'),
0226 ),
0227 cms.PSet(
0228 bin = cms.string('0.783<=abs(eta) && abs(eta)<0.870'),
0229 et = cms.string('et * (sqrt(0.0649^2 + (1.08/sqrt(et))^2 + (7.85e-06/et)^2))'),
0230 eta = cms.string('sqrt(0.00746^2 + (1.7/et)^2)'),
0231 phi = cms.string('sqrt(0.00789^2 + (1.75/et)^2)'),
0232 ),
0233 cms.PSet(
0234 bin = cms.string('0.870<=abs(eta) && abs(eta)<0.957'),
0235 et = cms.string('et * (sqrt(0.0654^2 + (1.1/sqrt(et))^2 + (1.09e-07/et)^2))'),
0236 eta = cms.string('sqrt(0.00807^2 + (1.7/et)^2)'),
0237 phi = cms.string('sqrt(0.00802^2 + (1.76/et)^2)'),
0238 ),
0239 cms.PSet(
0240 bin = cms.string('0.957<=abs(eta) && abs(eta)<1.044'),
0241 et = cms.string('et * (sqrt(0.0669^2 + (1.11/sqrt(et))^2 + (1.87e-06/et)^2))'),
0242 eta = cms.string('sqrt(0.00843^2 + (1.72/et)^2)'),
0243 phi = cms.string('sqrt(0.0078^2 + (1.79/et)^2)'),
0244 ),
0245 cms.PSet(
0246 bin = cms.string('1.044<=abs(eta) && abs(eta)<1.131'),
0247 et = cms.string('et * (sqrt(0.0643^2 + (1.15/sqrt(et))^2 + (2.76e-05/et)^2))'),
0248 eta = cms.string('sqrt(0.00886^2 + (1.74/et)^2)'),
0249 phi = cms.string('sqrt(0.00806^2 + (1.82/et)^2)'),
0250 ),
0251 cms.PSet(
0252 bin = cms.string('1.131<=abs(eta) && abs(eta)<1.218'),
0253 et = cms.string('et * (sqrt(0.0645^2 + (1.16/sqrt(et))^2 + (1.04e-06/et)^2))'),
0254 eta = cms.string('sqrt(0.0101^2 + (1.76/et)^2)'),
0255 phi = cms.string('sqrt(0.00784^2 + (1.86/et)^2)'),
0256 ),
0257 cms.PSet(
0258 bin = cms.string('1.218<=abs(eta) && abs(eta)<1.305'),
0259 et = cms.string('et * (sqrt(0.0637^2 + (1.19/sqrt(et))^2 + (1.08e-07/et)^2))'),
0260 eta = cms.string('sqrt(0.0127^2 + (1.78/et)^2)'),
0261 phi = cms.string('sqrt(0.00885^2 + (1.9/et)^2)'),
0262 ),
0263 cms.PSet(
0264 bin = cms.string('1.305<=abs(eta) && abs(eta)<1.392'),
0265 et = cms.string('et * (sqrt(0.0695^2 + (1.21/sqrt(et))^2 + (5.75e-06/et)^2))'),
0266 eta = cms.string('sqrt(0.0161^2 + (1.73/et)^2)'),
0267 phi = cms.string('sqrt(0.0108^2 + (1.93/et)^2)'),
0268 ),
0269 cms.PSet(
0270 bin = cms.string('1.392<=abs(eta) && abs(eta)<1.479'),
0271 et = cms.string('et * (sqrt(0.0748^2 + (1.2/sqrt(et))^2 + (5.15e-08/et)^2))'),
0272 eta = cms.string('sqrt(0.0122^2 + (1.77/et)^2)'),
0273 phi = cms.string('sqrt(0.0112^2 + (2/et)^2)'),
0274 ),
0275 cms.PSet(
0276 bin = cms.string('1.479<=abs(eta) && abs(eta)<1.566'),
0277 et = cms.string('et * (sqrt(0.0624^2 + (1.23/sqrt(et))^2 + (2.28e-05/et)^2))'),
0278 eta = cms.string('sqrt(0.0123^2 + (1.79/et)^2)'),
0279 phi = cms.string('sqrt(0.0102^2 + (2.02/et)^2)'),
0280 ),
0281 cms.PSet(
0282 bin = cms.string('1.566<=abs(eta) && abs(eta)<1.653'),
0283 et = cms.string('et * (sqrt(0.0283^2 + (1.25/sqrt(et))^2 + (4.79e-07/et)^2))'),
0284 eta = cms.string('sqrt(0.0111^2 + (1.79/et)^2)'),
0285 phi = cms.string('sqrt(0.00857^2 + (2.01/et)^2)'),
0286 ),
0287 cms.PSet(
0288 bin = cms.string('1.653<=abs(eta) && abs(eta)<1.740'),
0289 et = cms.string('et * (sqrt(0.0316^2 + (1.21/sqrt(et))^2 + (5e-05/et)^2))'),
0290 eta = cms.string('sqrt(0.0106^2 + (1.8/et)^2)'),
0291 phi = cms.string('sqrt(0.00856^2 + (1.97/et)^2)'),
0292 ),
0293 cms.PSet(
0294 bin = cms.string('1.740<=abs(eta) && abs(eta)<1.830'),
0295 et = cms.string('et * (sqrt(2.29e-07^2 + (1.2/sqrt(et))^2 + (1.71e-05/et)^2))'),
0296 eta = cms.string('sqrt(0.0115^2 + (1.83/et)^2)'),
0297 phi = cms.string('sqrt(0.00761^2 + (1.95/et)^2)'),
0298 ),
0299 cms.PSet(
0300 bin = cms.string('1.830<=abs(eta) && abs(eta)<1.930'),
0301 et = cms.string('et * (sqrt(5.18e-09^2 + (1.14/sqrt(et))^2 + (1.7/et)^2))'),
0302 eta = cms.string('sqrt(0.012^2 + (1.88/et)^2)'),
0303 phi = cms.string('sqrt(0.00721^2 + (1.92/et)^2)'),
0304 ),
0305 cms.PSet(
0306 bin = cms.string('1.930<=abs(eta) && abs(eta)<2.043'),
0307 et = cms.string('et * (sqrt(2.17e-07^2 + (1.09/sqrt(et))^2 + (2.08/et)^2))'),
0308 eta = cms.string('sqrt(0.0131^2 + (1.91/et)^2)'),
0309 phi = cms.string('sqrt(0.00722^2 + (1.86/et)^2)'),
0310 ),
0311 cms.PSet(
0312 bin = cms.string('2.043<=abs(eta) && abs(eta)<2.172'),
0313 et = cms.string('et * (sqrt(3.65e-07^2 + (1.09/sqrt(et))^2 + (1.63/et)^2))'),
0314 eta = cms.string('sqrt(0.0134^2 + (1.92/et)^2)'),
0315 phi = cms.string('sqrt(0.00703^2 + (1.86/et)^2)'),
0316 ),
0317 cms.PSet(
0318 bin = cms.string('2.172<=abs(eta) && abs(eta)<2.322'),
0319 et = cms.string('et * (sqrt(2.02e-07^2 + (1.09/sqrt(et))^2 + (1.68/et)^2))'),
0320 eta = cms.string('sqrt(0.0132^2 + (1.89/et)^2)'),
0321 phi = cms.string('sqrt(0.00845^2 + (1.86/et)^2)'),
0322 ),
0323 cms.PSet(
0324 bin = cms.string('2.322<=abs(eta) && abs(eta)<2.500'),
0325 et = cms.string('et * (sqrt(5.27e-07^2 + (1.12/sqrt(et))^2 + (1.78/et)^2))'),
0326 eta = cms.string('sqrt(0.0121^2 + (2.28/et)^2)'),
0327 phi = cms.string('sqrt(0.00975^2 + (2/et)^2)'),
0328 ),
0329 ),
0330 constraints = cms.vdouble(0)
0331 )
0332
0333 muonResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0334 functions = cms.VPSet(
0335 cms.PSet(
0336 bin = cms.string('0.000<=abs(eta) && abs(eta)<0.100'),
0337 et = cms.string('et * (0.00517 + 0.000143 * et)'),
0338 eta = cms.string('sqrt(0.000433^2 + (0.000161/sqrt(et))^2 + (0.00334/et)^2)'),
0339 phi = cms.string('sqrt(7.21e-05^2 + (7e-05/sqrt(et))^2 + (0.00296/et)^2)'),
0340 ),
0341 cms.PSet(
0342 bin = cms.string('0.100<=abs(eta) && abs(eta)<0.200'),
0343 et = cms.string('et * (0.00524 + 0.000143 * et)'),
0344 eta = cms.string('sqrt(0.000381^2 + (0.000473/sqrt(et))^2 + (0.00259/et)^2)'),
0345 phi = cms.string('sqrt(6.79e-05^2 + (0.000245/sqrt(et))^2 + (0.00274/et)^2)'),
0346 ),
0347 cms.PSet(
0348 bin = cms.string('0.200<=abs(eta) && abs(eta)<0.300'),
0349 et = cms.string('et * (0.00585 + 0.000138 * et)'),
0350 eta = cms.string('sqrt(0.000337^2 + (0.000381/sqrt(et))^2 + (0.0023/et)^2)'),
0351 phi = cms.string('sqrt(7.08e-05^2 + (6.75e-05/sqrt(et))^2 + (0.00307/et)^2)'),
0352 ),
0353 cms.PSet(
0354 bin = cms.string('0.300<=abs(eta) && abs(eta)<0.400'),
0355 et = cms.string('et * (0.0065 + 0.000133 * et)'),
0356 eta = cms.string('sqrt(0.000308^2 + (0.000166/sqrt(et))^2 + (0.00249/et)^2)'),
0357 phi = cms.string('sqrt(6.59e-05^2 + (0.000301/sqrt(et))^2 + (0.00281/et)^2)'),
0358 ),
0359 cms.PSet(
0360 bin = cms.string('0.400<=abs(eta) && abs(eta)<0.500'),
0361 et = cms.string('et * (0.0071 + 0.000129 * et)'),
0362 eta = cms.string('sqrt(0.000289^2 + (5.37e-09/sqrt(et))^2 + (0.00243/et)^2)'),
0363 phi = cms.string('sqrt(6.27e-05^2 + (0.000359/sqrt(et))^2 + (0.00278/et)^2)'),
0364 ),
0365 cms.PSet(
0366 bin = cms.string('0.500<=abs(eta) && abs(eta)<0.600'),
0367 et = cms.string('et * (0.00721 + 0.00013 * et)'),
0368 eta = cms.string('sqrt(0.000279^2 + (0.000272/sqrt(et))^2 + (0.0026/et)^2)'),
0369 phi = cms.string('sqrt(6.46e-05^2 + (0.00036/sqrt(et))^2 + (0.00285/et)^2)'),
0370 ),
0371 cms.PSet(
0372 bin = cms.string('0.600<=abs(eta) && abs(eta)<0.700'),
0373 et = cms.string('et * (0.00757 + 0.000129 * et)'),
0374 eta = cms.string('sqrt(0.000282^2 + (3.63e-10/sqrt(et))^2 + (0.00288/et)^2)'),
0375 phi = cms.string('sqrt(6.54e-05^2 + (0.000348/sqrt(et))^2 + (0.00301/et)^2)'),
0376 ),
0377 cms.PSet(
0378 bin = cms.string('0.700<=abs(eta) && abs(eta)<0.800'),
0379 et = cms.string('et * (0.0081 + 0.000127 * et)'),
0380 eta = cms.string('sqrt(0.000265^2 + (0.000609/sqrt(et))^2 + (0.00212/et)^2)'),
0381 phi = cms.string('sqrt(6.2e-05^2 + (0.000402/sqrt(et))^2 + (0.00304/et)^2)'),
0382 ),
0383 cms.PSet(
0384 bin = cms.string('0.800<=abs(eta) && abs(eta)<0.900'),
0385 et = cms.string('et * (0.00916 + 0.000131 * et)'),
0386 eta = cms.string('sqrt(0.000241^2 + (0.000678/sqrt(et))^2 + (0.00221/et)^2)'),
0387 phi = cms.string('sqrt(6.26e-05^2 + (0.000458/sqrt(et))^2 + (0.0031/et)^2)'),
0388 ),
0389 cms.PSet(
0390 bin = cms.string('0.900<=abs(eta) && abs(eta)<1.000'),
0391 et = cms.string('et * (0.0108 + 0.000151 * et)'),
0392 eta = cms.string('sqrt(0.000228^2 + (0.000612/sqrt(et))^2 + (0.00245/et)^2)'),
0393 phi = cms.string('sqrt(7.18e-05^2 + (0.000469/sqrt(et))^2 + (0.00331/et)^2)'),
0394 ),
0395 cms.PSet(
0396 bin = cms.string('1.000<=abs(eta) && abs(eta)<1.100'),
0397 et = cms.string('et * (0.0115 + 0.000153 * et)'),
0398 eta = cms.string('sqrt(0.000217^2 + (0.000583/sqrt(et))^2 + (0.00307/et)^2)'),
0399 phi = cms.string('sqrt(6.98e-05^2 + (0.000507/sqrt(et))^2 + (0.00338/et)^2)'),
0400 ),
0401 cms.PSet(
0402 bin = cms.string('1.100<=abs(eta) && abs(eta)<1.200'),
0403 et = cms.string('et * (0.013 + 0.000136 * et)'),
0404 eta = cms.string('sqrt(0.000195^2 + (0.000751/sqrt(et))^2 + (0.00282/et)^2)'),
0405 phi = cms.string('sqrt(6.21e-05^2 + (0.000584/sqrt(et))^2 + (0.00345/et)^2)'),
0406 ),
0407 cms.PSet(
0408 bin = cms.string('1.200<=abs(eta) && abs(eta)<1.300'),
0409 et = cms.string('et * (0.0144 + 0.000131 * et)'),
0410 eta = cms.string('sqrt(0.000183^2 + (0.000838/sqrt(et))^2 + (0.00227/et)^2)'),
0411 phi = cms.string('sqrt(5.37e-05^2 + (0.000667/sqrt(et))^2 + (0.00352/et)^2)'),
0412 ),
0413 cms.PSet(
0414 bin = cms.string('1.300<=abs(eta) && abs(eta)<1.400'),
0415 et = cms.string('et * (0.0149 + 0.000141 * et)'),
0416 eta = cms.string('sqrt(0.000196^2 + (0.000783/sqrt(et))^2 + (0.00274/et)^2)'),
0417 phi = cms.string('sqrt(5.37e-05^2 + (0.000711/sqrt(et))^2 + (0.00358/et)^2)'),
0418 ),
0419 cms.PSet(
0420 bin = cms.string('1.400<=abs(eta) && abs(eta)<1.500'),
0421 et = cms.string('et * (0.014 + 0.000155 * et)'),
0422 eta = cms.string('sqrt(0.0002^2 + (0.000832/sqrt(et))^2 + (0.00254/et)^2)'),
0423 phi = cms.string('sqrt(5.98e-05^2 + (0.000713/sqrt(et))^2 + (0.00362/et)^2)'),
0424 ),
0425 cms.PSet(
0426 bin = cms.string('1.500<=abs(eta) && abs(eta)<1.600'),
0427 et = cms.string('et * (0.0132 + 0.000169 * et)'),
0428 eta = cms.string('sqrt(0.000205^2 + (0.0007/sqrt(et))^2 + (0.00304/et)^2)'),
0429 phi = cms.string('sqrt(6.21e-05^2 + (0.000781/sqrt(et))^2 + (0.00348/et)^2)'),
0430 ),
0431 cms.PSet(
0432 bin = cms.string('1.600<=abs(eta) && abs(eta)<1.700'),
0433 et = cms.string('et * (0.0129 + 0.0002 * et)'),
0434 eta = cms.string('sqrt(0.000214^2 + (0.000747/sqrt(et))^2 + (0.00319/et)^2)'),
0435 phi = cms.string('sqrt(6.92e-05^2 + (0.000865/sqrt(et))^2 + (0.00337/et)^2)'),
0436 ),
0437 cms.PSet(
0438 bin = cms.string('1.700<=abs(eta) && abs(eta)<1.800'),
0439 et = cms.string('et * (0.0135 + 0.000264 * et)'),
0440 eta = cms.string('sqrt(0.000238^2 + (0.000582/sqrt(et))^2 + (0.00343/et)^2)'),
0441 phi = cms.string('sqrt(9.13e-05^2 + (0.000896/sqrt(et))^2 + (0.00348/et)^2)'),
0442 ),
0443 cms.PSet(
0444 bin = cms.string('1.800<=abs(eta) && abs(eta)<1.900'),
0445 et = cms.string('et * (0.0144 + 0.00034 * et)'),
0446 eta = cms.string('sqrt(0.000263^2 + (0.000721/sqrt(et))^2 + (0.00322/et)^2)'),
0447 phi = cms.string('sqrt(0.000102^2 + (0.000994/sqrt(et))^2 + (0.00337/et)^2)'),
0448 ),
0449 cms.PSet(
0450 bin = cms.string('1.900<=abs(eta) && abs(eta)<2.000'),
0451 et = cms.string('et * (0.0147 + 0.000441 * et)'),
0452 eta = cms.string('sqrt(0.000284^2 + (0.000779/sqrt(et))^2 + (0.0031/et)^2)'),
0453 phi = cms.string('sqrt(0.000123^2 + (0.00108/sqrt(et))^2 + (0.00315/et)^2)'),
0454 ),
0455 cms.PSet(
0456 bin = cms.string('2.000<=abs(eta) && abs(eta)<2.100'),
0457 et = cms.string('et * (0.0154 + 0.000604 * et)'),
0458 eta = cms.string('sqrt(0.000316^2 + (0.000566/sqrt(et))^2 + (0.00384/et)^2)'),
0459 phi = cms.string('sqrt(0.000169^2 + (0.000947/sqrt(et))^2 + (0.00422/et)^2)'),
0460 ),
0461 cms.PSet(
0462 bin = cms.string('2.100<=abs(eta) && abs(eta)<2.200'),
0463 et = cms.string('et * (0.0163 + 0.000764 * et)'),
0464 eta = cms.string('sqrt(0.000353^2 + (0.000749/sqrt(et))^2 + (0.0038/et)^2)'),
0465 phi = cms.string('sqrt(0.000176^2 + (0.00116/sqrt(et))^2 + (0.00423/et)^2)'),
0466 ),
0467 cms.PSet(
0468 bin = cms.string('2.200<=abs(eta) && abs(eta)<2.300'),
0469 et = cms.string('et * (0.0173 + 0.000951 * et)'),
0470 eta = cms.string('sqrt(0.000412^2 + (0.00102/sqrt(et))^2 + (0.00351/et)^2)'),
0471 phi = cms.string('sqrt(0.000207^2 + (0.00115/sqrt(et))^2 + (0.00469/et)^2)'),
0472 ),
0473 cms.PSet(
0474 bin = cms.string('2.300<=abs(eta) && abs(eta)<2.400'),
0475 et = cms.string('et * (0.0175 + 0.00126 * et)'),
0476 eta = cms.string('sqrt(0.000506^2 + (0.000791/sqrt(et))^2 + (0.0045/et)^2)'),
0477 phi = cms.string('sqrt(0.00027^2 + (0.00113/sqrt(et))^2 + (0.00528/et)^2)'),
0478 ),
0479 ),
0480 constraints = cms.vdouble(0)
0481 )
0482
0483 elecResolution = stringResolution.clone(parametrization = 'EtEtaPhi',
0484 functions = cms.VPSet(
0485 cms.PSet(
0486 bin = cms.string('0.000<=abs(eta) && abs(eta)<0.174'),
0487 et = cms.string('et * (sqrt(0.00534^2 + (0.079/sqrt(et))^2 + (0.163/et)^2))'),
0488 eta = cms.string('sqrt(0.000452^2 + (0.000285/sqrt(et))^2 + (0.00376/et)^2)'),
0489 phi = cms.string('sqrt(0.000101^2 + (0.0011/sqrt(et))^2 + (0.00346/et)^2)'),
0490 ),
0491 cms.PSet(
0492 bin = cms.string('0.174<=abs(eta) && abs(eta)<0.261'),
0493 et = cms.string('et * (sqrt(0.00518^2 + (0.0749/sqrt(et))^2 + (0.227/et)^2))'),
0494 eta = cms.string('sqrt(0.00038^2 + (0.000571/sqrt(et))^2 + (0.00276/et)^2)'),
0495 phi = cms.string('sqrt(9.3e-05^2 + (0.00115/sqrt(et))^2 + (0.0035/et)^2)'),
0496 ),
0497 cms.PSet(
0498 bin = cms.string('0.261<=abs(eta) && abs(eta)<0.348'),
0499 et = cms.string('et * (sqrt(0.00332^2 + (0.0879/sqrt(et))^2 + (0.12/et)^2))'),
0500 eta = cms.string('sqrt(0.000351^2 + (1.36e-09/sqrt(et))^2 + (0.00324/et)^2)'),
0501 phi = cms.string('sqrt(0.000103^2 + (0.00117/sqrt(et))^2 + (0.00333/et)^2)'),
0502 ),
0503 cms.PSet(
0504 bin = cms.string('0.348<=abs(eta) && abs(eta)<0.435'),
0505 et = cms.string('et * (sqrt(0.00445^2 + (0.0895/sqrt(et))^2 + (0.186/et)^2))'),
0506 eta = cms.string('sqrt(0.000319^2 + (0.00061/sqrt(et))^2 + (0.00182/et)^2)'),
0507 phi = cms.string('sqrt(0.00011^2 + (0.00115/sqrt(et))^2 + (0.00365/et)^2)'),
0508 ),
0509 cms.PSet(
0510 bin = cms.string('0.435<=abs(eta) && abs(eta)<0.522'),
0511 et = cms.string('et * (sqrt(0.00453^2 + (0.0893/sqrt(et))^2 + (0.21/et)^2))'),
0512 eta = cms.string('sqrt(0.000301^2 + (0.000612/sqrt(et))^2 + (0.00146/et)^2)'),
0513 phi = cms.string('sqrt(0.000105^2 + (0.00122/sqrt(et))^2 + (0.00343/et)^2)'),
0514 ),
0515 cms.PSet(
0516 bin = cms.string('0.522<=abs(eta) && abs(eta)<0.609'),
0517 et = cms.string('et * (sqrt(0.00308^2 + (0.0886/sqrt(et))^2 + (0.188/et)^2))'),
0518 eta = cms.string('sqrt(0.000297^2 + (0.000791/sqrt(et))^2 + (2.09e-08/et)^2)'),
0519 phi = cms.string('sqrt(0.000102^2 + (0.00129/sqrt(et))^2 + (0.00328/et)^2)'),
0520 ),
0521 cms.PSet(
0522 bin = cms.string('0.609<=abs(eta) && abs(eta)<0.696'),
0523 et = cms.string('et * (sqrt(0.00308^2 + (0.0914/sqrt(et))^2 + (0.182/et)^2))'),
0524 eta = cms.string('sqrt(0.00032^2 + (0.000329/sqrt(et))^2 + (0.00325/et)^2)'),
0525 phi = cms.string('sqrt(0.000103^2 + (0.00139/sqrt(et))^2 + (0.00253/et)^2)'),
0526 ),
0527 cms.PSet(
0528 bin = cms.string('0.696<=abs(eta) && abs(eta)<0.783'),
0529 et = cms.string('et * (sqrt(0.00442^2 + (0.0914/sqrt(et))^2 + (0.231/et)^2))'),
0530 eta = cms.string('sqrt(0.000309^2 + (0.000821/sqrt(et))^2 + (0.00119/et)^2)'),
0531 phi = cms.string('sqrt(0.000115^2 + (0.00139/sqrt(et))^2 + (0.00293/et)^2)'),
0532 ),
0533 cms.PSet(
0534 bin = cms.string('0.783<=abs(eta) && abs(eta)<0.870'),
0535 et = cms.string('et * (sqrt(0.00455^2 + (0.0949/sqrt(et))^2 + (0.335/et)^2))'),
0536 eta = cms.string('sqrt(0.000293^2 + (0.000767/sqrt(et))^2 + (0.00211/et)^2)'),
0537 phi = cms.string('sqrt(0.000121^2 + (0.00158/sqrt(et))^2 + (0.00151/et)^2)'),
0538 ),
0539 cms.PSet(
0540 bin = cms.string('0.870<=abs(eta) && abs(eta)<0.957'),
0541 et = cms.string('et * (sqrt(0.00181^2 + (0.102/sqrt(et))^2 + (0.333/et)^2))'),
0542 eta = cms.string('sqrt(0.000275^2 + (0.000765/sqrt(et))^2 + (0.00227/et)^2)'),
0543 phi = cms.string('sqrt(0.000128^2 + (0.00169/sqrt(et))^2 + (1.93e-08/et)^2)'),
0544 ),
0545 cms.PSet(
0546 bin = cms.string('0.957<=abs(eta) && abs(eta)<1.044'),
0547 et = cms.string('et * (sqrt(0.000764^2 + (0.108/sqrt(et))^2 + (0.42/et)^2))'),
0548 eta = cms.string('sqrt(0.000274^2 + (0.000622/sqrt(et))^2 + (0.00299/et)^2)'),
0549 phi = cms.string('sqrt(0.000145^2 + (0.00179/sqrt(et))^2 + (1.69e-08/et)^2)'),
0550 ),
0551 cms.PSet(
0552 bin = cms.string('1.044<=abs(eta) && abs(eta)<1.131'),
0553 et = cms.string('et * (sqrt(0.00114^2 + (0.128/sqrt(et))^2 + (0.55/et)^2))'),
0554 eta = cms.string('sqrt(0.000269^2 + (0.000929/sqrt(et))^2 + (0.00183/et)^2)'),
0555 phi = cms.string('sqrt(0.000185^2 + (0.00182/sqrt(et))^2 + (2.99e-09/et)^2)'),
0556 ),
0557 cms.PSet(
0558 bin = cms.string('1.131<=abs(eta) && abs(eta)<1.218'),
0559 et = cms.string('et * (sqrt(4.14e-09^2 + (0.155/sqrt(et))^2 + (0.674/et)^2))'),
0560 eta = cms.string('sqrt(0.000268^2 + (0.000876/sqrt(et))^2 + (0.00234/et)^2)'),
0561 phi = cms.string('sqrt(0.000194^2 + (0.002/sqrt(et))^2 + (2.39e-08/et)^2)'),
0562 ),
0563 cms.PSet(
0564 bin = cms.string('1.218<=abs(eta) && abs(eta)<1.305'),
0565 et = cms.string('et * (sqrt(8.03e-09^2 + (0.144/sqrt(et))^2 + (0.8/et)^2))'),
0566 eta = cms.string('sqrt(0.000258^2 + (0.000782/sqrt(et))^2 + (0.00246/et)^2)'),
0567 phi = cms.string('sqrt(0.000226^2 + (0.00206/sqrt(et))^2 + (5.88e-08/et)^2)'),
0568 ),
0569 cms.PSet(
0570 bin = cms.string('1.305<=abs(eta) && abs(eta)<1.392'),
0571 et = cms.string('et * (sqrt(0.00842^2 + (0.118/sqrt(et))^2 + (0.951/et)^2))'),
0572 eta = cms.string('sqrt(0.000269^2 + (0.000817/sqrt(et))^2 + (0.00278/et)^2)'),
0573 phi = cms.string('sqrt(0.000247^2 + (0.00225/sqrt(et))^2 + (1.47e-09/et)^2)'),
0574 ),
0575 cms.PSet(
0576 bin = cms.string('1.392<=abs(eta) && abs(eta)<1.479'),
0577 et = cms.string('et * (sqrt(0.00684^2 + (0.144/sqrt(et))^2 + (0.892/et)^2))'),
0578 eta = cms.string('sqrt(0.000267^2 + (0.000734/sqrt(et))^2 + (0.00327/et)^2)'),
0579 phi = cms.string('sqrt(0.000234^2 + (0.00233/sqrt(et))^2 + (4.92e-09/et)^2)'),
0580 ),
0581 cms.PSet(
0582 bin = cms.string('1.479<=abs(eta) && abs(eta)<1.653'),
0583 et = cms.string('et * (sqrt(0.0245^2 + (0.196/sqrt(et))^2 + (0.555/et)^2))'),
0584 eta = cms.string('sqrt(0.000268^2 + (0.000757/sqrt(et))^2 + (0.00295/et)^2)'),
0585 phi = cms.string('sqrt(0.00025^2 + (0.00268/sqrt(et))^2 + (7.5e-09/et)^2)'),
0586 ),
0587 cms.PSet(
0588 bin = cms.string('1.653<=abs(eta) && abs(eta)<1.740'),
0589 et = cms.string('et * (sqrt(0.0174^2 + (0.127/sqrt(et))^2 + (0.894/et)^2))'),
0590 eta = cms.string('sqrt(0.000274^2 + (1.77e-09/sqrt(et))^2 + (0.00435/et)^2)'),
0591 phi = cms.string('sqrt(0.000284^2 + (0.00275/sqrt(et))^2 + (6.56e-09/et)^2)'),
0592 ),
0593 cms.PSet(
0594 bin = cms.string('1.740<=abs(eta) && abs(eta)<1.830'),
0595 et = cms.string('et * (sqrt(0.0144^2 + (0.133/sqrt(et))^2 + (0.708/et)^2))'),
0596 eta = cms.string('sqrt(0.000274^2 + (0.00101/sqrt(et))^2 + (0.000982/et)^2)'),
0597 phi = cms.string('sqrt(0.000356^2 + (0.00279/sqrt(et))^2 + (0.00261/et)^2)'),
0598 ),
0599 cms.PSet(
0600 bin = cms.string('1.830<=abs(eta) && abs(eta)<1.930'),
0601 et = cms.string('et * (sqrt(0.0149^2 + (0.126/sqrt(et))^2 + (0.596/et)^2))'),
0602 eta = cms.string('sqrt(0.000299^2 + (0.000686/sqrt(et))^2 + (0.00341/et)^2)'),
0603 phi = cms.string('sqrt(0.000347^2 + (0.00298/sqrt(et))^2 + (1.02e-08/et)^2)'),
0604 ),
0605 cms.PSet(
0606 bin = cms.string('1.930<=abs(eta) && abs(eta)<2.043'),
0607 et = cms.string('et * (sqrt(0.0143^2 + (0.12/sqrt(et))^2 + (0.504/et)^2))'),
0608 eta = cms.string('sqrt(0.000329^2 + (3.05e-10/sqrt(et))^2 + (0.00439/et)^2)'),
0609 phi = cms.string('sqrt(0.000302^2 + (0.00322/sqrt(et))^2 + (5.22e-08/et)^2)'),
0610 ),
0611 cms.PSet(
0612 bin = cms.string('2.043<=abs(eta) && abs(eta)<2.172'),
0613 et = cms.string('et * (sqrt(0.0162^2 + (0.0965/sqrt(et))^2 + (0.483/et)^2))'),
0614 eta = cms.string('sqrt(0.00037^2 + (1.32e-08/sqrt(et))^2 + (0.00447/et)^2)'),
0615 phi = cms.string('sqrt(0.000287^2 + (0.00349/sqrt(et))^2 + (3e-11/et)^2)'),
0616 ),
0617 cms.PSet(
0618 bin = cms.string('2.172<=abs(eta) && abs(eta)<2.322'),
0619 et = cms.string('et * (sqrt(0.0122^2 + (0.13/sqrt(et))^2 + (0.207/et)^2))'),
0620 eta = cms.string('sqrt(0.000442^2 + (4.03e-10/sqrt(et))^2 + (0.00544/et)^2)'),
0621 phi = cms.string('sqrt(0.000214^2 + (0.00436/sqrt(et))^2 + (2.98e-09/et)^2)'),
0622 ),
0623 cms.PSet(
0624 bin = cms.string('2.322<=abs(eta) && abs(eta)<2.500'),
0625 et = cms.string('et * (sqrt(0.0145^2 + (0.127/sqrt(et))^2 + (0.0782/et)^2))'),
0626 eta = cms.string('sqrt(0.000577^2 + (0.000768/sqrt(et))^2 + (0.00331/et)^2)'),
0627 phi = cms.string('sqrt(8.02e-05^2 + (0.00525/sqrt(et))^2 + (0.00581/et)^2)'),
0628 ),
0629 ),
0630 constraints = cms.vdouble(0)
0631 )
0632
0633 metResolutionPF = stringResolution.clone(parametrization = 'EtEtaPhi',
0634 functions = cms.VPSet(
0635 cms.PSet(
0636 et = cms.string('et * (sqrt(0.0337^2 + (0.888/sqrt(et))^2 + (19.6/et)^2))'),
0637 eta = cms.string('sqrt(0^2 + (0/sqrt(et))^2 + (0/et)^2)'),
0638 phi = cms.string('sqrt(1.28e-08^2 + (1.45/sqrt(et))^2 + (1.03/et)^2)'),
0639 ),
0640 ),
0641 constraints = cms.vdouble(0)
0642 )