[Rivet-svn] rivet: Disable remaining binned histo analyses

Rivet Mercurial rivet at projects.hepforge.org
Tue Sep 12 12:00:03 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/394174395864
branches:  multiweight
changeset: 6016:394174395864
user:      David Grellscheid <david.grellscheid at durham.ac.uk>
date:      Tue Sep 12 11:59:34 2017 +0100
description:
Disable remaining binned histo analyses

diffs (truncated from 19297 to 50 lines):

--- a/analyses/Makefile.am	Tue Sep 12 10:57:51 2017 +0100
+++ b/analyses/Makefile.am	Tue Sep 12 11:59:34 2017 +0100
@@ -21,7 +21,7 @@
 RivetHERAAnalyses.so: $(wildcard pluginHERA/*.cc)
 RivetLEPAnalyses.so: $(wildcard pluginLEP/*.cc)
 RivetLHCbAnalyses.so: $(wildcard pluginLHCb/*.cc)
-RivetLHCfAnalyses.so: $(wildcard pluginLHCf/*.cc)
+## RivetLHCfAnalyses.so: $(wildcard pluginLHCf/*.cc)
 RivetMCAnalyses.so: $(wildcard pluginMC/*.cc)
 RivetMiscAnalyses.so: $(wildcard pluginMisc/*.cc)
 RivetPetraAnalyses.so: $(wildcard pluginPetra/*.cc)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/analyses/binnedhistopluginLHCf/LHCF_2012_I1115479.cc.binnedhisto	Tue Sep 12 11:59:34 2017 +0100
@@ -0,0 +1,64 @@
+// -*- 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