[Rivet-svn] rivet: Re-enable all binnedhisto analyses

Rivet Mercurial rivet at projects.hepforge.org
Fri Oct 6 18:00:03 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/c0927c9b5db6
branches:  multiweight
changeset: 6083:c0927c9b5db6
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Fri Oct 06 16:55:17 2017 +0100
description:
Re-enable all binnedhisto analyses

diffs (truncated from 28232 to 50 lines):

--- a/analyses/Makefile.am	Fri Oct 06 15:48:01 2017 +0100
+++ b/analyses/Makefile.am	Fri Oct 06 16:55:17 2017 +0100
@@ -21,7 +21,7 @@
 RivetHERAAnalyses.so : $(shell ls $(srcdir)/pluginHERA/*.cc)
 RivetLEPAnalyses.so  : $(shell ls $(srcdir)/pluginLEP/*.cc)
 RivetLHCbAnalyses.so : $(shell ls $(srcdir)/pluginLHCb/*.cc)
-## RivetLHCfAnalyses.so : $(shell ls $(srcdir)/pluginLHCf/*.cc)
+RivetLHCfAnalyses.so : $(shell ls $(srcdir)/pluginLHCf/*.cc)
 RivetMCAnalyses.so   : $(shell ls $(srcdir)/pluginMC/*.cc)
 RivetMiscAnalyses.so : $(shell ls $(srcdir)/pluginMisc/*.cc)
 RivetPetraAnalyses.so: $(shell ls $(srcdir)/pluginPetra/*.cc)
--- a/analyses/binnedhistopluginLHCf/LHCF_2012_I1115479.cc.binnedhisto	Fri Oct 06 15:48:01 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-// -*- C++ -*-
-#include "Rivet/Analysis.hh"
-#include "Rivet/Projections/UnstableFinalState.hh"
-#include "Rivet/Tools/BinnedHistogram.hh"
-
-namespace Rivet {
-
-
-  class LHCF_2012_I1115479 : public Analysis {
-  public:
-
-    LHCF_2012_I1115479()
-      : Analysis("LHCF_2012_I1115479")
-    {   }
-
-
-  public:
-
-    void init() {
-      declare(UnstableFinalState(),"UFS");
-
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram( 8.9,  9.0, book(tmp, 1, 1, 1));}
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram( 9.0,  9.2, book(tmp, 2, 1, 1));}
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram( 9.2,  9.4, book(tmp, 3, 1, 1));}
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram( 9.4,  9.6, book(tmp, 4, 1, 1));}
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram( 9.6, 10.0, book(tmp, 5, 1, 1));}
-      {Histo1DPtr tmp; _binnedHistos_y_pT.addHistogram(10.0, 11.0, book(tmp, 6, 1, 1));}
-    }
-
-
-    void analyze(const Event& event) {
-      const UnstableFinalState& ufs = apply<UnstableFinalState>(event, "UFS");
-
-      const double dphi = TWOPI;
-
-      foreach (const Particle& p, ufs.particles()) {


More information about the Rivet-svn mailing list