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.5 by malbouis, Thu Oct 13 15:10:45 2011 UTC vs.
Revision 1.6 by malbouis, Fri Oct 21 14:39:57 2011 UTC

# Line 235 | Line 235 | void MyHbbAnalyzer::Loop()
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;
# Line 293 | Line 293 | bool MyHbbAnalyzer::Select_DPhi(){
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  
# Line 470 | Line 464 | double MyHbbAnalyzer::DeltaPhi(const dou
464    if (delta < (-TMath::Pi())) delta += 2.0*TMath::Pi();
465    return fabs(delta);
466   }
473
474
475
476

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines