Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
1974a486
Commit
1974a486
authored
5 years ago
by
Marko Petric
Browse files
Options
Downloads
Patches
Plain Diff
fix LHeD examples
parent
7953562d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/LHeD/CMakeLists.txt
+3
-6
3 additions, 6 deletions
examples/LHeD/CMakeLists.txt
with
3 additions
and
6 deletions
examples/LHeD/CMakeLists.txt
+
3
−
6
View file @
1974a486
...
...
@@ -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."
)
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment