[Rivet-svn] rivet: push_back smeared jet into _recojets

Rivet Mercurial rivet at projects.hepforge.org
Thu Aug 4 14:15:02 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/2aca8a536bda
branches:  release-2-5-x
changeset: 5382:2aca8a536bda
user:      Holger Schulz <holger.schulz at durham.ac.uk>
date:      Thu Aug 04 14:03:06 2016 +0100
description:
push_back smeared jet into _recojets

diffs (10 lines):

--- a/include/Rivet/Projections/SmearedJets.hh	Thu Aug 04 13:57:42 2016 +0100
+++ b/include/Rivet/Projections/SmearedJets.hh	Thu Aug 04 14:03:06 2016 +0100
@@ -110,6 +110,7 @@
         // Re-add constituents & tags if (we assume accidentally) they were lost by the smearing function
         if (sj.particles().empty() && !j.particles().empty()) sj.particles() = j.particles();
         if (sj.tags().empty() && !j.tags().empty()) sj.tags() = j.tags();
+        _recojets.push_back(sj);
       }
       // Apply tagging efficiencies, using smeared kinematics as input to the tag eff functions
       for (Jet& j : _recojets) {


More information about the Rivet-svn mailing list