[Rivet-svn] rivet: 3 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Fri Oct 27 17:45:02 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/6befb27fb44f
branches:  
changeset: 6119:6befb27fb44f
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Oct 19 05:42:49 2017 +0100
description:
Remove confusing -a/A short-options (long versions remain)

details:   https://rivet.hepforge.org/hg/rivet/rev/64d0bdb3500f
branches:  
changeset: 6120:64d0bdb3500f
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 27 15:48:35 2017 +0100
description:
Add missing pT (rather than Et) functions to SmearedMET, although they are just copies of the MET functions for now.

details:   https://rivet.hepforge.org/hg/rivet/rev/407716b5c84a
branches:  
changeset: 6121:407716b5c84a
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Oct 27 17:35:21 2017 +0100
description:
Add energy to the list of cuts (both as Cuts::E and Cuts::energy)

diffs (truncated from 195 to 50 lines):

--- a/ChangeLog	Thu Oct 26 17:37:20 2017 +0200
+++ b/ChangeLog	Fri Oct 27 17:35:21 2017 +0100
@@ -1,3 +1,10 @@
+2017-10-27  Andy Buckley  <andy.buckley at cern.ch>
+
+	* Add energy to the list of cuts (both as Cuts::E and Cuts::energy)
+
+	* Add missing pT (rather than Et) functions to SmearedMET,
+	although they are just copies of the MET functions for now.
+
 2017-10-09  Andy Buckley  <andy.buckley at cern.ch>
 
 	* Embed zstr and enable transparent reading of gzipped HepMC streams.
--- a/bin/rivet-mkhtml	Thu Oct 26 17:37:20 2017 +0200
+++ b/bin/rivet-mkhtml	Fri Oct 27 17:35:21 2017 +0100
@@ -93,9 +93,11 @@
                     help="only write out histograms whose $path/$name string matches any of these regexes")
 selgroup.add_option("-M", "--unmatch", action="append", dest="PATHUNPATTERNS", default=[],
                     help="exclude histograms whose $path/$name string matches any of these regexes")
-selgroup.add_option("-a", "--ana-match", action="append", dest="ANAPATTERNS", default=[],
+selgroup.add_option(#"-a", #< these were confusing, and -m should be enough
+                    "--ana-match", action="append", dest="ANAPATTERNS", default=[],
                     help="only write out histograms from analyses whose name matches any of these regexes")
-selgroup.add_option("-A", "--ana-unmatch", action="append", dest="ANAUNPATTERNS", default=[],
+selgroup.add_option(#"-A", #< these were confusing, and -M should be enough
+                    "--ana-unmatch", action="append", dest="ANAUNPATTERNS", default=[],
                     help="exclude histograms from analyses whose name matches any of these regexes")
 parser.add_option_group(selgroup)
 
--- a/include/Rivet/Projections/MissingMomentum.hh	Thu Oct 26 17:37:20 2017 +0200
+++ b/include/Rivet/Projections/MissingMomentum.hh	Fri Oct 27 17:35:21 2017 +0100
@@ -68,6 +68,7 @@
 
     /// @name Transverse momentum functions
     /// @note This may be what you want, even if the paper calls it "missing Et"!
+    /// @todo Move into a common base class for MissingMomentum and SmearedMET -- MomentumBalance, METFinder?
     //@{
 
     /// The vector-summed visible transverse momentum in the event, as a 3-vector with z=0
@@ -94,6 +95,7 @@
 
     /// @name Transverse energy functions
     /// @warning Despite the common names "MET" and "SET", what's often meant is the pT functions above!
+    /// @todo Move into a common base class for MissingMomentum and SmearedMET -- MomentumBalance, METFinder?
     //@{
 
     /// The vector-summed visible transverse energy in the event, as a 3-vector with z=0
--- a/include/Rivet/Projections/SmearedMET.hh	Thu Oct 26 17:37:20 2017 +0200
+++ b/include/Rivet/Projections/SmearedMET.hh	Fri Oct 27 17:35:21 2017 +0100
@@ -61,15 +61,55 @@


More information about the Rivet-svn mailing list