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

...

LCDetectors is kept at the SLAC CVS. Instructions to checkout.

Code Block
cvs login -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd
cvs co LCDetectors

To update an existing installation as new detectors are added you will need to specify that new directories should be built (-d), old ones should be pruned (-P) and any tags should be reset (-A).

Code Block

cvs update -PdA

GeomConverter

You will also need to checkout and build the GeomConverter project. Here are the quick build instructions.

No Format

cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co GeomConverter
cd GeomConverter
mvn clean install

You will also need the the Maven 2 build tool.

Build Commands

The following instructions assume that the current directory is LCDetectors checkout dir.

First, start by setting the name of the detector you are working with in the environment (bash).

No Format
export DETECTOR=sdjan03

The DETECTOR variable is used for all make commands that use a single detector.

Tip
titleHandy Hint

If you are performing one action for a number of detectors sequentially you can also define the detector
directly on the command line, e.g.

Code Block

make [target] DETECTOR=sdjan03

Build the zip file locally for the current DETECTOR. The zip file will be placed at detectors/$DETECTOR.zip

Code Block
make zip

Create LCDD file for DETECTOR. The LCDD file will be placed at detectors/$DETECTOR/$DETECTOR.lcdd

...