[Rivet-svn] rivet: Remove unused old mt2_bisect code

Rivet Mercurial rivet at projects.hepforge.org
Thu May 24 10:45:02 BST 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/6150b6cf9cf9
branches:  release-2-6-x
changeset: 6314:6150b6cf9cf9
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Thu May 24 10:41:13 2018 +0100
description:
Remove unused old mt2_bisect code

diffs (truncated from 806 to 50 lines):

--- a/src/Tools/Makefile.am	Thu May 24 10:14:54 2018 +0100
+++ b/src/Tools/Makefile.am	Thu May 24 10:41:13 2018 +0100
@@ -13,8 +13,7 @@
   RivetPaths.cc \
   Utils.cc \
   binreloc.c
-#  mt2_bisect.cc
 
-dist_noinst_HEADERS = binreloc.h lester_mt2_bisect.hh mt2_bisect.hh
+dist_noinst_HEADERS = binreloc.h lester_mt2_bisect.hh
 
 libRivetTools_la_CPPFLAGS = $(AM_CPPFLAGS) -DENABLE_BINRELOC -DDEFAULTDATADIR=\"$(datadir)\" -DDEFAULTLIBDIR=\"$(libdir)\"
--- a/src/Tools/RivetMT2.cc	Thu May 24 10:14:54 2018 +0100
+++ b/src/Tools/RivetMT2.cc	Thu May 24 10:41:13 2018 +0100
@@ -1,27 +1,11 @@
 #include "Rivet/Tools/RivetMT2.hh"
 #include "Rivet/Math/Vector4.hh"
 #include "lester_mt2_bisect.hh"
-//#include "mt2_bisect.hh"
 
 namespace Rivet {
-  // namespace mT2 {
-
-
-    // double mT2(const FourMomentum & a, const FourMomentum & b,
-    //            const FourMomentum & pTmiss, double invisiblesMass) {
-    //   mt2_bisect::mt2 mt2_event;
-    //   double unused = -999.999;
-    //   double pa[3]    = { 0.0, a.x(), a.y() };
-    //   double pb[3]    = { 0.0, b.x(), b.y() };
-    //   double pmiss[3] = { unused, pTmiss.x(), pTmiss.y() };
-    //   mt2_event.set_momenta( pa, pb, pmiss );
-    //   mt2_event.set_mn( invisiblesMass );
-    //   return mt2_event.get_mt2();
-    // }
 
     double mT2Sq(const FourMomentum& a, const FourMomentum& b, const Vector3& ptmiss,
                  double invisiblesMass, double invisiblesMass2) {
-      //asymm_mt2_lester_bisect::disableCopyrightMessage();
       return asymm_mt2_lester_bisect::get_mT2_Sq(a.mass(), a.px(), a.py(),
                                                  b.mass(), b.px(), b.py(),
                                                  ptmiss.x(), ptmiss.y(),
@@ -29,7 +13,5 @@
                                                  (invisiblesMass2 < 0 ? invisiblesMass : invisiblesMass2),
                                                  0.0, true);
     }
-
-
-  // }
+    


More information about the Rivet-svn mailing list