BufferToRing

Name

BufferToRing -- Convert old buffered data to ring buffer format.

Synopsis

$DAQROOT/bin/BufferToRing [buffer-size]

DESCRIPTION

Converts NSCLDAQ buffered data into ring items. Input is always taken from stdin and output ring items are emitted on stdout. This allows you, by constructing appropriate pipelines or using I/O redirection to convert event files from buffered to ring format. Buffered data can be turned into a SpecTcl piped data source and can, with the help of stdintoring be placed in a ringbuffer.

The program takes an optional parameter; buffer-size which is the size of the input buffer in bytes. The default is 8192 which covers most of the buffered event files created by versions of nscldaq prior to 10..0.