Go HEP release 0.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
- cf2d1a6d ci: pin to ubuntu-20.04 for Gio’s benefit
- 219c13d4 hplot,pawgo: migrate to latest Gio API
- 97475faf ci: install vulkan stack for Gio
- f1469c35 all: bump Gio, astrogo/fitsio@v0.3.0, klauspost/compress@v1.16.5 and gonum@v0.13
- ef35e3ac hplot: fix TiledPlot.Plot to behave as documented
- 229691c8 ci/mk-release: update for new Go-1.20 build requirements
- faaf33f7 ci: use Go cache from setup-go
- a25161e3 ci: update gha-actions
- 6b610132 all: bump gokrb5@v8.4.4 and x/exp
- 12fafb41 all: bump x/net@v0.7.0
- e0361d0d all: bump x/image@v0.5.0
- 89566f9e xrootd: use crypto/rand instead of math/rand
- d0b7e3e3 csvutil: remove deprecated use of os.SEEK_END
- 2d85dea0 ci: bump staticcheck
- 13370e03 all: bump dependencies
- c948dc89 all: bump to Go-1.20, drop Go-1.18
- 5b6e0488 hepmc/go-hepmc-dump: use errors.Is to properly detect io.EOF
- 5e5fc636 hepmc: use %w to report errors
- f2987e91 cmd/lhef2hepmc: add -keep-all flag to keep intermediaries
- ca416ca0 all: 2023 is the year of the Gopher
- 7cd9c25e all: bump golang/x repos
- 46778d8e all: use internal/diff to display diffs
- e79cf64b internal/diff: first import
- 063750f7 cmd/hepmc2root,hepmc{,/rootcnv}: implement HepMC-ROOT roundtrip
- 66b2a3f4 cmd/hepmc2root: improve documentation
- 87e70954 groot/{riofs,rtree}: de-duplicate automatically generated This-streamers
- 100af9da cmd/hepmc2root: first import
- aad018e2 sliceop: generalize Take and Find signatures
- bfaadd23 sliceop: add Resize