[Rivet-svn] rivet: 5 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Thu Jun 29 15:15:02 BST 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/68013a1367cf
branches:  
changeset: 5934:68013a1367cf
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Jun 29 12:13:08 2017 +0100
description:
Add headers to acceptance columns

details:   https://rivet.hepforge.org/hg/rivet/rev/5be606c8f9ee
branches:  
changeset: 5935:5be606c8f9ee
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Jun 29 12:13:29 2017 +0100
description:
Code tweaks

details:   https://rivet.hepforge.org/hg/rivet/rev/3fe780a5bcab
branches:  
changeset: 5936:3fe780a5bcab
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Jun 29 12:13:34 2017 +0100
description:
DOS -> Unix

details:   https://rivet.hepforge.org/hg/rivet/rev/0a80a913d73c
branches:  
changeset: 5937:0a80a913d73c
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Jun 29 13:57:14 2017 +0100
description:
Add STL tuple header to RivetSTL.hh

details:   https://rivet.hepforge.org/hg/rivet/rev/2769da0ff5dc
branches:  
changeset: 5938:2769da0ff5dc
user:      Andy Buckley <andy at insectnation.org>
date:      Thu Jun 29 15:06:36 2017 +0100
description:
Make binIndex container-generic

diffs (truncated from 1379 to 50 lines):

--- a/analyses/pluginATLAS/ATLAS_2015_I1393758.cc	Wed Jun 28 21:11:00 2017 +0100
+++ b/analyses/pluginATLAS/ATLAS_2015_I1393758.cc	Thu Jun 29 15:06:36 2017 +0100
@@ -1,143 +1,143 @@
-#include "Rivet/Analysis.hh"
-#include "Rivet/Projections/FinalState.hh"
-#include "Rivet/Projections/FastJets.hh"
-
-namespace Rivet {
-
-  class ATLAS_2015_I1393758 : public Analysis {
-
-  public:
-  
-    /// Constructor
-    DEFAULT_RIVET_ANALYSIS_CTOR(ATLAS_2015_I1393758);
-  
-  public:
-
-    void init() {
-
-      addProjection(FastJets(FinalState(), FastJets::ANTIKT, 0.4), "Jets");
-
-      forward_kappa3 = bookProfile1D(1, 1, 1);
-      forward_kappa5 = bookProfile1D(2, 1, 1);
-      forward_kappa7 = bookProfile1D(3, 1, 1);
-
-      central_kappa3 = bookProfile1D(4, 1, 1);
-      central_kappa5 = bookProfile1D(5, 1, 1);
-      central_kappa7 = bookProfile1D(6, 1, 1);
-
-      forwardRMS_kappa3 = bookScatter2D("d07-x01-y01", true);
-      forwardRMS_kappa5 = bookScatter2D("d08-x01-y01", true);
-      forwardRMS_kappa7 = bookScatter2D("d09-x01-y01", true);
-
-      centralRMS_kappa3 = bookScatter2D("d10-x01-y01", true);
-      centralRMS_kappa5 = bookScatter2D("d11-x01-y01", true);
-      centralRMS_kappa7 = bookScatter2D("d12-x01-y01", true);
-
-    }
-  
-    /// Perform the per-event analysis
-    void analyze(const Event& event) {
-      const double weight = event.weight();
-      
-      Jets m_goodJets = applyProjection<JetAlg>(event, "Jets").jetsByPt(Cuts::pT > 25*GeV && Cuts::abseta < 2.1);
-
-      if (m_goodJets.size() < 2)        vetoEvent;
-      if (m_goodJets[0].pT() < 50*GeV)  vetoEvent;
-      if (m_goodJets[1].pT() < 50*GeV)  vetoEvent;
-      if (fabs(1.0 - m_goodJets[0].pT()/m_goodJets[1].pT()) > 0.5)  vetoEvent;


More information about the Rivet-svn mailing list