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

Comparing UserCode/MitHzz4l/Selection/src/Selection.cc (file contents):
Revision 1.17 by khahn, Mon Nov 7 06:53:01 2011 UTC vs.
Revision 1.18 by khahn, Mon Nov 7 16:46:58 2011 UTC

# Line 369 | Line 369 | unsigned fails_HZZ4L_selection(ControlFl
369    double BestZ1Mass = -999;
370    if( ctrl.debug ) { cout << "looking for a Z1 ..." << endl; }
371    for(int i = 0; i < lepvec.size(); ++i) {
372 <    if( !(lepvec[i].isLoose ) ) continue;
372 >    if( !(lepvec[i].isLoose ||lepvec[i].isTight ) ) continue;
373      for(int j = i+1; j < lepvec.size(); ++j) {
374 <      if( !(lepvec[j].isLoose ) ) continue;
374 >      if( !(lepvec[j].isLoose || lepvec[j].isTight) ) continue;
375        if( ctrl.debug ) { cout << "\tconsidering leptons " << i << " & " << j << endl; }
376        if (!(lepvec[i].vec.Pt() > 20.0 || lepvec[j].vec.Pt() > 20.0)) continue;
377        if( ctrl.debug ) { cout << "\tat least one is > 20 GeV" << endl; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines