|
[Rivet-svn] rivet: Fix event weights logic. Always was 1.0Rivet Mercurial rivet at projects.hepforge.orgTue Dec 12 12:15:02 GMT 2017
details: https://rivet.hepforge.org/hg/rivet/rev/5b9656a32695 branches: changeset: 6170:5b9656a32695 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Tue Dec 12 12:11:08 2017 +0000 description: Fix event weights logic. Always was 1.0 diffs (13 lines): --- a/src/Core/Event.cc Tue Dec 12 09:23:23 2017 +0000 +++ b/src/Core/Event.cc Tue Dec 12 12:11:08 2017 +0000 @@ -6,9 +6,8 @@ namespace Rivet { - double Event::weight() const { - return genEvent()->weights().empty() ? _genevent.weights()[0] : 1.0; + return genEvent()->weights().empty() ? 1.0 : _genevent.weights()[0]; } double Event::centrality() const {
More information about the Rivet-svn mailing list |