[Rivet-svn] hg-notifications/rivet: removed some unused variables to get rid...

Rivet Mercurial rivet at projects.hepforge.org
Thu Jul 19 13:45:02 BST 2018


details:   https://rivet.hepforge.org/hg/hg-notifications/rivet/rev/6e894fc6e0aa
branches:  release-2-6-x
changeset: 6378:6e894fc6e0aa
user:      Christian Gutschow <chris.g at cern.ch>
date:      Thu Jul 19 14:30:35 2018 +0200
description:
removed some unused variables to get rid of a couple of warnings

diffs (31 lines):

--- a/analyses/pluginATLAS/ATLAS_2012_I1094061.cc	Fri Jul 13 17:05:10 2018 +0100
+++ b/analyses/pluginATLAS/ATLAS_2012_I1094061.cc	Thu Jul 19 14:30:35 2018 +0200
@@ -67,7 +67,7 @@
     /// Constructor
     ATLAS_2012_I1094061()
       : Analysis("ATLAS_2012_I1094061"),
-        _minpT(100.*MeV), _etaMax(2.5), _nVersions(5), _version(0),
+        _minpT(100.*MeV), _nVersions(5), _version(0),
         _etaCut(2.), _phiCut(0.5*M_PI),
         _historyInclusive(_nVersions, ParticleVector()), _historyN20(_nVersions, ParticleVector()),
         _historyInclusiveWgts(_nVersions, 0.), _historyN20Wgts(_nVersions, 0.),
@@ -242,7 +242,7 @@
   private:
 
     /// Cut values
-    double _minpT, _etaMax;
+    double _minpT;
 
     /// History versions
     size_t _nVersions, _version;
--- a/analyses/pluginCMS/CMS_2016_I1491953.cc	Fri Jul 13 17:05:10 2018 +0100
+++ b/analyses/pluginCMS/CMS_2016_I1491953.cc	Thu Jul 19 14:30:35 2018 +0200
@@ -112,7 +112,7 @@
       //double WmT = sqrt( 2 * lepton0.pT() * neutrino.pT() * (1 - cos(deltaPhi(lepton0, neutrino))) );
 
       const FourMomentum& lepton0 = wfinder_mu.constituentLepton().momentum();
-      const FourMomentum& neutrino = wfinder_mu.constituentNeutrino().momentum();
+      //const FourMomentum& neutrino = wfinder_mu.constituentNeutrino().momentum();
       double WmT = wfinder_mu.mT();
 
       if (WmT < 50.0*GeV) vetoEvent;


More information about the Rivet-svn mailing list