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

Comparing UserCode/MitHzz4l/LeptonSelection/src/MuonSelection.cc (file contents):
Revision 1.16 by khahn, Wed May 9 20:03:49 2012 UTC vs.
Revision 1.17 by khahn, Thu May 10 22:36:12 2012 UTC

# Line 215 | Line 215 | SelectionStatus muonIDPFSelection(Contro
215    // check that it matches to a PF muon
216    for( int i=0; i<pfCandidates->GetEntries(); i++ ) {
217      const mithep::PFCandidate *pf = (mithep::PFCandidate*)((*pfCandidates)[i]);
218 <    if( pf->HasTrackerTrk() ) {
219 <      if( (pf->TrackerTrk() == mu->TrackerTrk()) && abs(pf->PFType()) == mithep::PFCandidate::eMuon ) {
220 <        pass = true;
221 <        break;
222 <      }
218 >    //    if( pf->HasTrackerTrk() ) {
219 >    //      if( (pf->TrackerTrk() == mu->TrackerTrk()) && abs(pf->PFType()) == mithep::PFCandidate::eMuon ) {
220 >    if(  abs(pf->PFType()) == mithep::PFCandidate::eMuon ) {
221 >      pass = true;
222 >      break;
223 >      //    }
224      }
225    }
226  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines