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
98f2fe50
Commit
98f2fe50
authored
8 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Add depreacted attribute to detector functions
parent
b99700c3
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/include/DD4hep/Detector.h
+6
-0
6 additions, 0 deletions
DDCore/include/DD4hep/Detector.h
with
6 additions
and
0 deletions
DDCore/include/DD4hep/Detector.h
+
6
−
0
View file @
98f2fe50
...
@@ -396,18 +396,24 @@ namespace DD4hep {
...
@@ -396,18 +396,24 @@ namespace DD4hep {
// Deprecated functions to be removed soon:
// Deprecated functions to be removed soon:
/// Create cached matrix to transform to world coordinates
/// Create cached matrix to transform to world coordinates
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().worldTransformation"
)]]
const
TGeoHMatrix
&
worldTransformation
()
const
;
const
TGeoHMatrix
&
worldTransformation
()
const
;
/// Create cached matrix to transform to parent coordinates
/// Create cached matrix to transform to parent coordinates
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().parentTransformation"
)]]
const
TGeoHMatrix
&
parentTransformation
()
const
;
const
TGeoHMatrix
&
parentTransformation
()
const
;
/// Transformation from local coordinates of the placed volume to the world system
/// Transformation from local coordinates of the placed volume to the world system
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().localToWorld()"
)]]
bool
localToWorld
(
const
Position
&
local
,
Position
&
global
)
const
;
bool
localToWorld
(
const
Position
&
local
,
Position
&
global
)
const
;
/// Transformation from local coordinates of the placed volume to the parent system
/// Transformation from local coordinates of the placed volume to the parent system
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().localToParent"
)]]
bool
localToParent
(
const
Position
&
local
,
Position
&
parent
)
const
;
bool
localToParent
(
const
Position
&
local
,
Position
&
parent
)
const
;
/// Transformation from world coordinates of the local placed volume coordinates
/// Transformation from world coordinates of the local placed volume coordinates
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().worldToLocal"
)]]
bool
worldToLocal
(
const
Position
&
global
,
Position
&
local
)
const
;
bool
worldToLocal
(
const
Position
&
global
,
Position
&
local
)
const
;
/// Transformation from world coordinates of the local placed volume coordinates
/// Transformation from world coordinates of the local placed volume coordinates
[[
gnu
::
deprecated
(
"Use _DetElement_.nominal().parentToLocal"
)]]
bool
parentToLocal
(
const
Position
&
parent
,
Position
&
local
)
const
;
bool
parentToLocal
(
const
Position
&
parent
,
Position
&
local
)
const
;
};
};
...
...
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