[Rivet-svn] rivet: 7 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Mon Apr 18 22:45:02 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/b0c8097984cb
branches:  
changeset: 5160:b0c8097984cb
user:      Andy Buckley <andy at insectnation.org>
date:      Sun Apr 17 17:04:53 2016 +0100
description:
Move several Particle function implementations into .cc, add protection against null GenVertex pointers, and add a charge3 method as the preferred way to get the 3-charge of a particle

details:   https://rivet.hepforge.org/hg/rivet/rev/d26f4c9ef3be
branches:  
changeset: 5161:d26f4c9ef3be
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 12:26:14 2016 +0100
description:
Add mkObjectTransform and mkFrameTransform factory methods to LorentzTransform.

details:   https://rivet.hepforge.org/hg/rivet/rev/a9912ac4f520
branches:  
changeset: 5162:a9912ac4f520
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 12:26:21 2016 +0100
description:
Add transformBy(LT) methods to Particle and Jet.

details:   https://rivet.hepforge.org/hg/rivet/rev/e81fbcd1fbbe
branches:  
changeset: 5163:e81fbcd1fbbe
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 12:31:45 2016 +0100
description:
Move Particle and Jet transformBy(LT) method implementations to .cc files (and fix a bug in the Jet one).

details:   https://rivet.hepforge.org/hg/rivet/rev/7e7a541bc4f8
branches:  
changeset: 5164:7e7a541bc4f8
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 13:34:10 2016 +0100
description:
Merge with 2.4.x

details:   https://rivet.hepforge.org/hg/rivet/rev/2ac9f54bee51
branches:  
changeset: 5165:2ac9f54bee51
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 13:48:53 2016 +0100
description:
Improve debug printout in smearing projections

details:   https://rivet.hepforge.org/hg/rivet/rev/f81ae7892095
branches:  
changeset: 5166:f81ae7892095
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Apr 18 22:32:59 2016 +0100
description:
Removed tag rivet-2.5.0beta1

diffs (truncated from 579 to 50 lines):

--- a/.hgtags	Mon Apr 18 18:12:44 2016 +0100
+++ b/.hgtags	Mon Apr 18 22:32:59 2016 +0100
@@ -75,3 +75,5 @@
 0000000000000000000000000000000000000000 rivet-2.5.0beta1
 0000000000000000000000000000000000000000 rivet-2.5.0beta1
 46b78966c60f33a8b394010587b8539ade6fcf1e rivet-2.5.0beta1
+46b78966c60f33a8b394010587b8539ade6fcf1e rivet-2.5.0beta1
+0000000000000000000000000000000000000000 rivet-2.5.0beta1
--- a/ChangeLog	Mon Apr 18 18:12:44 2016 +0100
+++ b/ChangeLog	Mon Apr 18 22:32:59 2016 +0100
@@ -1,3 +1,13 @@
+2016-04-18  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add transformBy(LT) methods to Particle and Jet.
+
+	* Add mkObjectTransform and mkFrameTransform factory methods to LorentzTransform.
+
+2016-04-17  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add null GenVertex protection in Particle children & descendants methods.
+
 2016-04-15  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Add ATLAS_2015_I1397637, ATLAS 8 TeV boosted top cross-section vs. pT
--- a/include/Rivet/Jet.hh	Mon Apr 18 18:12:44 2016 +0100
+++ b/include/Rivet/Jet.hh	Mon Apr 18 22:32:59 2016 +0100
@@ -8,7 +8,7 @@
 #include "Rivet/Cuts.hh"
 #include "Rivet/Tools/ParticleUtils.hh"
 #include "Rivet/Tools/RivetFastJet.hh"
-// #include "fastjet/PseudoJet.hh"
+#include "Rivet/Math/LorentzTrans.hh"
 #include <numeric>
 
 namespace Rivet {
@@ -51,14 +51,14 @@
     size_t size() const { return _particles.size(); }
 
     /// Get the particles in this jet.
-    vector<Particle>& particles() { return _particles; }
+    Particles& particles() { return _particles; }
     /// Get the particles in this jet (const version)
     const vector<Particle>& particles() const { return _particles; }
 
     /// Get the particles in this jet (FastJet-like alias)
-    vector<Particle>& constituents() { return particles(); }
+    Particles& constituents() { return particles(); }
     /// Get the particles in this jet (FastJet-like alias, const version)
-    const vector<Particle>& constituents() const { return particles(); }
+    const Particles& constituents() const { return particles(); }


More information about the Rivet-svn mailing list