Store the energy histogram.
Add a header to the events CSV files.
Add command line argument parsing.