[Rivet-svn] rivet: 4 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Mon Feb 29 14:45:02 GMT 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/d6080c43eca1
branches:  release-2-4-x
changeset: 4995:d6080c43eca1
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Feb 29 12:28:46 2016 +0000
description:
Add analyze(const GenEvent*) and analysis(string&) methods to AnalysisHandler, plus some docstring improvements.

details:   https://rivet.hepforge.org/hg/rivet/rev/b7a1385cce21
branches:  release-2-4-x
changeset: 4996:b7a1385cce21
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Feb 29 13:08:04 2016 +0000
description:
Add new preferred name PID::charge3 in place of PID::threeCharge, and also convenience PID::abscharge and PID::abscharge3 functions -- all derived from changes in external HEPUtils.

details:   https://rivet.hepforge.org/hg/rivet/rev/c63f61c1e6a4
branches:  release-2-4-x
changeset: 4997:c63f61c1e6a4
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Feb 29 13:15:43 2016 +0000
description:
Version bump to 2.4.1

details:   https://rivet.hepforge.org/hg/rivet/rev/5196fcfc1645
branches:  release-2-4-x
changeset: 4998:5196fcfc1645
user:      Andy Buckley <andy at insectnation.org>
date:      Mon Feb 29 13:34:52 2016 +0000
description:
Add FastJets::trimJet method, thanks to James Monk for the suggestion and patch.

diffs (truncated from 299 to 50 lines):

--- a/ChangeLog	Tue Feb 23 21:54:30 2016 +0000
+++ b/ChangeLog	Mon Feb 29 13:34:52 2016 +0000
@@ -1,3 +1,16 @@
+2016-02-29  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add FastJets::trimJet method, thanks to James Monk for the
+	suggestion and patch.
+
+	* Add new preferred name PID::charge3 in place of
+	PID::threeCharge, and also convenience PID::abscharge and
+	PID::abscharge3 functions -- all derived from changes in external
+	HEPUtils.
+
+	* Add analyze(const GenEvent*) and analysis(string&) methods to
+	AnalysisHandler, plus some docstring improvements.
+
 2016-02-23  Andy Buckley  <andy.buckley at cern.ch>
 
 	* New ATLAS_2015_I1394679 analysis.
--- a/configure.ac	Tue Feb 23 21:54:30 2016 +0000
+++ b/configure.ac	Mon Feb 29 13:34:52 2016 +0000
@@ -1,7 +1,7 @@
 ## Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([Rivet],[2.4.0],[rivet at projects.hepforge.org],[Rivet])
+AC_INIT([Rivet],[2.4.1],[rivet at projects.hepforge.org],[Rivet])
 
 ## Check and block installation into the src/build dir
 if test "$prefix" = "$PWD"; then
--- a/include/Rivet/AnalysisHandler.hh	Tue Feb 23 21:54:30 2016 +0000
+++ b/include/Rivet/AnalysisHandler.hh	Mon Feb 29 13:34:52 2016 +0000
@@ -122,29 +122,35 @@
       return _analyses;
     }
 
-    /// Add an analysis to the run list using its name. The actual Analysis
-    /// to be used will be obtained via AnalysisHandler::getAnalysis(string).
-    /// If no matching analysis is found, no analysis is added (i.e. the
-    /// null pointer is checked and discarded.
+    /// Get a registered analysis by name.
+    const AnaHandle analysis(const std::string& analysisname) const;
+
+
+    /// Add an analysis to the run list by object
+    AnalysisHandler& addAnalysis(Analysis* analysis);
+
+    /// @brief Add an analysis to the run list using its name.
+    ///
+    /// The actual Analysis to be used will be obtained via


More information about the Rivet-svn mailing list