[Rivet] XCustomMajorTicks broken?

Jonathan Butterworth J.Butterworth at ucl.ac.uk
Wed Jun 1 18:32:33 BST 2016


Hi all,

I am having trouble with making the XCustomMajorTicks option work. I'm 
using rivet 2.4.2 and yoda 1.5.9 on sl6 (python 2.6.6)

This used to work. The yoda file and plot file that I'm struggling with 
are attached.

For me, the first two plots have no labels, despite the .plot file 
specifying them. All the other options work fine as far as I can see.

Grateful for any help.
Cheers,
Jon


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Prof. Jonathan Butterworth,              http://www.hep.ucl.ac.uk/~jmb/
Head, Physics and Astronomy Department            Tel: +44 20 7679 3444
University College London                 Gower St, London WC1E 6BT, UK
ATLAS, CERN                                       Tel: +41 22 76  72340
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d01-x01-y01
Path=/ATLAS_2013_I1219109/d01-x01-y01
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 2.250000e+00
# Area: 1.695199e+00
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	1.695199e+00	7.184246e-01	3.814197e+00	9.747392e+00	4
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
5.000000e-01	1.500000e+00	4.237997e-01	1.796062e-01	4.237997e-01	4.237997e-01	1
1.500000e+00	2.500000e+00	4.237997e-01	1.796062e-01	8.475993e-01	1.695199e+00	1
2.500000e+00	3.500000e+00	8.475993e-01	3.592123e-01	2.542798e+00	7.628394e+00	2
END YODA_HISTO1D

BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d01-x01-y02
Path=/ATLAS_2013_I1219109/d01-x01-y02
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 2.250000e+00
# Area: 1.695199e+00
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	1.695199e+00	7.184246e-01	3.814197e+00	9.747392e+00	4
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
5.000000e-01	1.500000e+00	4.237997e-01	1.796062e-01	4.237997e-01	4.237997e-01	1
1.500000e+00	2.500000e+00	4.237997e-01	1.796062e-01	8.475993e-01	1.695199e+00	1
2.500000e+00	3.500000e+00	8.475993e-01	3.592123e-01	2.542798e+00	7.628394e+00	2
END YODA_HISTO1D

BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d02-x01-y01
Path=/ATLAS_2013_I1219109/d02-x01-y01
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 4.089373e+01
# Area: 4.237997e-01
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	4.237997e-01	1.796062e-01	1.733075e+01	7.087191e+02	1
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
2.500000e+01	3.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
3.000000e+01	4.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
4.000000e+01	6.000000e+01	4.237997e-01	1.796062e-01	1.733075e+01	7.087191e+02	1
6.000000e+01	1.400000e+02	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
END YODA_HISTO1D

BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d02-x01-y02
Path=/ATLAS_2013_I1219109/d02-x01-y02
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 4.089373e+01
# Area: 4.237997e-01
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	4.237997e-01	1.796062e-01	1.733075e+01	7.087191e+02	1
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
2.500000e+01	3.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
3.000000e+01	4.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
4.000000e+01	6.000000e+01	4.237997e-01	1.796062e-01	1.733075e+01	7.087191e+02	1
6.000000e+01	1.400000e+02	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
END YODA_HISTO1D

BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d03-x01-y01
Path=/ATLAS_2013_I1219109/d03-x01-y01
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 3.855502e+01
# Area: 4.237997e-01
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	4.237997e-01	1.796062e-01	1.633960e+01	6.299738e+02	1
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
2.500000e+01	3.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
3.000000e+01	4.000000e+01	4.237997e-01	1.796062e-01	1.633960e+01	6.299738e+02	1
4.000000e+01	6.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
6.000000e+01	1.400000e+02	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
END YODA_HISTO1D

BEGIN YODA_HISTO1D /ATLAS_2013_I1219109/d03-x01-y02
Path=/ATLAS_2013_I1219109/d03-x01-y02
ScaledBy=0.42379967242776495
Title=
Type=Histo1D
XLabel=
YLabel=
# Mean: 3.972438e+01
# Area: 8.475993e-01
# ID	 ID	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
Total   	Total   	8.475993e-01	3.592123e-01	3.367036e+01	1.338693e+03	2
Underflow	Underflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
Overflow	Overflow	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
# xlow	 xhigh	 sumw	 sumw2	 sumwx	 sumwx2	 numEntries
2.500000e+01	3.000000e+01	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
3.000000e+01	4.000000e+01	4.237997e-01	1.796062e-01	1.633960e+01	6.299738e+02	1
4.000000e+01	6.000000e+01	4.237997e-01	1.796062e-01	1.733075e+01	7.087191e+02	1
6.000000e+01	1.400000e+02	0.000000e+00	0.000000e+00	0.000000e+00	0.000000e+00	0
END YODA_HISTO1D

BEGIN YODA_COUNTER /_EVTCOUNT
Path=/_EVTCOUNT
Title=
Type=Counter
# sumW	 sumW2	 numEntries
1.000000e+04	1.000000e+04	10000
END YODA_COUNTER

