SciFi Tracker Test Beam Analysis Code

Software Installation

Ask Roman for access to the git repository and download the two packages scifiusbboard and scifibeamtest.

git clone
git clone
To update to the latest versions, you should do the following:
cd scifiusbboard; git pull
cd scifibeamtest; git pull
The code requires root v5.xx and qt4 to be installed. It also requires the libusb package.


This method of installing the software assumes that you are using macports (see their installation guide here). You need to install the a compatible root version before trying to compile the test beam code. The following installs the latest root 5 version with the required options. You will need to run the port commands as root (e.g. using sudo).

port install qt4-mac
port install python27
port select --set python python27
port install root5  +cocoa+fftw3+fitsio+gcc48+graphviz+gsl+http+minuit2+opengl+python27+qt_mac+roofit+soversion+sqlite3+ssl+tmva+xml+xrootd
port select --set root root5
You then need to install the development version of libusb.
port install libusb
port install libusb-compat
port install libusb-legacy
In principle, this should be enough to be able to compile the test beam code on a mac.

The first step is to compile the scifiusbboard library:

. /opt/local/bin/
cd scifiusbboard
export USBBOARDPATH=`pwd`
cd Builds
During the qmake step, you will (should) be prompted to install the QuickUSB package.

Then you need to compile the scifibeamtest code:

cd scifibeamtest
qmake QMAKE_INCDIR+=`root-config --incdir`


The following example worked for the EPFL cluster where we have the LHCb software installed via the CernVM (/cvmfs). It also required that libusb-devel was installed on all of the cluster nodes.

To compile the scifiusbboard library:

SetupProject LHCb v37r3
cd scifiusbboard
export USBBOARDPATH=`pwd`

To compile the scifibeamtest software:

cd scifibeamtest

Quick Analysis

If everything has gone well, you should now be able to run the quickAnalysis.

cd scifibeamtest
./Builds/quickAnalysis <pedestalFile.root> <ledFile.root> <dataFile.root> --overview

-- MarkTobin - 21 Oct 2014

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2014-10-22 - MarkTobin
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback