cms-sw/cmssw — pull request #5701 by bachtis (2014-10-06 13:30:29+00:00)
Title: Improvement of muon post cleaning [MET tails] at 73X

Hi,
This PR applies the following changes to the muon post cleaning:

1. Fixes an issue observed in CSA14 samples where a charged hadron is allowed to have a non high purity track that screws the MET. The story here is the following: When we import tracks we require high purity but if the track is the inner track of a muon we dont since the TuneP+PF can allow another refit to be used for the four vector. However the case was observed that the track was failing muID in PF and then a charged hadron was created > 500 GeV with no HCAL deposit ... Added a fix for those cases

2., In the attempt to improve the MET in PF there was a mistake in calculating it ending up with a MET=PFMET+offset . After studies switched to plain PFMET . Tried also track MET but doesnt help since
the post cleaning also creates neutral particles some times.

Example result plots follow in two samples:
1.Z prime -> this sample is great to see the effect of mismeasured muons since it has MET=0 and very high pt muons that can be mismeasured. In this sample the arithmetic RMS goes from 150->140 GeV

2. The Flat QCD sample shows smaller(as expected) improvement as well 30.07->30.03

**red is before, black is after**

Adding also the MUO POG: @trocino @battibass @abbiendi

![qcd](https://cloud.githubusercontent.com/assets/5180887/4526104/310a10de-4d5c-11e4-87d6-b21607e17a1c.png)
![zprime](https://cloud.githubusercontent.com/assets/5180887/4526105/31102410-4d5c-11e4-9c33-6681a2948afa.png)