# | Line 2297 | Line 2297 | float electronPFIso04(ControlFlags &ctrl | |
---|---|---|
2297 | if (fabs(ele->SCluster()->Eta()) > 1.479) { | |
2298 | if (mithep::MathUtils::DeltaR(ele->Phi(),ele->Eta(), pf->Phi(), pf->Eta()) < 0.08) continue; | |
2299 | } | |
2300 | + | |
2301 | + | assert(ele->HasSuperCluster()); |
2302 | + | if(ele->GsfTrk()->NExpectedHitsInner()>0 && pf->MvaGamma() > 0.99 && pf->HasSCluster() && ele->SCluster() == pf->SCluster()) continue; |
2303 | + | |
2304 | + | |
2305 | if( ctrl.debug) cout << "gamma:: " << pf->Pt() << " " | |
2306 | << dr << endl; | |
2307 | // KH, add to sync |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |