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

Comparing UserCode/MitPhysics/SelMods/src/HwwExampleAnalysisMod.cc (file contents):
Revision 1.16 by ceballos, Fri May 13 16:35:47 2011 UTC vs.
Revision 1.17 by ceballos, Mon Jun 13 15:27:59 2011 UTC

# Line 238 | Line 238 | void HwwExampleAnalysisMod::Process()
238    vector<Jet*> sortedJets;
239    vector<Jet*> sortedJetsLowPt;
240    for(UInt_t i=0; i<CleanJetsNoPtCut->GetEntries(); i++){
241 +    if(CleanJetsNoPtCut->At(i)->RawMom().Pt() <= 7) continue;
242      Jet* jet_a = new Jet(CleanJetsNoPtCut->At(i)->Px(),
243                           CleanJetsNoPtCut->At(i)->Py(),
244                           CleanJetsNoPtCut->At(i)->Pz(),
# Line 295 | Line 296 | void HwwExampleAnalysisMod::Process()
296    double maxBtag = -99999.;
297    double imaxBtag = -1;
298    for(UInt_t i=0; i<sortedJetsLowPt.size(); i++){
298    if(sortedJetsLowPt[i]->Pt() <= 7) continue;
299      if(sortedJetsLowPt[i]->TrackCountingHighEffBJetTagsDisc() > maxBtag){
300        maxBtag  = sortedJetsLowPt[i]->TrackCountingHighEffBJetTagsDisc();
301        imaxBtag = i;
# Line 325 | Line 325 | void HwwExampleAnalysisMod::Process()
325    Bool_t PreselPtCut = kTRUE;
326    if(CleanLeptons->At(0)->Pt() <= 20) PreselPtCut = kFALSE;
327    if(CleanLeptons->At(1)->Pt() <= 10) PreselPtCut = kFALSE;
328 <  if(CleanLeptons->At(1)->ObjType() == kElectron && CleanLeptons->At(1)->Pt() <= 15) PreselPtCut = kFALSE;
328 >  //if(CleanLeptons->At(1)->ObjType() == kElectron && CleanLeptons->At(1)->Pt() <= 15) PreselPtCut = kFALSE;
329    if(PreselPtCut == kTRUE)              passCut[0] = true;
330    
331    if(zDiffMax < 100000.0)               passCut[1] = true;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines