ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.cc
(Generate patch)

Comparing UserCode/OSUT3Analysis/AnaTools/plugins/OSUAnalysis.cc (file contents):
Revision 1.12 by ahart, Fri Feb 8 11:07:51 2013 UTC vs.
Revision 1.13 by lantonel, Fri Feb 8 15:22:40 2013 UTC

# Line 776 | Line 776 | OSUAnalysis::valueLookup (const BNmuon*
776    //user-defined variables
777    else if(variable == "correctedD0VertexErr") value =  hypot (object->tkD0err, hypot (primaryVertex_->xError, primaryVertex_->yError));
778    else if(variable == "correctedD0VertexSig") value =  object->correctedD0Vertex / hypot (object->tkD0err, hypot (primaryVertex_->xError, primaryVertex_->yError));
779 <  else if(variable == "detIso") value = (object->trackIso + object->caloIso) / object->pt;
779 >  else if(variable == "detIso") value = (object->trackIso) / object->pt;
780    else if(variable == "relPFdBetaIso") value = (object->pfIsoR04SumChargedHadronPt + max(0.0, object->pfIsoR04SumNeutralHadronEt + object->pfIsoR04SumPhotonEt - 0.5*object->pfIsoR04SumPUPt)) / object->pt;
781    else if(variable == "relPFrhoIso") value = ( object->chargedHadronIso + max(0.0, object->neutralHadronIso + object->photonIso - object->AEffDr03*object->rhoPrime) ) / object->pt;
782    else if(variable == "tightID") {
# Line 974 | Line 974 | OSUAnalysis::valueLookup (const BNelectr
974    //user-defined variables
975    else if(variable == "correctedD0VertexErr") value =  hypot (object->tkD0err, hypot (primaryVertex_->xError, primaryVertex_->yError));
976    else if(variable == "correctedD0VertexSig") value =  object->correctedD0Vertex / hypot (object->tkD0err, hypot (primaryVertex_->xError, primaryVertex_->yError));
977 <  else if(variable == "detIso") value = (object->trackIso + object->caloIso) / object->pt;
977 >  else if(variable == "detIso") value = (object->trackIso) / object->pt;
978    else if(variable == "relPFrhoIso") value = ( object->chargedHadronIsoDR03 + max(0.0, object->neutralHadronIsoDR03 + object->photonIsoDR03 - object->AEffDr03*object->rhoPrime) ) / object->pt;
979  
980  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines