Filters ring buffer items from standard input to spectrodaq buffers on standard output. Buffer sequence numbers are generated in such a way that they allow clients to approximate the sampling fraction if physics events are sampled into the application. Event sizes get truncated to 16 bits so that existing clients can analyze the output.
The default output buffer size is 8192 bytes, however
--buffersize switch in OPTIONS below.
The program will continue to run until it detects an EOF on either stdin or stdout.
Allows the default buffer size of 8182 bytes to be overridden.
Outputs short form help to the console and exits immediately.
Outputs the version of the program and exits immediately.