Skip to content

gsi-ee/pack

Repository files navigation

Pack of DABC/Go4/Stream libraries

Checkout repository

cd ~/git
git clone --recurse-submodules https://github.com/gsi-ee/pack.git

Checkout of specific tag

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

Create build directory

mkdir -p ~/build/pack

Reuse existing ROOT

If there is ROOT build exists, one can reuse it calling:

source path/to/bin/thisroot.sh

Install some prerequicities

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

Configure and build

cd ~/build/pack
cmake ~/git/pack
make -j

Use generated login script

. ~/build/pack/dabcgo4login

Update and rebuild

cd ~/git/pack
git pull  --recurse-submodules
cd ~/build/pack
make -j

Useful links

Build in nix-shell

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.

About

Pack of DABC/Go4/Stream

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors