Skip to content
Snippets Groups Projects
Commit 1974a486 authored by Marko Petric's avatar Marko Petric
Browse files

fix LHeD examples

parent 7953562d
No related branches found
No related tags found
No related merge requests found
......@@ -60,16 +60,14 @@ endforeach()
# ROOT Geometry overlap checks
dd4hep_add_test_reg( LHeD_check_geometry_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_LHeD.sh"
EXEC_ARGS python ${DD4hep_DIR}/python/checkGeometry.py
--compact=file:${LHeDEx_INSTALL}/compact/compact.xml
EXEC_ARGS checkGeometry --compact=file:${LHeDEx_INSTALL}/compact/compact.xml
# This takes too long --full=true --ntracks=10 --option=o --vx=0 --vy=0 --vz=0
REGEX_PASS " Execution finished..." )
#
# ROOT Geometry overlap checks
dd4hep_add_test_reg( LHeD_check_overlaps_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_LHeD.sh"
EXEC_ARGS python ${DD4hep_DIR}/python/checkOverlaps.py
--compact=file:${LHeDEx_INSTALL}/compact/compact.xml
EXEC_ARGS checkOverlaps --compact=file:${LHeDEx_INSTALL}/compact/compact.xml
--tolerance=0.1
REGEX_PASS " Execution finished..." )
#
......@@ -89,8 +87,7 @@ if (DD4HEP_USE_GEANT4)
# Material scan
dd4hep_add_test_reg( LHeD_DDG4_g4material_scan_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_LHeD.sh"
EXEC_ARGS python ${DD4hep_DIR}/python/g4MaterialScan.py
--compact=file:${LHeDEx_INSTALL}/compact/compact.xml
EXEC_ARGS g4MaterialScan --compact=file:${LHeDEx_INSTALL}/compact/compact.xml
"--position=0,0,0" "--direction=0,1,0"
REGEX_PASS " Terminate Geant4 and delete associated actions." )
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment