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-12-00 is v1r25p7. Changes
since previous release (tdaq-01-10-01, tag v1r22p4):
-
Tier-0 transformation python script added: share/MergeRawFileTier0Transformation.py
This script is used by Tier-0 to perform file merging. It is called with the option --argdict=<dictfile>, where dictfile is a pickled map containing the required info. More information can be found by executing the python script without argument.
-
testDeMerge
Located in the test area, this program parses a mergedfile and decomposes it into its orginal components.
testDeMerge mergefile.data [onlylist]
If the argumet onlylist is added, the program shows the contents of the merged file and exits.
-
API changes in the RawFileName class:
- the fileNameTag string is no more in the constructor
(internaly, this argument was not used even in tdaq-01-10-00, but we arrived to an agreement
to drop its use after the release was built, so it's removal from the API was left for this upcoming release).
Therefore, in tdaq-01-10-00 we had:
-
daq::RawFileName fileNameObj(projectTag, fileNameTag, m_runNumber, streamType, streamName,lumiBlockNumber,appName);
std::string fileName= fileNameObj.fileNameCore();
whereas, in the upcoming tdaq-common (tdaq-common-01-12-00) the user should do:
-
daq::RawFileName fileNameObj(projectTag, m_runNumber, streamType, streamName,lumiBlockNumber,appName);
std::string fileName= fileNameObj.fileNameCore();
- the second change in the API is related to the dissapearance of the fileNameTag:
the nameTag() method was dropped, and got replaced with the datasetName() method,
which could be of use to some users.
-
Python binding of the RawFileName calss is implemented via the eformat python bindings:
After you setup the release, just type:
$ tdaq_python
>>> from eformat.stream import EventStorage
>>> type(EventStorage.RawFileName)
<type 'Boost.Python.class'>
More detailed description of changes can be found in doc/ChangeLog