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

Comparing UserCode/MitPhysics/Mods/src/JetIDMod.cc (file contents):
Revision 1.25 by ceballos, Tue Apr 12 07:38:26 2011 UTC vs.
Revision 1.26 by pharris, Thu Apr 5 12:25:10 2012 UTC

# Line 26 | Line 26 | JetIDMod::JetIDMod(const char *name, con
26    fVertices(0)
27   {
28    // Constructor.
29 +  fJetIDMVA = new JetIDMVA();
30 +  fJetIDMVA->Initialize(JetIDMVA::kLoose);
31   }
32  
33   //-------------------------------------------------------------------------------------------------
# Line 82 | Line 84 | void JetIDMod::Process()
84      if(passBetaCut == kFALSE)
85        continue;
86  
87 +    if(fJetIDMVA->pass(pfJet,fVertices->At(0),fVertices)) continue;
88 +
89      // add good jet to collection
90      GoodJets->Add(jet);
91    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines