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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Jun 1 18:20:42 BST 2011


Author: hoeth
Date: Wed Jun  1 18:20:41 2011
New Revision: 3115

Log:
remove unused variable in Thrust projection

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

Modified: trunk/include/Rivet/Projections/Thrust.hh
==============================================================================
--- trunk/include/Rivet/Projections/Thrust.hh	Tue May 31 15:13:34 2011	(r3114)
+++ trunk/include/Rivet/Projections/Thrust.hh	Wed Jun  1 18:20:41 2011	(r3115)
@@ -45,14 +45,9 @@
   public:
 
     /// Constructor.
-    Thrust()
-      : _calculatedThrust(false)
-    {
-    }
+    Thrust() {}
 
-    Thrust(const FinalState& fsp)
-      : _calculatedThrust(false)
-    {
+    Thrust(const FinalState& fsp) {
       setName("Thrust");
       addProjection(fsp, "FS");
     }
@@ -135,9 +130,6 @@
     /// The thrust axes.
     vector<Vector3> _thrustAxes;
 
-    /// Caching flag to avoid costly recalculations.
-    bool _calculatedThrust;
-
   private:
 
     /// Explicitly calculate the thrust values.


More information about the Rivet-svn mailing list