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.; |