[Rivet-svn] r4215 - in trunk: . src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sat Mar 9 21:35:08 GMT 2013


Author: buckley
Date: Sat Mar  9 21:35:08 2013
New Revision: 4215

Log:
Fixing a symbol misnaming in ATLAS_2012_I1119557.

Modified:
   trunk/ChangeLog
   trunk/src/Analyses/ATLAS_2012_I1119557.cc

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Sat Mar  9 14:45:26 2013	(r4214)
+++ trunk/ChangeLog	Sat Mar  9 21:35:08 2013	(r4215)
@@ -1,3 +1,7 @@
+2013-03-09  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Fixing a symbol misnaming in ATLAS_2012_I1119557.
+
 2013-03-07  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Renaming existing uses of ParticleVector to the new 'Particles' type.

Modified: trunk/src/Analyses/ATLAS_2012_I1119557.cc
==============================================================================
--- trunk/src/Analyses/ATLAS_2012_I1119557.cc	Sat Mar  9 14:45:26 2013	(r4214)
+++ trunk/src/Analyses/ATLAS_2012_I1119557.cc	Sat Mar  9 21:35:08 2013	(r4215)
@@ -8,12 +8,13 @@
 namespace Rivet {
 
 
-  // Forward declarations of calculator functions: implementations at bottom of file
-  double getWidth(const Jet& jet);
-  double getEcc(const Jet& jet);
-  double getPFlow(const Jet& jet);
-  double getAngularity(const Jet& jet);
-
+  namespace { // unnamed namespace
+    // Forward declarations of calculator functions: implementations at bottom of file
+    double getWidth(const Jet& jet);
+    double getEcc(const Jet& jet);
+    double getPFlow(const Jet& jet);
+    double getAngularity(const Jet& jet);
+  }
 
 
   class ATLAS_2012_I1119557 : public Analysis {
@@ -100,7 +101,7 @@
 
 
 
-  namespace {
+  namespace { // unnamed namespace
 
     // Adapted code from Lily
     /// @todo Convert to use the Rivet rotation matrix code (should be simpler)
@@ -147,7 +148,7 @@
 
 
     /// Jet width calculation
-    double jetWidth(const Jet& jet) {
+    double getWidth(const Jet& jet) {
       const double phi_jet = jet.phi();
       const double eta_jet = jet.eta();
       double width(0), pTsum(0);


More information about the Rivet-svn mailing list