[Rivet-svn] rivet: Added Lumi field to AnalysisInfo

Rivet Mercurial rivet at projects.hepforge.org
Thu Sep 29 16:15:01 BST 2016


details:   https://rivet.hepforge.org/hg/rivet/rev/43aaa0444e3e
branches:  release-2-5-x
changeset: 5542:43aaa0444e3e
user:      Holger Schulz <holger.schulz at durham.ac.uk>
date:      Thu Sep 29 16:08:15 2016 +0100
description:
Added Lumi field to AnalysisInfo

diffs (truncated from 124 to 50 lines):

--- a/ChangeLog	Wed Sep 28 09:52:03 2016 +0200
+++ b/ChangeLog	Thu Sep 29 16:08:15 2016 +0100
@@ -1,3 +1,9 @@
+2016-09-29  Holger Schulz  <holger.schulz at cern.ch>
+
+	* Add Luminosity_fb to AnalysisInfo
+
+	* Added some keywords and Lumi to ATLAS_2016_I1458270
+
 2016-09-28  Frank Siegert  <frank.siegert at cern.ch>
 
        * make-plots bugfix in y-axis labels for RatioPlotMode=deviation
--- a/bin/rivet	Wed Sep 28 09:52:03 2016 +0200
+++ b/bin/rivet	Thu Sep 29 16:08:15 2016 +0100
@@ -281,6 +281,8 @@
                     if opts.LOGLEVEL < logging.INFO:
                         if a.keywords():
                             msg += "  [" + " ".join(a.keywords()) + "]"
+                        if a.luminosityfb():
+                            msg += "  [ \int L = %s fb^{-1} ]"%a.luminosityfb()
                 print msg
                 #os.write(tf, msg + "\n")
         # if os.path.getsize(tfpath) > 0:
@@ -390,6 +392,9 @@
             for l in ana.runInfo().split("\n"):
                 msg += twrap.fill(l) + "\n"
 
+        if ana.luminosityfb():
+            msg+= "\nIntegrated data luminosity = %s inverse fb.\n"%ana.luminosityfb()
+
         if ana.keywords():
             msg += "\nAnalysis keywords:"
             for k in ana.keywords():
--- a/data/anainfo/ATLAS_2016_I1458270.info	Wed Sep 28 09:52:03 2016 +0200
+++ b/data/anainfo/ATLAS_2016_I1458270.info	Thu Sep 29 16:08:15 2016 +0100
@@ -11,8 +11,13 @@
 - 'Eur.Phys.J. C76 (2016) no.7, 392'
 - 'DOI:10.1140/epjc/s10052-016-4184-8'
 - 'arXiv:1605.03814'
+Keywords:
+ - susy
+ - 0lepton
+ - met
 RunInfo: 'BSM signal events'
 NumEvents: 10000
+Luminosity_fb: 3.2
 NeedCrossSection: no
 Beams: [p+, p+]
 Energies: [13000]
--- a/include/Rivet/Analysis.hh	Wed Sep 28 09:52:03 2016 +0200


More information about the Rivet-svn mailing list