Versions Compared

Key

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

...

This command ignores extra arguments.

random

The random command generates LCIO events filled with random data (which is basically nonsensical!). These LCIO files can be used for testing purposes.

No Format

usage: random
 -h    Print random usage.
 -m    Set the maximum number of objects in a collection.
 -n    Set the number of random events to generate.
 -o    Set the LCIO output file name.

The following command will generate 5 random events to the output file events.slcio, with maximum of 100 objects per LCCollection.

No Format

lcio random -m 100 -n 5 -o events.slcio

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