Normally you will not need to directly run this program. Instead, specifying $DAQBIN/ddasReadout (rather than $DAQBIN/DDASReadout) as the data source will run both the DDASReadout and an associated ddasSort program.
Since NSCLDAQ-11.4, DDASReadout does not internally sort data from the DDAS modules. Deferring this sort to another process substantially improves performance by allowing that sort to run in parallel with the readout itself.
ddasSort is that down stream sorter. It takes data from a Ring buffer into which ddasReadout puts unsorted raw DDAS hits and outputs time ordered data to another ringbuffer.
--source
=URISpecifies the URI of the ringbuffer into which a DDASReadout reads module data.
--sink
=ringnameSpecifies the name of the ringbuffer into which the sorter will emit sorted hits. The format of these hits will be identical to that of DDASReadout prior to splitting off this sort function to ddasSort.
--window
=sort-window-in-secondsThis is the floating point number of seconds in the sort window. Data older than the size of the sort window are emitted in sorted order. The sort window ensures that data arrives from all modules prior to being emitted avoiding out of order data.