Versions Compared

Key

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

...

If the "-o" argument is omitted, the default output file name of "randomevents" is used.

count

The count command counts the number of event and/or run headers found in the input LCIO files.

No Format

usage: count
 -e    Print number of event headers.
 -f    Add an input LCIO file.
 -h    Print count usage.
 -r    Print number of run headers.
 -t    Print totals of all files processed.

The following command will print the number of run and event headers found in the files file1.slcio and file2.slcio, plus the total numbers overall.

No Format

lcio count -f file1.slcio -f file2.slcio -e -r -t

Extra command line arguments are interpretted as additional LCIO input files.