185 met._rawSumEt = rawsumet
186 met._rawP4 = ROOT.reco.Particle.LorentzVector(rawpx,rawpy,0,hypot(rawpx,rawpy))
187 met.uncorPt = types.MethodType(
lambda myself : myself._rawP4.Pt(), met, met.__class__)
188 met.uncorPx = types.MethodType(
lambda myself : myself._rawP4.Px(), met, met.__class__)
189 met.uncorPy = types.MethodType(
lambda myself : myself._rawP4.Py(), met, met.__class__)
190 met.uncorPhi = types.MethodType(
lambda myself : myself._rawP4.Phi(), met, met.__class__)
191 met.uncorP4 = types.MethodType(
lambda myself : myself._rawP4, met, met.__class__)
192 met.uncorSumEt = types.MethodType(
lambda myself : myself._rawSumEt, met, met.__class__)
194 met.uncorP2 = types.MethodType(
lambda myself :
None, met, met.__class__)
195 met.uncorP3 = types.MethodType(
lambda myself :
None, met, met.__class__)
197 def setFakeRawMETOnOldMiniAODs(met, rawpx, rawpy, rawsumet)