[Rivet-svn] rivet: Add MC_WEIGHTS analysis for plotting event weight distrib...

Rivet Mercurial rivet at projects.hepforge.org
Tue Oct 31 22:00:02 GMT 2017


details:   https://rivet.hepforge.org/hg/rivet/rev/f7a67d21e651
branches:  release-2-5-x
changeset: 6123:f7a67d21e651
user:      Frank Siegert <frank.siegert at cern.ch>
date:      Tue Oct 31 22:56:10 2017 +0100
description:
Add MC_WEIGHTS analysis for plotting event weight distributions.

diffs (truncated from 153 to 50 lines):

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/anainfo/MC_WEIGHTS.info	Tue Oct 31 22:56:10 2017 +0100
@@ -0,0 +1,12 @@
+Name: MC_WEIGHTS
+Summary: MC analysis for distributions of event weights
+Status: VALIDATED
+Authors:
+ - Frank Siegert <frank.siegert at cern.ch>
+RunInfo: Suitable for any process.
+NumEvents: 1000
+PtCuts: [0]
+Description:
+  Analysis for studying event weight distributions and fraction of events
+  with negative weights.
+NeedsCrossSection: no
--- a/data/anainfo/Makefile.am	Tue Sep 26 16:09:59 2017 +0200
+++ b/data/anainfo/Makefile.am	Tue Oct 31 22:56:10 2017 +0100
@@ -390,6 +390,7 @@
   MC_TAUS.info \
   MC_TTBAR.info \
   MC_VH2BB.info \
+  MC_WEIGHTS.info \
   MC_WINC.info \
   MC_WINC_EL.info \
   MC_WINC_MU.info \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/plotinfo/MC_WEIGHTS.plot	Tue Oct 31 22:56:10 2017 +0100
@@ -0,0 +1,16 @@
+# BEGIN PLOT /MC_WEIGHTS/.*weight.*
+Title=Event weight distribution
+XLabel=$w$
+YLabel=$1/N dN/dw$
+# END PLOT
+
+
+# BEGIN PLOT /MC_XS/xsfraction_neg
+Title=Negative weight fraction
+XLabel=
+YLabel=$\frac{\sum_{w_i<0} |w_i|}{\sum |w_i|}$
+LogY=0
+ShowZero=0
+XMajorTickMarks=20
+XMinorTickMarks=0
+# END PLOT
--- a/data/plotinfo/Makefile.am	Tue Sep 26 16:09:59 2017 +0200
+++ b/data/plotinfo/Makefile.am	Tue Oct 31 22:56:10 2017 +0100
@@ -378,6 +378,7 @@
   MC_TAUS.plot \
   MC_TTBAR.plot \
   MC_VH2BB.plot \


More information about the Rivet-svn mailing list