cd ~/git
git clone --recurse-submodules https://github.com/gsi-ee/pack.git
Normally master branch is best possible code for data taking and analysis. But for some old data previous versions of framework can be used. For such usecase special tags are cretaed. These are:
dogma_oldtdc- dogma with TDC v5 readout, no IQTDC
To checkout such tag one call:
git checkout dogma_oldtdc --recurse-submodules
mkdir -p ~/build/pack
If there is ROOT build exists, one can reuse it calling:
source path/to/bin/thisroot.sh
Check if one need some packages to be installed. For ROOT there is https://root.cern/install/dependencies/ list of packages which may be required. For the Go4 one needs Qt6 with webengine components. On the opensuse on can install it with:
sudo zypper install qt6-webenginecore-devel qt6-webenginewidgets-devel qt6-base-common-devel qt6-gui-devel
cd ~/build/pack
cmake ~/git/pack
make -j
. ~/build/pack/dabcgo4login
cd ~/git/pack
git pull --recurse-submodules
cd ~/build/pack
make -j
- https://root.cern
- https://go4.gsi.de
- https://dabc.gsi.de
- https://web-docs.gsi.de/~dabc/doc/dabc2/hadaq_trb3_package.html
- https://web-docs.gsi.de/~dabc/doc/stream/hadaq_tdc_calibr.html
When building this package, one can use nix-shell which able to download ROOT and several other
prerequicities automatically. Just start
nix-shell /path/to/pack/
After just proceed with build - cmake should automatically recognize ROOT and build only Go4/DABC/Stream.