ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/src/MetLeptonTools.cc
(Generate patch)

Comparing UserCode/MitPhysics/Utils/src/MetLeptonTools.cc (file contents):
Revision 1.3 by pharris, Tue Sep 25 15:39:15 2012 UTC vs.
Revision 1.4 by pharris, Sat Jan 12 11:49:50 2013 UTC

# Line 80 | Line 80 | bool MetLeptonTools::looseMuId(const Muo
80    if(iMu->IsoR03SumPt()/iMu->Pt()                > 0.2)         return false;
81    return true;
82   }
83 + bool MetLeptonTools::loosePhotonId(const Photon *iPhoton) {
84 +  if(iPhoton->Pt()        <   20)                                   return false;
85 +  if(fabs(iPhoton->Eta()) > 1.45)                                   return false;
86 +  if(iPhoton->HadOverEm() > 0.05)                                   return false;
87 +  if(iPhoton->CoviEtaiEta() > 0.01)                                 return false;
88 +  if(iPhoton->HollowConeTrkIsoDr04()    > (2.+0.002*iPhoton->Pt())) return false;
89 +  return true;
90 + }
91   double MetLeptonTools::vis(const PFTau *iTau) {
92    double lPtTot        = 0.;
93    double lChargedPtTot = 0.;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines