[Rivet-svn] r3401 - trunk/include/Rivet/Projections

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Sep 29 13:29:36 BST 2011


Author: hoeth
Date: Thu Sep 29 13:29:36 2011
New Revision: 3401

Log:
if we take arguments in the jetsBySomething methods, we should maybe stop ignoring them. There are a few analyses that are affected.

Modified:
   trunk/include/Rivet/Projections/JetAlg.hh

Modified: trunk/include/Rivet/Projections/JetAlg.hh
==============================================================================
--- trunk/include/Rivet/Projections/JetAlg.hh	Thu Sep 29 13:28:18 2011	(r3400)
+++ trunk/include/Rivet/Projections/JetAlg.hh	Thu Sep 29 13:29:36 2011	(r3401)
@@ -107,10 +107,10 @@
     /// Get the jets, ordered by supplied sorting function object, with optional cuts on \f$ p_\perp \f$ and rapidity.
     /// @todo Introduce MomentumFilter objects for pT, ET, eta, y, etc. filtering, to avoid double-arg ambiguities
     template <typename F>
-    Jets jets(F sorter, double ptmin, double,
-              double, double,
-              RapScheme) const {
-      Jets js = jets(ptmin);
+    Jets jets(F sorter, double ptmin, double ptmax,
+              double rapmin, double rapmax,
+              RapScheme rapscheme) const {
+      Jets js = jets(ptmin, ptmax, rapmin, rapmax, rapscheme);
       if (sorter != 0) {
         std::sort(js.begin(), js.end(), sorter);
       }
@@ -156,7 +156,7 @@
     /// An optional cut on min \f$ p_\perp \f$ is applied in this function, since that is
     /// directly supported by FastJet and it seems a shame to not make use of that. But
     /// all other jet cuts are applied at the @c ::jets() function level.
-    virtual Jets _jets(double ptmin=0.0) const = 0;
+    virtual Jets _jets(double ptmin) const = 0;
 
 
   public:


More information about the Rivet-svn mailing list