|
[Rivet] CMS_2015_I1370682.tgzMarkus Seidel markus.seidel at cern.chThu Mar 17 14:03:58 GMT 2016
Hi Andy, thanks a lot for integrating CMS_2015_I1370682! Unfortunately, there is a bug that causes segfault, see fix below. (I do not know if it still runs outside the CMS framework but the physics output is certainly not correct then.) Cheers, Markus diff --git a/src/CMS_2015_I1370682.cc b/src/CMS_2015_I1370682.cc index a56f195..7b47aa8 100644 --- a/src/CMS_2015_I1370682.cc +++ b/src/CMS_2015_I1370682.cc @@ -518,7 +518,7 @@ namespace Rivet { 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 mailing list |