NWUHEP / ntupleProducer

Northwestern ntuplizer tools for use with CMSSW.
https://twiki.cern.ch/twiki/bin/view/CMS/UserCodeNWUntupleProducer
4 stars 4 forks source link

Figure out the electron isolation issue #33

Closed andreypz closed 9 years ago

andreypz commented 10 years ago

Photons are not removed from pf-Isolation as Nate found out.

andreypz commented 10 years ago

Looks like the problem is known and described on official egamma page: https://twiki.cern.ch/twiki/bin/view/CMS/EgammaPFBasedIsolation#Recommended_electron_vetoes_Upda They don't seem to provide a concrete code though. Although it looks like it is implemented in the PFIsolationEstimator class that we are using (see EgammaAnalysis/ElectronTools/src/PFIsolationEstimator.cc in your files and look for isPhotonParticleVetoed() function) but is seems to have been done by a noob (like Brain or even worse), so there might be bugs.

Other related codes:

Why aren't we using any of those two? Where is PFIsolationEstimator.cc recommended?

pollackscience commented 10 years ago

For the mean time, this is as fixed as it can be without EGamma coming in and doing it correctly. We will have 3 versions (PFIsolationEstimator, CommonTools/ParticleFlow, SCFP Remover)

pollackscience commented 10 years ago

EGamma POG is aware of this issue, may have to do with PAT cleaning of pfobjects, no idea on when this will be fixed