371 |
|
IsLeptonFootprint = kTRUE; |
372 |
|
} // loop over electrons |
373 |
|
|
374 |
+ |
/* KH - commented for sync |
375 |
|
// |
376 |
|
// Check for muons |
377 |
|
// |
386 |
|
if (pf->Charge() != 0 && mithep::MathUtils::DeltaR(tmpmu->Phi(),tmpmu->Eta(), pf->Phi(), pf->Eta()) < 0.01) |
387 |
|
IsLeptonFootprint = kTRUE; |
388 |
|
} // loop over muons |
389 |
< |
|
389 |
> |
*/ |
390 |
|
|
391 |
|
if (IsLeptonFootprint) |
392 |
|
continue; |
663 |
|
&& mithep::MathUtils::DeltaR(tmpele->Phi(),tmpele->Eta(), pf->Phi(), pf->Eta()) < 0.08) |
664 |
|
IsLeptonFootprint = kTRUE; |
665 |
|
} // loop over electrons |
666 |
< |
|
666 |
> |
|
667 |
> |
/* KH - comment for sync |
668 |
|
// |
669 |
|
// Check for muons |
670 |
|
// |
679 |
|
if (pf->Charge() != 0 && mithep::MathUtils::DeltaR(tmpmu->Phi(),tmpmu->Eta(), pf->Phi(), pf->Eta()) < 0.01) |
680 |
|
IsLeptonFootprint = kTRUE; |
681 |
|
} // loop over muons |
682 |
< |
|
682 |
> |
*/ |
683 |
|
|
684 |
|
if (IsLeptonFootprint) |
685 |
|
continue; |
686 |
|
|
687 |
|
// |
688 |
< |
// Charged Iso Rings |
688 |
> |
// Charged Iso |
689 |
|
// |
690 |
|
if (pf->Charge() != 0 && (pf->HasTrackerTrk()||pf->HasGsfTrk()) ) { |
691 |
|
|
717 |
|
} |
718 |
|
|
719 |
|
// |
720 |
< |
// Other Neutral Iso Rings |
720 |
> |
// Other Neutrals |
721 |
|
// |
722 |
|
else { |
723 |
< |
fNeutralHadronIso += pf->Pt(); |
723 |
> |
// KH, add to sync |
724 |
> |
if( pf->Pt() > 0.5 ) |
725 |
> |
fNeutralHadronIso += pf->Pt(); |
726 |
|
} |
727 |
|
|
728 |
|
} |
915 |
|
IsLeptonFootprint = kTRUE; |
916 |
|
} |
917 |
|
} // loop over electrons |
918 |
< |
|
918 |
> |
|
919 |
> |
/* KH - comment for sync |
920 |
|
// |
921 |
|
// Check for muons |
922 |
|
// |
935 |
|
IsLeptonFootprint = kTRUE; |
936 |
|
} |
937 |
|
} // loop over muons |
938 |
< |
|
938 |
> |
*/ |
939 |
|
|
940 |
|
if (IsLeptonFootprint) |
941 |
|
continue; |
1273 |
|
IsLeptonFootprint = kTRUE; |
1274 |
|
} |
1275 |
|
} // loop over electrons |
1276 |
< |
|
1276 |
> |
|
1277 |
> |
/* KH - comment for sync |
1278 |
|
// |
1279 |
|
// Check for muons |
1280 |
|
// |
1293 |
|
IsLeptonFootprint = kTRUE; |
1294 |
|
} |
1295 |
|
} // loop over muons |
1296 |
< |
|
1296 |
> |
*/ |
1297 |
|
|
1298 |
|
if (IsLeptonFootprint) |
1299 |
|
continue; |
1300 |
|
|
1301 |
|
// |
1302 |
< |
// Charged Iso Rings |
1302 |
> |
// Charged Iso |
1303 |
|
// |
1304 |
|
if (pf->Charge() != 0 && (pf->HasTrackerTrk()||pf->HasGsfTrk()) ) { |
1305 |
|
|
1340 |
|
else { |
1341 |
|
if( ctrl.debug) cout << "neutral:: " << pf->Pt() << " " |
1342 |
|
<< dr << endl; |
1343 |
< |
fNeutralHadronIso += pf->Pt(); |
1343 |
> |
// KH, add to sync |
1344 |
> |
if( pf->Pt() > 0.5 ) |
1345 |
> |
fNeutralHadronIso += pf->Pt(); |
1346 |
|
} |
1347 |
|
|
1348 |
|
} |