Standalone SDHCAL raw data processor
| Description | Type | Build |
|---|---|---|
| Reading the rawdata from binary file .dat | Input | |
| Write to ROOT file | Output | |
| Write to LCIO file | Output |
BUILD_ROOT_INTERFACE : Allow to write ROOT files.
BUILD_LCIO_INTERFACE : Allow to write LCIO files (not implemented).
BUILD_RAWDATA_INTERFACE : Allow to read RAWDATA from .dat files.
BUILD_TESTS : Build the tests.
BUILD_APPS : Build the apps.
BUILD_DOCS : Build the documentation.
git clone https://github.com/SDHCAL/streamout.gitcmake -DBUILD_ROOT_INTERFACE=ON -DBUILD_LCIO_INTERFACE=ON -DBUILD_RAWDATA_INTERFACE=ON -B ./build -S ./streamout -DCMAKE_INSTALL_PREFIX=./installcmake --build ./build --parallel 10cmake --install buildctest -VV
tests folder
- You can
export STREAMOUT_OUTPUT_PATH=mypathto select where the apps will write the output file. - Run
./install/bin/tests/RawdataROOT.test --helpto list the parameters. - For example
./install/bin/tests/RawdataROOT.test -f ./SMM_210616_040234_732873.dat -s 20 -e 10. Will read the 10 first event skipping the first 20 bits of the header and write ROOT fileSMM_210616_040234_732873.root. - You can cross-check the output using
../install/bin/tests/ROOTchecker.test -f SMM_210616_040234_732873.root.