File indexing completed on 2025-01-18 09:14:37
0001
0002
0003
0004
0005
0006 SW=~/SW
0007 MY_ROOT=${SW}/root_v5.34.25_dbg
0008 MY_GEANT4=${SW}/g4_10.01.p02_dbg
0009 MY_LCIO=${SW}/lcio/v02-04-03
0010 MY_XERCES=${SW}/xerces-c-3.1.1
0011 MY_DD4HEP=`pwd`/DD4hep_tmp2
0012
0013
0014
0015 . ${MY_ROOT}/bin/thisroot.sh
0016 . ${MY_GEANT4}/bin/geant4.sh
0017
0018 mkdir -p ${MY_DD4HEP}/build
0019 mkdir -p ${MY_DD4HEP}/install
0020 cd ${MY_DD4HEP}
0021 svn co https://svnsrv.desy.de/basic/aidasoft/DD4hep/trunk
0022
0023 cd build
0024 cmake -DCMAKE_BUILD_TYPE=Debug \
0025 -DCMAKE_INSTALL_PREFIX=${MY_DD4HEP}/install \
0026 -DCMAKE_MODULE_PATH=${MY_DD4HEP}/install \
0027 -DDD4HEP_USE_XERCESC=ON -DXERCESC_ROOT_DIR=${MY_XERCES} \
0028 -DDD4HEP_USE_BOOST=ON -DDD4HEP_USE_GEANT4=ON -DGeant4_ROOT=${MY_GEANT4} \
0029 -DDD4HEP_USE_LCIO=ON -DLCIO_DIR=${MY_LCIO} \
0030 ../trunk
0031
0032
0033 make -j 6 install
0034
0035
0036 cd ${MY_DD4HEP}/install
0037 . bin/thisdd4hep.sh
0038 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MY_LCIO}/lib
0039
0040
0041 python examples/DDG4/examples/CLICSidSimu.py