[Rivet-svn] rivet: if .. else if completeness fix, to calm warnings

Rivet Mercurial rivet at projects.hepforge.org
Thu May 25 16:15:02 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/3bc5353a4537
branches:  release-2-5-x
changeset: 5798:3bc5353a4537
user:      Andy Buckley <andy at insectnation.org>
date:      Thu May 25 16:09:07 2017 +0100
description:
if .. else if completeness fix, to calm warnings

diffs (11 lines):

--- a/src/Analyses/ATLAS_2016_I1426515.cc	Tue May 23 21:38:50 2017 +0100
+++ b/src/Analyses/ATLAS_2016_I1426515.cc	Thu May 25 16:09:07 2017 +0100
@@ -143,7 +143,7 @@
         lep1 = &good_el[0];
         lep2 = &good_mu[0];
       }
-      else if (channel == 4) { //mue
+      else { // if (channel == 4) { //mue
         lep1 = &good_mu[0];
         lep2 = &good_el[0];
       }


More information about the Rivet-svn mailing list