BEGIN YODA_SCATTER1D /_XSEC
Path=/_XSEC
Title=
Type=Scatter1D
# xval	 xerr-	 xerr+
4.237997e+03	1.932312e+01	1.932312e+01
END YODA_SCATTER1D

-------------- next part --------------
# BEGIN PLOT /ATLAS_2013_I1219109/d..-x..-y..
LogY=1
LegendYPos=0.90
LegendXPos=0.75
XTwosidedTicks=1
YTwosidedTicks=1
ErrorBars=1
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d01-x01-y01
LogY=0
LegendXPos=0.20
YLabel=$\sigma_\text{fiducial}$ [pb]
XMinorTickMarks=0
XCustomMajorTicks=1	1 jet	2	2 jet	3	1+2 jet
Title=electron channel, dressed level, top-subtracted data
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d01-x01-y02
LogY=0
LegendXPos=0.20
YLabel=$\sigma_\text{fiducial}$ [pb]
XMinorTickMarks=0
XCustomMajorTicks=1	1 jet	2	2 jet	3	1+2 jet
Title=electron channel, dressed level, unsubtracted
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d02-x01-y01
Title=$N_\text{jet} = 1$, electron channel, dressed level, top-subtracted data
LeftMargin=1.5
XLabel=b-jet $p_\text{T}$ [GeV]
YLabel=$\text{d}\sigma / \text{d} p_\text{T}^\text{b-jet}$ [pb/GeV]
Title=electron channel, dressed level, top-subtracted data
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d02-x01-y02
Title=$N_\text{jet} = 1$, electron channel, dressed level, top-subtracted data
LeftMargin=1.5
XLabel=b-jet $p_\text{T}$ [GeV]
YLabel=$\text{d}\sigma / \text{d} p_\text{T}^\text{b-jet}$ [pb/GeV]
Title=electron channel, dressed level, unsubtracted
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d03-x01-y01
Title=$N_\text{jet} = 2$, electron channel, dressed level, top-subtracted data
RatioPlotYMax=1.6
RatioPlotYMin=0.4
XLabel=b-jet $p_\text{T}$ [GeV]
YLabel=$\text{d}\sigma / \text{d} p_\text{T}^\text{b-jet}$ [pb/GeV]
# END PLOT

# BEGIN PLOT /ATLAS_2013_I1219109/d03-x01-y02
XLabel=b-jet $p_\text{T}$ [GeV]
YLabel=$\text{d}\sigma / \text{d} p_\text{T}^\text{b-jet}$ [pb/GeV]
Title=$N_\text{jet} = 2$, electron channel, dressed level, unsubtracted
# END PLOT

-------------- next part --------------
Name: ATLAS_2013_I1219109
Year: 2013
Summary: W + b production at 7 TeV
Experiment: ATLAS
Collider: LHC
InspireID: 1219109
Status: VALIDATED
Authors:
 - Christian Gutschow <chris.g at cern.ch>
 - Jon Butterworth <j.butterworth at cern.ch>
References:
 - JHEP 1306 (2013) 084
 - doi:10.1007/JHEP06(2013)084
 - arXiv:1302.2929 [hep-ex]
RunInfo:
  W+b in the electron channel
NumEvents: 1000000
Beams: [p+, p+]
Energies: [7000]
PtCuts: [25,25]
NeedCrossSection: True
Description:
  Measurements of the W+b-jets ($W+b+X$ and $W+b\bar{b}+X$) production cross-section in proton-proton collisions at a
  centre-of-mass energy of 7 TeV at the LHC. These results are based on data corresponding to an integrated luminosity of 
  4.6~fb$^{-1}$, collected with the ATLAS detector. Cross-sections are presented as a function of jet multiplicity and of the 
  transverse momentum of the leading b-jet for both the combined muon and electron decay modes of the W boson. 
  The default routine will consider the electron decay channel of the W boson. Use ATLAS_2013_I1217863_W_EL and 
  ATLAS_2013_I1217863_W_MU to specify the decay channel directly. The measurements without subtraction of single top are also included.
BibKey: Aad:2013vka
BibTeX: '@article{Aad:2013vka,
      author         = "Aad, Georges and others",
      title          = "{Measurement of the cross-section for W boson production
                        in association with b-jets in pp collisions at $\sqrt{s}$
                        = 7 TeV with the ATLAS detector}",
      collaboration  = "ATLAS Collaboration",
      journal        = "JHEP",
      volume         = "1306",
      pages          = "084",
      doi            = "10.1007/JHEP06(2013)084",
      year           = "2013",
      eprint         = "1302.2929",
      archivePrefix  = "arXiv",
      primaryClass   = "hep-ex",
      reportNumber   = "CERN-PH-EP-2012-357",
      SLACcitation   = "%%CITATION = ARXIV:1302.2929;%%",
}'



More information about the Rivet mailing list