|
[Rivet-svn] rivet: Bug-fix in semi-leptonic top selection of CMS_2015_I1370682.Rivet Mercurial rivet at projects.hepforge.orgFri Mar 25 13:15:02 GMT 2016
details: https://rivet.hepforge.org/hg/rivet/rev/b36604ed6d4f branches: release-2-4-x changeset: 5052:b36604ed6d4f user: Andy Buckley <andy at insectnation.org> date: Fri Mar 25 13:01:08 2016 +0000 description: Bug-fix in semi-leptonic top selection of CMS_2015_I1370682. diffs (21 lines): --- a/ChangeLog Thu Mar 17 21:06:18 2016 +0000 +++ b/ChangeLog Fri Mar 25 13:01:08 2016 +0000 @@ -1,3 +1,7 @@ +2016-03-25 Andy Buckley <andy.buckley at cern.ch> + + * Bug-fix in semi-leptonic top selection of CMS_2015_I1370682. + 2016-03-12 Andy Buckley <andy.buckley at cern.ch> * Allow multi-line major tick labels on make-plots linear x and y --- a/src/Analyses/CMS_2015_I1370682.cc Thu Mar 17 21:06:18 2016 +0000 +++ b/src/Analyses/CMS_2015_I1370682.cc Fri Mar 25 13:01:08 2016 +0000 @@ -518,7 +518,7 @@ w2dau2LVec = w2dau2.momentum(); } else if (nWLepCand == 1) { // Semi-leptonic case const pair<size_t, size_t>& idPair1 = wLepCandIdxs.begin()->second; - const pair<size_t, size_t>& idPair2 = (++wHadCandIdxs.begin())->second; ///< @todo Reinstate std::next + const pair<size_t, size_t>& idPair2 = wHadCandIdxs.begin()->second; const Jet& w1dau1 = leptons[idPair1.first]; const Particle& w1dau2 = neutrinos[idPair1.second]; const Jet& w2dau1 = _ljets[idPair2.first];
More information about the Rivet-svn mailing list |