[Rivet-svn] rivet: Fix 'No projections registered for parent' (apply without...

Rivet Mercurial rivet at projects.hepforge.org
Tue Jul 19 22:00:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/fc0047fb4d90
branches:  release-2-5-x
changeset: 5316:fc0047fb4d90
user:      Holger Schulz <holger.schulz at durham.ac.uk>
date:      Tue Jul 19 21:50:26 2016 +0100
description:
Fix 'No projections registered for parent' (apply without declare)

diffs (13 lines):

--- a/src/Analyses/BABAR_2005_S6181155.cc	Mon Jul 18 21:52:28 2016 +0100
+++ b/src/Analyses/BABAR_2005_S6181155.cc	Tue Jul 19 21:50:26 2016 +0100
@@ -13,7 +13,9 @@
 
     BABAR_2005_S6181155()
       : Analysis("BABAR_2005_S6181155")
-    { }
+    {
+      declare(Beam(), "Beams");
+    }
 
 
     void analyze(const Event& e) {


More information about the Rivet-svn mailing list