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.25 by khahn, Sun Jun 3 15:51:33 2012 UTC vs.
Revision 1.26 by khahn, Tue Jun 5 15:00:20 2012 UTC

# Line 118 | Line 118 | SelectionStatus muonReferencePreSelectio
118    if(ctrl.debug) cout << "and < 2.4 eta (" << mu->Eta() << ")? ... " << ret << endl;  
119    ret &= ( mu->IsTrackerMuon() || mu->IsGlobalMuon() );
120    if(ctrl.debug) cout << "is Tracker or Global? ... " << ret << endl;
121 <        ret &= (mu->HasTrackerTrk() &&
122 <                mu->TrackerTrk()->D0Corrected(*vtx) < 0.5
123 <                && mu->TrackerTrk()->DzCorrected(*vtx) < 1.0);
121 >  ret &= (mu->HasTrackerTrk() &&
122 >          fabs(mu->TrackerTrk()->D0Corrected(*vtx)) < 0.5 &&
123 >          fabs(mu->TrackerTrk()->DzCorrected(*vtx)) < 1.0);
124    if(ctrl.debug) cout << "d0 and dz? ... " << ret << endl;  
125            
126    //  if( mu->IsTrackerMuon() && mu->HasTrackerTrk() && !mu->IsGlobalMuon() )  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines