[Rivet-svn] r4210 - in trunk: . include/Rivet

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Mar 7 12:59:39 GMT 2013


Author: buckley
Date: Thu Mar  7 12:59:39 2013
New Revision: 4210

Log:
Adding a Particles typedef by analogy to Jets, and in preference to the cumbersome ParticleVector.

Modified:
   trunk/ChangeLog
   trunk/include/Rivet/Particle.fhh

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	Thu Mar  7 12:04:48 2013	(r4209)
+++ trunk/ChangeLog	Thu Mar  7 12:59:39 2013	(r4210)
@@ -1,5 +1,8 @@
 2013-03-07  Andy Buckley  <andy.buckley at cern.ch>
 
+	* Adding a Particles typedef by analogy to Jets, and in preference
+	to the cumbersome ParticleVector.
+
 	* bin/: Lots of tidying/pruning of messy/defunct scripts.
 
 	* Creating spiresbib, util, and plotinfo rivet python module

Modified: trunk/include/Rivet/Particle.fhh
==============================================================================
--- trunk/include/Rivet/Particle.fhh	Thu Mar  7 12:04:48 2013	(r4209)
+++ trunk/include/Rivet/Particle.fhh	Thu Mar  7 12:59:39 2013	(r4210)
@@ -13,8 +13,9 @@
   // Forward declaration
   class Particle;
 
-  /// Typedef for a vector of Particle objects.
-  typedef std::vector<Particle> ParticleVector;
+  /// Typedefs for a vector of Particle objects.
+  typedef std::vector<Particle> Particles; //< New form, cf. Jets
+  typedef std::vector<Particle> ParticleVector; //< Old form
 
   /// Typedef for a pair of Particle objects.
   typedef std::pair<Particle, Particle> ParticlePair;


More information about the Rivet-svn mailing list