DD4hep is a software framework for providing a complete solution for full detector description (geometry, materials, visualization, readout, alignment, calibration, etc...
source /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/v02-00-01/root/6.08.06/bin/thisroot.sh source /cvmfs/ilc.desy.de/sw/x86_64_gcc49_sl6/v02-00-01/geant4/10.03.p02/bin/geant4.sh
mkdir build cd build cmake -DDD4HEP_USE_GEANT4=ON -DBoost_NO_BOOST_CMAKE=ON -DDD4HEP_USE_LCIO=ON -DBUILD_TESTING=ON -DGeant4_DIR=$G4INSTALL/lib/Geant4-10.3.0 -DROOT_DIR=$ROOTSYS .. make -j4 make install
If you want to run the simulation with your local dd4hep installation, make sure to source the dd4hep which you are using :
before running your simulation check always the DD4hep directory you are using and the ddsim :
echo $DD4hep_DIR echo $DD4hep_ROOT which ddsim