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:
On a
Mac (did not work) because of too many components not being available
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
then
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).