Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Package

Version

Get It

slicPandora

head

SLAC cvs

lcio

v01-51

SLAC cvs

PandoraPFANew

v00-05

Pandora SVN

ROOT

5.26 or greater

Download ROOT

PandoraMonitoring

v00-04

PandoraMonitoring SVN

ilcutil

head

ilcutil SVN

cmake

2.8.2 or greater

cmake.org

You need to have an installation of ROOT, which is not covered here.

You also need to install cmake yourself.

Build Instructions

Warning
titlePandora Version

Old versions of PandoraPFANew will not work, due to changes and additions to its API. It is recommended to use the last tagged version. The build instructions on this page use tagged versions of PandoraPFANew and PandoraMonitoring. Commands for using the trunk versions instead are listed as comments.

These commands can be executed to produce a working slicPandora, using a shell such as bash. Start by making a directory
where Pandora and its dependencies will be builtinstalled.

The following commands should then be executed in order from this working directory.

You need to have a preexisting installation of ROOT, which is not covered here.

From a bash shell terminal, the following commands should produce a working version of slicPandora.

No Format
# ROOT
export ROOTSYS=/path/to/root/directory
export PATH=$ROOTSYS/bin:$PATH

# Build ilcutil
svn co http://svnsrv.desy.de/public/ilctools/ilcutil/trunk ilcutil
cd ilcutil
cmake .
make install
export ILCUTIL_DIR=`pwd`
# Back to work dir.
cd ..

# Checkout PandoraPFANew
# Head checkout.
#svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/trunk PandoraPFANew
# Use tag v00-05.
svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/tags/v00-05 PandoraPFANew
export PandoraPFANew_DIR=`pwd`/PandoraPFANew

# Build PandoraMonitoring
#Head checkout.
#svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraMonitoring/trunk PandoraMonitoring
svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraMonitoring/tags/v00-04 PandoraMonitoring
cd PandoraMonitoring
mkdir build
cd build
cmake -DROOT_DIR=$ROOTSYS -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraPFANew_DIR=$PandoraPFANew_DIR ..
make install
cd ..
export PandoraMonitoring_DIR=`pwd`
cd ..

# Setup Java
export JAVA_HOME=/path/to/java/directory
export PATH=$JAVA_HOME/bin:$PATH

# Build LCIO
cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co -r v01-51 lcio
cd lcio
mkdir build
cd build
cmake -DINSTALL_DOC=OFF -DBUILD_32BIT_COMPATIBLE=OFF ..
make install
cd ..
export LCIO_DIR=`pwd`
cd ..

# Build PandoraPFANew
cd PandoraPFANew
mkdir build
cd build
cmake -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraMonitoring_DIR=$PandoraMonitoring_DIR -DROOT_DIR=$ROOTSYS ..
make install
cd ../..

# Build slicPandora
cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co slicPandora
cd slicPandora
mkdir build
cd build
cmake -DBUILD_32BIT_COMPATIBLE=OFF -DROOT_DIR=$ROOTSYS -DCMAKE_MODULE_PATH=$ILCUTIL_DIR/cmakemodules \
-DLCIO_DIR=$LCIO_DIR -DPandoraPFANew_DIR=$PandoraPFANew_DIR -DPandoraMonitoring_DIR=$PandoraMonitoring_DIR ..
make install

...