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

Comparing UserCode/MitPhysics/Utils/src/JetIDMVA.cc (file contents):
Revision 1.8 by pharris, Thu May 3 14:01:48 2012 UTC vs.
Revision 1.9 by ceballos, Sat May 12 06:17:43 2012 UTC

# Line 159 | Line 159 | Bool_t JetIDMVA::pass(const PFJet *iJet,
159    double lMVA = MVAValue   (iJet,iVertex,iVertices,iJetCorrector,iPileupEnergyDensity);
160    double lPt  = correctedPt(iJet,                  iJetCorrector,iPileupEnergyDensity);
161    if(lPt < fJetPtMin)                         return false;
162  if(lPt > 50)                                return true; //==> we can raise this
162    
163    int lPtId = 0;
164    if(lPt > 10 && lPt < 20) lPtId = 1;
# Line 184 | Line 183 | Bool_t JetIDMVA::pass(const PFJet *iJet,
183   Bool_t JetIDMVA::pass(const PFJet *iJet,const Vertex *iVertex,const VertexCol *iVertices) {
184    if(!JetTools::passPFLooseId(iJet))                 return false;
185    if(iJet->Pt()        < fJetPtMin) return false;
187  if(iJet->Pt()        > 50)        return true; //==> we can raise this
186    if(fabs(iJet->Eta()) > 4.99)      return false;
187    double lMVA = MVAValue(iJet,iVertex,iVertices);
188    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines