235 |
|
bool MyHbbAnalyzer::preSelect(){ |
236 |
|
bool passedPreSel = true; |
237 |
|
// trigger requirement: |
238 |
< |
if (!HLT_IsoMu17_v5_trig) return false; |
238 |
> |
////if (!HLT_IsoMu17_v5_trig) return false; |
239 |
|
if (nMuons < 2) passedPreSel = false; |
240 |
|
if (nJets < 2) passedPreSel = false; |
241 |
|
int firstJetIdx, secondJetIdx; |
293 |
|
|
294 |
|
bool MyHbbAnalyzer::Select_Naj(){ |
295 |
|
bool passedNaj = true; |
296 |
< |
////if (nJets > 3) passedNaj = false; |
297 |
< |
int bjets = 0; |
298 |
< |
for(int j = 0; j != nJets; ++j){ |
299 |
< |
if (bDisc_CSV[j] < 0.244) continue; |
300 |
< |
bjets++; |
301 |
< |
}// jet loop |
302 |
< |
if (bjets > 3) passedNaj = false; |
296 |
> |
if (nJets > 3) passedNaj = false; |
297 |
|
return passedNaj; |
298 |
|
}// Naj |
299 |
|
|
464 |
|
if (delta < (-TMath::Pi())) delta += 2.0*TMath::Pi(); |
465 |
|
return fabs(delta); |
466 |
|
} |
473 |
– |
|
474 |
– |
|
475 |
– |
|
476 |
– |
|