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
3e53ab0b
Commit
3e53ab0b
authored
10 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
DDTest: Change type, caused warning for signed/unsigned comparison
parent
7e8d779f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDTest/src/test_PolarGridRPhi2.cc
+3
-3
3 additions, 3 deletions
DDTest/src/test_PolarGridRPhi2.cc
with
3 additions
and
3 deletions
DDTest/src/test_PolarGridRPhi2.cc
+
3
−
3
View file @
3e53ab0b
...
...
@@ -112,9 +112,9 @@ int main() {
DD4hep
::
DDSegmentation
::
CellID
cid
=
seg
.
cellID
(
locPos
,
globPos
,
volID
);
const
unsigned
long
long
phiShifted
(
pB
<<
phiBitOffset
);
const
unsigned
long
long
rShifted
(
rB
<<
rBitOffset
);
const
unsigned
long
long
expectedID
(
rShifted
+
phiShifted
);
const
long
long
phiShifted
(
pB
<<
phiBitOffset
);
const
long
long
rShifted
(
rB
<<
rBitOffset
);
const
long
long
expectedID
(
rShifted
+
phiShifted
);
test
(
expectedID
,
cid
,
" Test get ID From Position"
);
...
...
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