Quick DD4hep howto

DD4hep stands for Detector Description for HEP, a software package developed in the context of AIDA WP2. DD4hep is based on the ROOT geometry framework TGeo and thus allows to use all its features. DD4hep provides representations of all TGeo shapes and means to place them in a hierarchy of detector elements with additional information, which is the core feature of DD4hep.

How to get DD4hep

The manual, presentations, and information of how to check out the source code can be found at

Glasgow DD4hep Installation

Getting the software to run and trying some of the simple examples looks fairly simple according to this readme. However, there are a few things to be aware of:

No On a Mac (did not work) because of too many components not being available

Yes / Done On a Linux box with ILCSoft already installed. Without the ILCSoft components, one has to install many dependencies and soon it get very complicated. Beware of Root older than 5.34.05 that may be not compatible with the latest DD4hep.

SiD Example

After DD4hep is installed as described in the previous section, one can try the SiD example:

source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-17/init_ilcsoft.sh
cd DD4hep/examples/CLICSiD
source ../../bin/thisdd4hep.sh
mkdir build; cd build
cmake ..
make -j install
source ../bin/thisCLICSiD.sh
cd ../../..
./bin/geoDisplay examples/CLICSiD/compact/compact.xml
will produce something like this:


DDSim package

DDSim is a collection of detector geometries for the linear collider detector studies and can be downloaded separately from here.

Mailing list

To sign up to the dd4hep-developers mailing list one can use to the cern e-groups page (https://e-groups.cern.ch).

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng SiDcompact.png r1 manage 90.8 K 2014-05-23 - 09:54 DanProtopopescu SiD compact example screenshot
Topic revision: r8 - 2014-11-11 - DanProtopopescu
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback