Versions Compared

Key

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

...

Package

Version

Get It

slicPandora

head

SLAC cvs

lcio

head

SLAC cvs

PandoraPFANew

head

Pandora SVN

ROOT

5.26 or greater

Download ROOT

PandoraMonitoring

head

PandoraMonitoring SVN

ilcutil

head

ilcutil SVN

Quick 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 or the CVS head. The build instructions on this page use the CVS head.

These commands can be executed to produce a working slicPandora, using a shell such as bash. Start by making a directory
where Pandora will be built. The following commands should then be executed in order from this working directory.

...

No Format
# ROOT
export ROOTSYS=/path/to/root/directory

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

# Checkout PandoraPFANew
svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraPFANew/trunk PandoraPFANew
export PandoraPFANew_HOME=`pwd`/PandoraPFANew

# Build PandoraMonitoring
svn co http://svnsrv.desy.de/public/PandoraPFANew/PandoraMonitoring/trunk PandoraMonitoring
cd PandoraMonitoring
mkdir build
cd build
cmake -DROOT_HOME=$ROOTSYS -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraPFANew_DIR=$PandoraPFANew_HOME ..
make install
cd ..
export PandoraMonitoring_HOME=`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 ..
make install
cd ..
export LCIO_HOME=`pwd`
cd ..

# Build PandoraPFANew
cd PandoraPFANew
cmake -DILCUTIL_DIR=$ILCUTIL_DIR -DPandoraMonitoring_HOME=$PandoraMonitoring_HOME -DROOT_HOME=$ROOTSYS .
make
cd ..

# Build slicPandora
cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co slicPandora
cd slicPandora
cmake -DBUILD_32BIT_COMPATIBLE=OFF -DROOT_HOME=$ROOTSYS -DCMAKE_MODULE_PATH=$ILCUTIL_DIR/cmakemodules -DLCIO_HOME=$LCIO_HOME -DPandoraPFANew_HOME=$PandoraPFANew_HOME -DPandoraMonitoring_HOME=$PandoraMonitoring_HOME .
make
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 or the CVS head.

The slicPandora project should now be built successfully. If compilation or linking errors occur, then check that the dependencies were installed successfully.

...