sudo apt-get update
sudo apt-get install $(cat requirements_apt.txt)
pip3 install -H -r requirements_pip3.txt
source /opt/soft/GetSoftware_bin/env_settings.sh
git clone [email protected]:WarsawTPC/TPCReco.git
cd TPCReco
git submodule update --init --recursive
mkdir build; cd build
cmake -DBUILD_TEST=ON ../
make install -j 4
Run tests to check if everything is fine:
export LC_ALL=$LANG
ctest
To synchronize the version of software in your working directory with some never tag please do following:
cd TPCReco
git fetch
git checkout newer_tag
cd build
cmake ../
make install -j 4
You can check the tag version for your working directory with
cd TPCReco
git branch
the output should look like this:
akalinow@daqula2:~/1/TPCReco$ git branch
* (HEAD detached at v0.02_28.04.2021)
master
Update the config/config_GUI.json with correct values for input date file (ROOT or GRAW), corresponding geometry file, and location of the resources directory.
When reading a GRAW file one has to run the application from the resources directory, as GET software requires a lots of additional files.
When reading GRAW files setup the GET environment. At the daqula2 node use a following command:
source /opt/soft/GetSoftware_bin/env_settings.sh
When running from a container, enter the following command inside the container:
export LC_ALL=$LANG
Run the GUI from the resources directory:
cd resources
../bin/tpcGUI --meta.configJson ~/.tpcreco/config/test.json
Any application parameter can be set using the JSON file, or a command line argument. Command line arguments overwrite settings from the JSON file. List of all parameters is provided by
../bin/tpcGUI --help
Check config file structure and examples.