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