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
e9aa54dd
Commit
e9aa54dd
authored
8 years ago
by
Markus Frank
Browse files
Options
Downloads
Patches
Plain Diff
Fix compile error
parent
ad348c9f
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
DDCore/src/CartesianGridXY.cpp
+4
-4
4 additions, 4 deletions
DDCore/src/CartesianGridXY.cpp
with
4 additions
and
4 deletions
DDCore/src/CartesianGridXY.cpp
+
4
−
4
View file @
e9aa54dd
...
@@ -33,8 +33,8 @@ CartesianGridXY::CartesianGridXY(const Segmentation& e) : Handle<Object>()
...
@@ -33,8 +33,8 @@ CartesianGridXY::CartesianGridXY(const Segmentation& e) : Handle<Object>()
}
}
/// determine the position based on the cell ID
/// determine the position based on the cell ID
Position
CartesianGridXY
::
position
(
const
CellID
&
cellID
)
const
{
Position
CartesianGridXY
::
position
(
const
CellID
&
id
)
const
{
return
Position
(
access
()
->
position
(
cellID
));
return
Position
(
access
()
->
position
(
id
));
}
}
/// determine the cell ID based on the position
/// determine the cell ID based on the position
...
@@ -84,6 +84,6 @@ const string& CartesianGridXY::fieldNameY() const {
...
@@ -84,6 +84,6 @@ const string& CartesianGridXY::fieldNameY() const {
-# size in x
-# size in x
-# size in y
-# size in y
*/
*/
vector
<
double
>
CartesianGridXY
::
cellDimensions
(
const
CellID
&
cellID
)
const
{
vector
<
double
>
CartesianGridXY
::
cellDimensions
(
const
CellID
&
id
)
const
{
return
access
()
->
cellDimensions
(
cellID
);
return
access
()
->
cellDimensions
(
id
);
}
}
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