ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UNL/macros/MyHbbAnalyzer.C
(Generate patch)

Comparing UserCode/UNL/macros/MyHbbAnalyzer.C (file contents):
Revision 1.3 by malbouis, Mon Sep 5 18:18:12 2011 UTC vs.
Revision 1.4 by malbouis, Wed Sep 7 17:15:06 2011 UTC

# Line 531 | Line 531 | double MyHbbAnalyzer::computeDPhi(){
531    TLorentzVector Z = firstMu_p4 + secondMu_p4;
532    int firstJetIdx, secondJetIdx;
533    jetIndices(firstJetIdx, secondJetIdx, bDisc_CSV);
534 +  // reject event with less than 2 CSV tags
535 +  if (firstJetIdx == -1 || secondJetIdx == -1) return false;
536    TLorentzVector firstJet_p4 = TLorentzVector(jetPx[firstJetIdx], jetPy[firstJetIdx], jetPz[firstJetIdx], jetP[firstJetIdx]);
537    TLorentzVector secondJet_p4 = TLorentzVector(jetPx[secondJetIdx], jetPy[secondJetIdx], jetPz[secondJetIdx], jetP[secondJetIdx]);
538    TLorentzVector jj = firstJet_p4 + secondJet_p4;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines