Introduction
EventStorage package contains a library used by several DAQ
applications (ROS, SFI, SFO) to write data files. The library is also
used by offline software to write simulation output in the form of
ByteStream.
This package also contains an interface for reading data files
(DataReader) and some implementations of it. Those are used by the
Offline Software and by test programs of the DAQ.
Tag of EventStorage for release TDAQ-01-01-00 is v1r6p0. Changes
since
previous release (DF-01-00-00):
- Allow arbitrary file names at reading time.
- If a file name contains _file<Number>.data it is assumed
that we may have a sequence and the data reader will try to go
transparently to following files ([...]_file<Number+1>.data[...])
- Number of digits in the file number (if any) is deduced from the
first file and should not change, except when the file number
overflows. Some valid sequences for instance:
1,2,...,9,10,11,..
001,002,...,999,1000,1001,...
Not valid sequences:
1,02
001,2
- The above concerns offline software simulated byte stream data,
where file sequences are made by renaming files. Files sequences
written by the library will continue with the name convention used up
to now:
daq_<Application>_<Tag>_<RunNumber>_file<FileNumber>.data
More detailed description of changes can be found in doc/ChangeLog