Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Download the org.lcsim plugin from http://stop.itp.tuwien.acwebsvn.teilchen.at/websvn/listing.php?repname=lcsimrave&path=%2F&sc=0. You may have to download some of the files individually.

Note
titleSetup

The following assumes that your current shell is bash. If you are uncertain whether this is the case, type bash at the command prompt.

...

Code Block
source /nfs/slac/g/lcd/mc/prj/scripts/setup-java.sh
source /nfs/slac/g/lcd/mc/prj/scripts/setup-swig.sh
./configure --with-boost=/nfs/slac/g/lcd/mc/prj/sw/extern/boost/v1-33-1 \
            --with-clhep=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0 \
            --with-clhep_matrix-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \
            --with-clhep_vector-libpath=/nfs/slac/g/lcd/mc/prj/sw/extern/clhep/2.0.3.0/lib \
            --disable-btagging \
            --prefix=<installation-dir>

...

You will also have to install LCIO. You can get it from http://lcio.desy.de/.
For the Java version, colt is needed. The code can be obtained from http://dsd.lbl.gov/~hoschek/colt/.

Tip

Currently, lcio.jar and colt.jar are part of the lcsimrave repository

After downloading rave, change into the source directory with cd rave_svn and build the configure script with ./bootstrap.
If you have all dependencies installed, the following will configure the package properly:

Code Block
 ./configure --with-boost=/sw \
             --prefix=/opt/RAVE \
             --with-clhep_matrix-libpath=/sw/lib \
             --with-clhep_vector-libpath=/sw/lib
make && make install

This will install Rave into /opt/Rave, assuming you have write permissions to that directory.

Now you are ready to run the lcsim plugin for Rave.
The compile_processor script that is part of the plugin has to be modified to match your setup. Be sure to specify the correct locations for the
JAVAROOT, RAVEPREFIX, LCSIMRAVELIB and TESTLIB variables.
After a quick chmod u+x compile_processor, you should be able to execute the test with ./compile_processor