Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tool for splitting stdhep event samples

This small java programm allows splitting of stdhep files into smaller samples.

The correct run header is copied to each file.

Dependencies

It is depending on the freehep-stdhep package: http://java.freehep.org/freehep-stdhep/index.htmlImage Removed

Usage

Code Block
 java StdhepSplitter <input file> <number of events per output file>

The output is written to the same directory as the input file. The output files are named like the input file with an incrementing number appended. Input files have to end on ".stdhep".

Source Code

StdhepSplitter.java