Release v0.33.0
Release v0.33.0
is out of the oven.
This release contains no major API breakage, but all around improvements and bug fixes.
cmd
- cmd/hepmc2root: is a new command to automatically convert HepMC2 ASCII files to flat n-tuples ROOT files.
$> hepmc2root -h
hepmc2root converts a HepMC2 ASCII file into a ROOT file and (flat) tree.
Usage: hepmc2root [OPTIONS] hepmc.ascii
Example:
$> hepmc2root ./hepmc.ascii
$> hepmc2root -o out.root -t mytree ./hepmc.ascii
Options:
-o string
path to output ROOT file name (default "out.root")
-t string
name of the output tree (default "tree")
hplot
hplot
has been migrated to the new Gio API, and needs Gonum/plot@v0.13.0.
Slight differences are to be expected in the rendering of plots.
With the new Gio
version we are using, you may need development headers for Vulkan on Linux.
See the installation instructions of Gio for more details: Gio Installation
- fix a bug in
hplot.TiledPlot.Plot(i, j int)
where the*hplot.Plot
returned byPlot(i,j)
was actually the conjugate of what the documentation specified. Now,Plot(i,j)
returns the plot as documented.
sliceop
- introduce a generic
sliceop.Resize
that can reuse[]T
capacity - introduce generic versions of
sliceop.Take
andsliceop.Find
Changelog
- Hepmc2root by @sbinet in #962
- groot/{riofs,rtree}: de-duplicate automatically generated This-streamers by @sbinet in #965
- cmd/hepmc2root: improve documentation by @sbinet in #967
- cmd/hepmc2root,hepmc{,/rootcnv}: implement HepMC-ROOT roundtrip by @sbinet in #968
- internal/diff: first import by @sbinet in #969
- all: 2023 is the year of the Gopher by @sbinet in #970
- cmd/lhef2hepmc: add -keep-all flag to keep intermediaries by @sbinet in #971
- Hepmc3 by @sbinet in #972
- Go 1.20 by @sbinet in #973
- ci: update gha-actions by @sbinet in #976
- ci: use Go cache from setup-go by @sbinet in #977
- hplot: fix TiledPlot.Plot to behave as documented by @sbinet in #978
- all: update to latest Gio by @sbinet in #979
Full Changelog: v0.32.1...v0.33.0