[Rivet-svn] rivet: 3 new changesets

Rivet Mercurial rivet at projects.hepforge.org
Fri Jan 26 15:30:01 GMT 2018


details:   https://rivet.hepforge.org/hg/rivet/rev/52c74d0f3084
branches:  release-2-6-x
changeset: 6220:52c74d0f3084
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Jan 26 15:26:41 2018 +0000
description:
Tidying

details:   https://rivet.hepforge.org/hg/rivet/rev/4c2b2ff2e0e3
branches:  release-2-6-x
changeset: 6221:4c2b2ff2e0e3
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Jan 26 15:27:32 2018 +0000
description:
Indent fix

details:   https://rivet.hepforge.org/hg/rivet/rev/a651eafc107e
branches:  release-2-6-x
changeset: 6222:a651eafc107e
user:      Andy Buckley <andy at insectnation.org>
date:      Fri Jan 26 15:28:04 2018 +0000
description:
Adding PERFECT smearing function aliases for IDENTITY functions

diffs (truncated from 199 to 50 lines):

--- a/analyses/pluginCMS/CMS_2016_I1459051.cc	Thu Jan 25 23:17:03 2018 +0000
+++ b/analyses/pluginCMS/CMS_2016_I1459051.cc	Fri Jan 26 15:28:04 2018 +0000
@@ -70,11 +70,11 @@
 
     // Finalize
     void finalize() {
-      /// @todo What is the cross-section unit?
-      _hist_sigmaAK4.scale(crossSection()/sumOfWeights()/2.0, this);
-      _hist_sigmaAK7.scale(crossSection()/sumOfWeights()/2.0, this);
-      scale(_hist_sigmaAK4Forward,crossSection()/sumOfWeights()/3.0);
-      scale(_hist_sigmaAK7Forward,crossSection()/sumOfWeights()/3.0);
+      /// @note Extra division factor is the *signed* dy, i.e. 2*d|y|
+      _hist_sigmaAK4.scale(crossSection()/picobarn/sumOfWeights()/2.0, this);
+      _hist_sigmaAK7.scale(crossSection()/picobarn/sumOfWeights()/2.0, this);
+      scale(_hist_sigmaAK4Forward,crossSection()/picobarn/sumOfWeights()/3.0);
+      scale(_hist_sigmaAK7Forward,crossSection()/picobarn/sumOfWeights()/3.0);
     }
 
 
--- a/analyses/pluginCMS/CMS_2016_I1459051.plot	Thu Jan 25 23:17:03 2018 +0000
+++ b/analyses/pluginCMS/CMS_2016_I1459051.plot	Fri Jan 26 15:28:04 2018 +0000
@@ -9,6 +9,7 @@
 RatioPlotYMax=2
 RatioPlotYMin=0.1
 # END PLOT
+
 # BEGIN PLOT /CMS_2016_I1459051/d02-x01-y01
 Title=CMS, $\sqrt(s)$ = 13 TeV, Inclusive AK7 jets, $0.5 < |y| < 1.0$
 XLabel=$p_{T}$ [GeV]
@@ -20,6 +21,7 @@
 RatioPlotYMax=2
 RatioPlotYMin=0.1
 # END PLOT
+
 # BEGIN PLOT /CMS_2016_I1459051/d03-x01-y01
 Title=CMS, $\sqrt(s)$ = 13 TeV, Inclusive AK7 jets, $1.0 < |y| < 1.5$
 XLabel=$p_{T}$ [GeV]
@@ -31,6 +33,7 @@
 RatioPlotYMax=2
 RatioPlotYMin=0.1
 # END PLOT
+
 # BEGIN PLOT /CMS_2016_I1459051/d04-x01-y01
 Title=CMS, $\sqrt(s)$ = 13 TeV, Inclusive AK7 jets, $1.5 < |y| < 2.0$
 XLabel=$p_{T}$ [GeV]
@@ -42,6 +45,7 @@
 RatioPlotYMax=2
 RatioPlotYMin=0.1
 # END PLOT
+


More information about the Rivet-svn mailing list