[Rivet-svn] rivet: warning fix

Rivet Mercurial rivet at projects.hepforge.org
Mon Apr 18 18:15:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/0775844812cd
branches:  
changeset: 5159:0775844812cd
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Mon Apr 18 18:12:44 2016 +0100
description:
warning fix

diffs (11 lines):

--- a/src/Analyses/EXAMPLE_SMEAR.cc	Sat Apr 16 22:27:26 2016 +0100
+++ b/src/Analyses/EXAMPLE_SMEAR.cc	Mon Apr 18 18:12:44 2016 +0100
@@ -41,7 +41,7 @@
                       [](const Jet& j){ return 0.8; });
       addProjection(sj3, "Jets3");
 
-      IdentifiedFinalState photons(Cuts::abseta < 5, {{PID::PHOTON}});
+      IdentifiedFinalState photons(Cuts::abseta < 5, PID::PHOTON);
 
       IdentifiedFinalState truthelectrons(Cuts::abseta < 5 && Cuts::pT > 10*GeV, {{PID::ELECTRON, PID::POSITRON}});
       addProjection(truthelectrons, "Electrons0");


More information about the Rivet-svn mailing list