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.29 by agilbert, Wed May 4 14:21:43 2011 UTC vs.
Revision 1.30 by agilbert, Thu May 5 15:09:05 2011 UTC

# Line 1649 | Line 1649 | void HbbTreeMaker::HbbVertices(const edm
1649                 lTrk != (*iter).tracks_end();
1650                 ++lTrk) {
1651              lVtx.trackWeights.push_back((*iter).trackWeight(*lTrk));
1652 +      lVtx.trackpT.push_back((*(*lTrk)).pt());
1653            }
1654          }
1655  
# Line 1660 | Line 1661 | void HbbTreeMaker::HbbVertices(const edm
1661                     << " --- Size of trackWeights = " << lVtx.trackWeights.size()
1662                     << std::endl;
1663          }
1664 +        if (lVtx.trackpT.size() != (*iter).tracksSize()) {
1665 +          std::cout<< " -- Problem with tracks, size is not as expected ! "
1666 +                   << std::endl
1667 +                   << " --- Size of recoVertex tracks = " << (*iter).tracksSize()
1668 +                   << std::endl
1669 +                   << " --- Size of trackpT = " << lVtx.trackpT.size()
1670 +                   << std::endl;
1671 +        }
1672  
1673          lVtx.chi2 = (*iter).chi2();
1674          lVtx.ndof = (*iter).ndof();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines