WTI/Experiment Electronics/Data Processing: Go4

 Downloads:   go4version    |  Next tutorial 2

Tutorial 1

Working at GSI

If you are working on a GSI machine, everything is already installed and you can continue directly with next tutorial

Installation guide

ROOT installation

  Install the ROOT framework Version >=5.22/00 on a new directory.
  Download from ROOT home.

     shell> cd directory
     shell> tar xzf root.....tar.gz
     shell> cd root
     shell> export ROOTSYS=$PWD
     shell> export PATH=$PATH:$ROOTSYS/bin
     shell> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
     shell> ./configure
     shell> make

QT installation

  This Go4 distribution should be built with Qt 4.4.x and higher.
  Most modern Linux distributions provide Qt libraries, utilities and include files.
  However the developer package has to be installed in addition.
  Normally Go4 is able to detect the installed Qt.
  If both, Qt3 and Qt4 versions are installed, use GO4 makefile flag "withqt" to select required
  version. It is especially necessary for system, where Qt3 installation automatically
  sets QTDIR variable. Therefore to compile Go4 with version Qt4,
  one should call "make withqt=4".

  If there is no Qt installed on your system, or Go4 is not able to use it correctly,
  one should compile Qt from the source package. For that download from
  QT home package like qt-x11-opensource-src-4.5.2.tar.gz.
  Configure it with following flags:

     shell> ./configure -prefix $PWD -shared

  After compilation set environment variables e.g.

     shell> export QTDIR=$PWD
     shell> export PATH=$PATH:$QTDIR/bin
     shell> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib

GO4 installation

  Unpack this Go4 distribution in any suitable directory.

     shell> tar xzf go4-4.4.0.tar.gz

  This will create subdirectory go4-4.4.0. To compile go4, do:

     shell> cd go4-4.4.0
     shell> make all

  During compilation "go4login" init script is generated, where
  all necessary environment variables for ROOT, Qt and Go4 are set.
  It can be copied in any suitable location (accessible with PATH variable)
  and called:

     shell> . go4login

  After that go4 GUI and user analysis can be started from any directory.

Next tutorial


WTI Experiment Electronic Data Processing Group
Hans Essel , GSI Helmholtzzentrum für Schwerionenforschung mbH, GSI
Total 1103, last 2024 Sep 19 03:35
Last update: 2012 Mar 16 13:36