go-hep.org/x/hep@v0.38.1/cmd/lhef2hepmc/README.md (about)

     1  lhef2hepmc
     2  ==========
     3  
     4  ``lhef2hepmc`` is a simple `LHEF` -> `HEPMC` converter program.
     5  It is a pure ``Go`` re-implementation of the `C++` converter from
     6  `Rivet`.
     7  
     8  ## Installation
     9  
    10  ```sh
    11  $ go get go-hep.org/x/hep/lhef2hepmc
    12  ```
    13  
    14  ## Example
    15  
    16  ```sh
    17  $ lhef2hepmc -i in.lhef -o out.hepmc
    18  $ lhef2hepmc < in.lhef > out.hepmc
    19  ```
    20