ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/LeptonSelection/src/IsolationSelection.cc
(Generate patch)

Comparing UserCode/MitHzz4l/LeptonSelection/src/IsolationSelection.cc (file contents):
Revision 1.22 by anlevin, Tue May 22 22:31:17 2012 UTC vs.
Revision 1.23 by khahn, Wed May 23 14:50:06 2012 UTC

# Line 1033 | Line 1033 | double  muonPFIso04(ControlFlags &ctrl,
1033          }
1034          // PF charged
1035          if (pf->Charge() != 0 && fabs(tmpele->SCluster()->Eta()) > 1.479
1036 <            && mithep::MathUtils::DeltaR(tmpele->Phi(),tmpele->Eta(), pf->Phi(), pf->Eta()) < 0.015)
1036 >            && mithep::MathUtils::DeltaR(tmpele->Phi(),tmpele->Eta(), pf->Phi(), pf->Eta()) < 0.015) {
1037 >          if( ctrl.debug) cout << "\tcharged trk, dR ("
1038 >                               << mithep::MathUtils::DeltaR(tmpele->Phi(),tmpele->Eta(), pf->Phi(), pf->Eta())
1039 >                               << " matches 4L ele ..." << endl;
1040            IsLeptonFootprint = kTRUE;
1041 +        }
1042          // PF gamma
1043          if (abs(pf->PFType()) == PFCandidate::eGamma && fabs(tmpele->SCluster()->Eta()) > 1.479
1044              && mithep::MathUtils::DeltaR(tmpele->Phi(),tmpele->Eta(), pf->Phi(), pf->Eta()) < 0.08)
# Line 2255 | Line 2259 | float electronPFIso04(ControlFlags &ctrl
2259                        vector<const mithep::Electron*> electronsToVeto)
2260   //--------------------------------------------------------------------------------------------------
2261   {
2262 <
2262 >  /*
2263    if( ctrl.debug ) {
2264      cout << "electronIsoMVASelection :: muons to veto " << endl;
2265      for( int i=0; i<muonsToVeto.size(); i++ ) {
# Line 2275 | Line 2279 | float electronPFIso04(ControlFlags &ctrl
2279             << endl;
2280      }
2281    }
2282 <
2282 >  */
2283  
2284    //
2285    // final iso

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines