You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

LCDetectors

Overview

LCDetectors contains detector data for the org.lcsim framework. Each detector has a directory in the detectors directory of LCDetectors with a compact description, properties files, and other detector data. These directories are zipped and placed in canonical locations on the LCSIM website. The org.lcsim conditions system can download the zip files from the WWW based on the tag in the LCIO file.

LCSIM WWW

LCDetectors is periodically replicated to the org.lcsim website.

Detector zip resource files are kept at the base URL http://www.lcsim.org/detectors.

For instance, the sdjan03 zip file is at http://www.lcsim.org/detectors/sdjan03.zip.

There also exist directories for each detector. The sdjan03 directory is http://www.lcsim.org/detectors/sdjan03/. The LCDD file for sdjan03 is kept at http://www.lcsim.org/detectors/sdjan03/sdjan03.lcdd and the compact file is kept at http://www.lcsim.org/detectors/sdjan03/compact.xml.

A list of all the current detector tags can be downloaded from http://www.lcsim.org/detectors/taglist.txt.

Getting from CVS

LCDetectors is kept at the SLAC CVS.

Instructions to checkout of CVS.

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

Build Commands

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

It also assumes that the detector being working with is sdjan03. Replace this name with whatever detector you are working on.

Remake the taglist and update to WWW (if on SLAC Linux).

make taglist

Rebuild all the detectors in place.

make build_all

Rebuild one detector in place.

make build_detector DETECTOR=sdjan03

Update the WWW with new detectors.

make update_www

Commit a new taglist to CVS.

make taglist_commit

Update your LCDetectors module.

make cvs_update

Update the detectors on lcsim WWW from your local copies.

make detectors_update

Make all the LCDD files locally.

make detectors_lcdd

Make all the zip files locally.

make detectors_zip

Update single detector to lcsim WWW from local copy.

make detector_update DETECTOR=sdjan03

Build zip file locally for single detector.

make detector_zip DETECTOR=sdjan03

Build LCDD file for single detector.

make detector_lcdd DETECTOR=sdjan03

Build the LCDD file and zip file for single local detector.

make build_detector DETECTOR=sdjan03
  • No labels