Software installation

Barrel DIRC prototype installation

git clone https://github.com/rdom/prtdirc
git clone https://github.com/rdom/prttools

cd prtdirc
mkdir build
cd build
cmake ..
make -j4

EIC DIRC prototype installation

git clone https://github.com/rdom/eicdirc.git

cd eicdirc
mkdir build
cd build
cmake -DGeant4_DIR=/path/to/geant4/installation ..
make -j4

geant4 installation

wget https://gitlab.cern.ch/geant4/geant4/-/archive/v11.1.1/geant4-v11.1.1.tar.gz
tar xvf geant4-v11.1.1.tar.gz
cd geant4-v11.1.1
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/geant4/installation -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_QT=ON ..
make -j4
make install

QT5 installation

wget https://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-src-5.15.0.tar.xz

...
./configure -prefix /path/to/qt/installation -opensource -confirm-license
make -j4
make install
...

GSI "specialties" (for lx-pool)

export OGLHOME=/usr/X11R6
export G4VIS_BUILD_OPENGLX_DRIVER=1
export G4VIS_USE_OPENGLX=1
export G4VIS_BUILD_OPENGLXM_DRIVER=1
export G4VIS_USE_OPENGLXM=1