|
[Rivet] Rivet histogramsAndy Buckley andy.buckley at ed.ac.ukThu Sep 1 18:30:51 BST 2011
Hi Christian, Thanks for the patches! I think that the reason for the change in behaviour is that those script were until recently not using lighthisto but a similar-looking set of alternative Python histo classes instead. When I adapted them to use lighthisto I wasn't aware that we were losing some functionality. I'll merge the patch asap and it should appear in 1.6.1, whenever that happens. Cheers, Andy On 01/09/11 18:25, Christian Roehr wrote: > Hi All, > > > I'd like to report a strange behaviour in the histogramming/plotting > part of Rivet 1.6.0 and also provide a possible fix. > > > Since I like Rivet plots :) , I started to use flat2aida (and friends) > to plot Herwig++-internal histograms. I.e. Hw++ creates a .dat file > including labels etc, which can then be processed by flat2aida. > > This works well with Rivet 1.5. When I switched to version 1.6.0 now, I > found two problems: > > 1. flat2aida just didn't write the xlabel and ylabel information to the > aida files. > > 2. compare-histos didn't collect the xlabel and ylabel info from the > aida files (which of course did contain labels). > > Two changes in lighthisto.py (attached) fixed both problems for me. > > > For no apparent reason, the lighthisto.py of Rivet 1.5 did not have this > problem, although the respective sections are the same. You'll certainly > have a better understanding of this. :) > > I've also attached a sample .dat file, which you can use to reproduce > this. > > > All the best and thanks, > > Christian > > > > _______________________________________________ > Rivet mailing list > Rivet at projects.hepforge.org > http://www.hepforge.org/lists/listinfo/rivet -- Dr Andy Buckley SUPA Advanced Research Fellow Particle Physics Experiment Group, University of Edinburgh The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
More information about the Rivet mailing list |