[Rivet-svn] rivet: 3 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Wed Apr 4 16:45:02 BST 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/c521419f1b58
branches:  release-2-6-x
changeset: 6268:c521419f1b58
user:      Jon Butterworth <j.butterworth at cern.ch>
date:      Wed Apr 04 16:31:07 2018 +0100
description:
CMS z+jets

details:   https://rivet.hepforge.org/hg/rivet/rev/f4b8247695aa
branches:  release-2-6-x
changeset: 6269:f4b8247695aa
user:      Jon Butterworth <j.butterworth at cern.ch>
date:      Wed Apr 04 16:35:00 2018 +0100
description:
CMS W+jet

details:   https://rivet.hepforge.org/hg/rivet/rev/b5113c02b171
branches:  release-2-6-x
changeset: 6270:b5113c02b171
user:      Jon Butterworth <j.butterworth at cern.ch>
date:      Wed Apr 04 16:36:59 2018 +0100
description:
another fix for pointer behavior of constituents

diffs (truncated from 1745 to 50 lines):

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/analyses/pluginCMS/CMS_2017_I1499471.cc	Wed Apr 04 16:36:59 2018 +0100
@@ -0,0 +1,295 @@
+#include "Rivet/Analysis.hh"
+#include "Rivet/Tools/Cuts.hh"
+#include "Rivet/Projections/FinalState.hh"
+#include "Rivet/Projections/VetoedFinalState.hh"
+#include "Rivet/Projections/DressedLeptons.hh"
+#include "Rivet/Projections/FastJets.hh"
+#include "Rivet/Projections/ZFinder.hh"
+
+//#define DebugLog 
+
+namespace Rivet {
+
+  class CMS_2017_I1499471 : public Analysis {
+  public:
+    
+    /// Constructor
+    DEFAULT_RIVET_ANALYSIS_CTOR(CMS_2017_I1499471);
+    
+    /// Book histograms and initialise projections before the run
+    void init() {
+
+#ifdef DebugLog
+      // set optionally the verbosity for the internal Rivet message system
+      getLog().setLevel(0);
+#endif      
+
+      FinalState fs; ///< @todo No cuts?
+      VisibleFinalState visfs(fs);
+
+      ZFinder zeeFinder(fs, Cuts::abseta < 2.4 && Cuts::pT > 20*GeV, PID::ELECTRON, 71.0*GeV, 111.0*GeV, 0.1 );
+      addProjection(zeeFinder, "ZeeFinder");
+
+      ZFinder zmumuFinder(fs, Cuts::abseta < 2.4 && Cuts::pT > 20*GeV, PID::MUON, 71.0*GeV, 111.0*GeV, 0.1 );
+      addProjection(zmumuFinder, "ZmumuFinder");
+
+      VetoedFinalState jetConstits(visfs);
+      jetConstits.addVetoOnThisFinalState(zeeFinder);
+      jetConstits.addVetoOnThisFinalState(zmumuFinder);
+
+      FastJets akt05Jets(jetConstits, FastJets::ANTIKT, 0.5);
+      addProjection(akt05Jets, "AntiKt05Jets");
+      
+      //Histograms booking
+      
+      _h_first_bjet_pt_b = bookHisto1D(1,1,1);
+      _h_first_bjet_abseta_b = bookHisto1D(3,1,1);
+      _h_Z_pt_b = bookHisto1D(5,1,1);


More information about the Rivet-svn mailing list