Directories ¶
Path | Synopsis |
---|---|
Package brio is a set of tools to handle binary (de)serialized data.
|
Package brio is a set of tools to handle binary (de)serialized data. |
cmd/brio-gen
Command brio-gen generates (un)marshaler code for types.
|
Command brio-gen generates (un)marshaler code for types. |
cmd
|
|
lhef2hepmc
lhef2hepmc converts a LHEF input file into a HepMC file.
|
lhef2hepmc converts a LHEF input file into a HepMC file. |
rio2yoda
rio2yoda converts rio files containing hbook values (H1D, H2D, P1D, ...) into YODA files.
|
rio2yoda converts rio files containing hbook values (H1D, H2D, P1D, ...) into YODA files. |
root2csv
root2csv converts the content of a ROOT TTree to a CSV file.
|
root2csv converts the content of a ROOT TTree to a CSV file. |
root2npy
root2npy converts the content of a ROOT TTree to a NumPy data file.
|
root2npy converts the content of a ROOT TTree to a NumPy data file. |
root2yoda
root2yoda converts ROOT files containing hbook-like values (H1D, H2D, ...) into YODA files.
|
root2yoda converts ROOT files containing hbook-like values (H1D, H2D, ...) into YODA files. |
yoda2rio
yoda2rio converts YODA files containing hbook-like values (H1D, H2D, P1D, ...) into rio files.
|
yoda2rio converts YODA files containing hbook-like values (H1D, H2D, P1D, ...) into rio files. |
Package csvutil exposes functions and types to easily handle CSV files.
|
Package csvutil exposes functions and types to easily handle CSV files. |
csvdriver
package csvdriver registers a database/sql/driver.Driver implementation for CSV files.
|
package csvdriver registers a database/sql/driver.Driver implementation for CSV files. |
Package fads exposes building blocks for a fast simulation of a HEP detector.
|
Package fads exposes building blocks for a fast simulation of a HEP detector. |
cmd/fads-app
fads-app is a command that runs a simple ATLAS-like detector simulation, modelled after the C++ Delphes ATLAS data-card.
|
fads-app is a command that runs a simple ATLAS-like detector simulation, modelled after the C++ Delphes ATLAS data-card. |
cmd/fads-rivet-mc-generic
fads-rivet-mc-generic is a command mirroring the MC_GENERIC analysis example from Rivet.
|
fads-rivet-mc-generic is a command mirroring the MC_GENERIC analysis example from Rivet. |
Package fastjet is a Go-based implementation of the C++ FastJet library.
|
Package fastjet is a Go-based implementation of the C++ FastJet library. |
internal/delaunay
package delaunay contains functions to compute a Delaunay Triangulation
|
package delaunay contains functions to compute a Delaunay Triangulation |
internal/heap
package heap implements a min-heap for pairs of jets.
|
package heap implements a min-heap for pairs of jets. |
internal/plot
package plot contains functions to plot the Delaunay Triangulation and the Voronoi Diagram.
|
package plot contains functions to plot the Delaunay Triangulation and the Voronoi Diagram. |
internal/predicates
package predicates handles the geometric predicates for a delaunay triangulation
|
package predicates handles the geometric predicates for a delaunay triangulation |
Package fit provides functions to fit data.
|
Package fit provides functions to fit data. |
Package fmom provides types and functions to operate with Lorentz 4-vectors.
|
Package fmom provides types and functions to operate with Lorentz 4-vectors. |
Package fwk provides a set of tools to process High Energy Physics events data.
|
Package fwk provides a set of tools to process High Energy Physics events data. |
utils/builder
package builder builds a fwk-app binary from a list of go files.
|
package builder builds a fwk-app binary from a list of go files. |
utils/parallel
The parallel package provides a way of running functions concurrently while limiting the maximum number running at once.
|
The parallel package provides a way of running functions concurrently while limiting the maximum number running at once. |
utils/tarjan
package tarjan implements a graph loop detection algorithm called Tarjan's algorithm.
|
package tarjan implements a graph loop detection algorithm called Tarjan's algorithm. |
Package hbook is a set of data analysis tools for HEP (histograms (1D, 2D, 3D), profiles and ntuples).
|
Package hbook is a set of data analysis tools for HEP (histograms (1D, 2D, 3D), profiles and ntuples). |
ntup
Package ntup provides a way to create, open and iterate over n-tuple data.
|
Package ntup provides a way to create, open and iterate over n-tuple data. |
ntup/ntcsv
Package ntcsv provides a convenient access to CSV files as n-tuple data.
|
Package ntcsv provides a convenient access to CSV files as n-tuple data. |
rootcnv
Package rootcnv provides tools to convert ROOT histograms and graphs to go-hep/hbook ones.
|
Package rootcnv provides tools to convert ROOT histograms and graphs to go-hep/hbook ones. |
yodacnv
Package yodacnv provides tools to read/write YODA archive files.
|
Package yodacnv provides tools to read/write YODA archive files. |
Package hepevt provides access to the HEPEVT event format record from FORTRAN-77.
|
Package hepevt provides access to the HEPEVT event format record from FORTRAN-77. |
Package hepmc is a pure Go implementation of the C++ HepMC-2 library.
|
Package hepmc is a pure Go implementation of the C++ HepMC-2 library. |
examples/build-event-from-scratch
In this example we will place the following event into HepMC "by hand" name status pdg_id parent Px Py Pz Energy Mass 1 !p+! 3 2212 0,0 0.000 0.000 7000.000 7000.000 0.938 2 !p+! 3 2212 0,0 0.000 0.000-7000.000 7000.000 0.938 ========================================================================= 3 !d! 3 1 1,1 0.750 -1.569 32.191 32.238 0.000 4 !u~! 3 -2 2,2 -3.047 -19.000 -54.629 57.920 0.000 5 !W-! 3 -24 1,2 1.517 -20.68 -20.605 85.925 80.799 6 !gamma! 1 22 1,2 -3.813 0.113 -1.833 4.233 0.000 7 !d! 1 1 5,5 -2.445 28.816 6.082 29.552 0.010 8 !u~! 1 -2 5,5 3.962 -49.498 -26.687 56.373 0.006 now we build the graph, which will look like # p7 # # p1 / # # \v1__p3 p5---v4 # # \_v3_/ \ # # / \ p8 # # v2__p4 \ # # / p6 # # p2 # # #
|
In this example we will place the following event into HepMC "by hand" name status pdg_id parent Px Py Pz Energy Mass 1 !p+! 3 2212 0,0 0.000 0.000 7000.000 7000.000 0.938 2 !p+! 3 2212 0,0 0.000 0.000-7000.000 7000.000 0.938 ========================================================================= 3 !d! 3 1 1,1 0.750 -1.569 32.191 32.238 0.000 4 !u~! 3 -2 2,2 -3.047 -19.000 -54.629 57.920 0.000 5 !W-! 3 -24 1,2 1.517 -20.68 -20.605 85.925 80.799 6 !gamma! 1 22 1,2 -3.813 0.113 -1.833 4.233 0.000 7 !d! 1 1 5,5 -2.445 28.816 6.082 29.552 0.010 8 !u~! 1 -2 5,5 3.962 -49.498 -26.687 56.373 0.006 now we build the graph, which will look like # p7 # # p1 / # # \v1__p3 p5---v4 # # \_v3_/ \ # # / \ p8 # # v2__p4 \ # # / p6 # # p2 # # # |
go-hepmc-dump
go-hepmc-dump is a simple command to dump in an almost human-friendly format the content of a hepmc file.
|
go-hepmc-dump is a simple command to dump in an almost human-friendly format the content of a hepmc file. |
Package heppdt provides access to the HEP Particle Data Table.
|
Package heppdt provides access to the HEP Particle Data Table. |
Package hplot is a package to plot histograms, n-tuples and functions
|
Package hplot is a package to plot histograms, n-tuples and functions |
cmd/hplot
hplot is a simple gnuplot-like command to create plots
|
hplot is a simple gnuplot-like command to create plots |
internal/cmpimg
Package cmpimg compares the raw representation of images taking into account idiosyncracies related to their underlying format (SVG, PDF, PNG, ...).
|
Package cmpimg compares the raw representation of images taking into account idiosyncracies related to their underlying format (SVG, PDF, PNG, ...). |
vgshiny
Package vgshiny provides a vg.Canvas implementation backed by a shiny/screen.Window
|
Package vgshiny provides a vg.Canvas implementation backed by a shiny/screen.Window |
cmd/lcio-ls
lcio-ls displays the content of a LCIO file.
|
lcio-ls displays the content of a LCIO file. |
example/lcio-ex-read-event
lcio-ex-read-event is the hep/x/lcio example equivalent to: https://github.com/iLCSoft/LCIO/blob/master/examples/cpp/rootDict/readEventTree.C example: $> lcio-ex-read-event ./DST01-06_ppr004_bbcsdu.slcio lcio-ex-read-event: read 50 events from file "./DST01-06_ppr004_bbcsdu.slcio" $> open out.png
|
lcio-ex-read-event is the hep/x/lcio example equivalent to: https://github.com/iLCSoft/LCIO/blob/master/examples/cpp/rootDict/readEventTree.C example: $> lcio-ex-read-event ./DST01-06_ppr004_bbcsdu.slcio lcio-ex-read-event: read 50 events from file "./DST01-06_ppr004_bbcsdu.slcio" $> open out.png |
Package lhef implements the "Les Houches Event File" data format.
|
Package lhef implements the "Les Houches Event File" data format. |
pawgo is a simple interactive shell to quickly plot hbook histograms from rio files.
|
pawgo is a simple interactive shell to quickly plot hbook histograms from rio files. |
Package rio is a record-oriented persistency mechanism.
|
Package rio is a record-oriented persistency mechanism. |
cmd/rio-ls-records
rio-ls-records displays the list of records stored in a given rio file.
|
rio-ls-records displays the list of records stored in a given rio file. |
Package rootio provides a pure-go read-access to ROOT files.
|
Package rootio provides a pure-go read-access to ROOT files. |
cmd/root-diff
root-diff compares the content of 2 ROOT files, including the content of their Trees (for all entries), if any.
|
root-diff compares the content of 2 ROOT files, including the content of their Trees (for all entries), if any. |
cmd/root-dump
root-dump dumps the content of a ROOT file, including the content of the Trees (for all entries), if any.
|
root-dump dumps the content of a ROOT file, including the content of the Trees (for all entries), if any. |
cmd/root-gen-datareader
Command root-gen-datareader generates a Go struct to easily read the event data type stored inside a Tree.
|
Command root-gen-datareader generates a Go struct to easily read the event data type stored inside a Tree. |
cmd/root-ls
root-ls lists the content of a ROOT file.
|
root-ls lists the content of a ROOT file. |
cmd/root-print
root-print prints ROOT files contents to PDF, PNG, ...
|
root-print prints ROOT files contents to PDF, PNG, ... |
cmd/root-srv/server
Package server encapsulates the creation of the web server for root-srv.
|
Package server encapsulates the creation of the web server for root-srv. |
Package sio implements a record-oriented persistency mechanism.
|
Package sio implements a record-oriented persistency mechanism. |
Package slha implements encoding and decoding of SUSY Les Houches Accords (SLHA) data format.
|
Package slha implements encoding and decoding of SUSY Les Houches Accords (SLHA) data format. |
Click to show internal directories.
Click to hide internal directories.