Versions Compared

Key

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

...

This command accepts only a single input LCIO file, so extra arguments are ignored, not treated as additional input files.

print

The print command prints detailed information about LCEvents, including tables of records for each LCCollection of LCObjects. This command is a rewrite of the C++ dumpevent utility (written by Frank Gaede).

No Format

usage: print
 -f    Set the LCIO file to dump.
 -m    Set the maximum number of records to print per collection.
 -n    Set the maximum number of events to dump.
 -s    Set the number of events to skip.

The following command will dump 2 events from the file file1, skipping the first event and limiting the number of objects printed from collections to 100.

No Format

lcio print -f file1.slcio -m 100 -n 2 -s 1

This command accepts a single file. If there is no "-f" argument, the first extra argument is inpretted as the input LCIO file.