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

Comparing UserCode/HbbAnalysis/plugins/HbbTreeMaker.cc (file contents):
Revision 1.42 by amagnan, Thu Sep 1 14:07:31 2011 UTC vs.
Revision 1.43 by amagnan, Mon Sep 5 17:15:15 2011 UTC

# Line 667 | Line 667 | void HbbTreeMaker::HbbElectrons(const ed
667            lReco.vx = (*iter).vx();
668            lReco.vy = (*iter).vy();
669            lReco.vz = (*iter).vz();
670 <    lReco.hltMatch = (*iter).triggerObjectMatches().size();
670 >          lReco.hltMatch = (*iter).triggerObjectMatches().size();
671            
672            HbbAnalysis::SCVars lSC;
673 +          if ( (*iter).superCluster().isAvailable() && (*iter).superCluster().isNonnull() )
674 +            lSC.eta = (*iter).superCluster()->eta();
675 +          else lSC.eta = lReco.eta;
676            lSC.sigmaEtaEta = (*iter).scSigmaEtaEta();
677            lSC.sigmaIEtaIEta = (*iter).scSigmaIEtaIEta();
678            lSC.e1x5 = (*iter).scE1x5();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines