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
ba1bda65
Commit
ba1bda65
authored
3 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Try to fix MAC link error
parent
32d1c021
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
DDTest/CMakeLists.txt
+2
-1
2 additions, 1 deletion
DDTest/CMakeLists.txt
DDTest/src/test_cellDimensions.cc
+2
-2
2 additions, 2 deletions
DDTest/src/test_cellDimensions.cc
DDTest/src/test_segmentationHandles.cc
+3
-1
3 additions, 1 deletion
DDTest/src/test_segmentationHandles.cc
with
7 additions
and
4 deletions
DDTest/CMakeLists.txt
+
2
−
1
View file @
ba1bda65
...
...
@@ -15,8 +15,9 @@ add_library(DD4hep::DDTest ALIAS DDTest)
dd4hep_use_python_executable
()
target_include_directories
(
DDTest INTERFACE include
)
## test_example
foreach
(
TEST_NAME
test_example
test_bitfield64
test_bitfieldcoder
test_DetType
...
...
This diff is collapsed.
Click to expand it.
DDTest/src/test_cellDimensions.cc
+
2
−
2
View file @
ba1bda65
...
...
@@ -13,10 +13,10 @@
#include
<cmath>
static
dd4hep
::
DDTest
test
(
"CellDimensions"
)
;
int
main
(
)
{
dd4hep
::
DDTest
test
(
"CellDimensions"
)
;
int
main
()
{
try
{
dd4hep
::
DDSegmentation
::
CartesianGridXY
seg
(
"system:8,barrel:3,layer:8,slice:5,x:16,y:16"
);
...
...
This diff is collapsed.
Click to expand it.
DDTest/src/test_segmentationHandles.cc
+
3
−
1
View file @
ba1bda65
...
...
@@ -13,12 +13,14 @@
#include
<cmath>
static
dd4hep
::
DDTest
test
(
"CellDimensions"
)
;
using
namespace
dd4hep
;
using
namespace
dd4hep
::
detail
;
//using dd4hep::DDSegmentation::BitFieldCoder;
int
main
()
{
dd4hep
::
DDTest
test
(
"CellDimensions"
);
try
{
BitFieldCoder
bf
(
"system:8,barrel:3,layer:8,slice:5,x:16,y:16"
);
Segmentation
base
(
"CartesianGridXY"
,
"Test"
,
&
bf
);
...
...
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