Skip to content

Convert ASCII files generated by HepMC::IO_GenEvent to DOT graphs

License

Notifications You must be signed in to change notification settings

ScriptingSquirrel/hepmc2dot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HepMC2DOT - Convert HepMC ASCII files to DOT graphs

Build Status Code Coverage Docs Status

The hepmc2dot.py scripts converts ASCII files generated by HepMC::IO_GenEvent to the common DOT graph format. It is tested only for Python 2.7 at this point.

HepMC is a High Energy Physics package for storing Monte Carlo event records. These records can typically be represented in a tree structure, where particles are edges and interaction vertices are nodes.

The official HepMC documentation is at: http://hepmc.web.cern.ch/hepmc/

Usage

Convert HepMC ASCII file hepmcfile.txt to DOT graph and store there result in dotfile.dot:

hepmc2dot.py hepmcfile.txt dotfile.dot

Source

The source repository is on GitHub.

Documentation

Documentation can be found on Read the Docs.

About

Convert ASCII files generated by HepMC::IO_GenEvent to DOT graphs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published