New and Improved CODA Event IO routine
In order add some flexibilty to replay of Hall C data
taken with CODA, some enhancements have
been made to the Event I/O Library. The changes are incorporated in
a new version of evio.c.
- evRead can read from standard input by giving evOpen
the filename "-".
- evRead can read the standard output of a command by giving
evOpen the filename "|command".
- evRead can read from a compressed file (unix compress or
gzip) simply by giving evOpen the name of the compressed
file. (gunzip needs to be in the process PATH.)
- Will compile and work properly for OSF on the DEC Alpha chip by using the
defining the preprocessor symbol BIT64.
Also, while not strictly an change, the Event I/O Library has been
verified to function under Linux.
Caveats
With the exception of the changes for 64 bit architectures, the above
affect only event reading. No changes have been made that would allow
events to be written to standard output or piped to a command. Such
changes would, however, not be difficult.
evio.c includes some routines that allow searching for
event nubmers that are used with xcefdmp. These routines move
forward and backwards within an input file and are thus will not work
properly if standard input, a pipe, or compressed file has been opened.
Improved version of evio.c
Last update 19 December 1996
saw@jlab.org