Skip to content
Snippets Groups Projects
Commit 98f2fe50 authored by Andre Sailer's avatar Andre Sailer
Browse files

Add depreacted attribute to detector functions

parent b99700c3
No related branches found
No related tags found
No related merge requests found
...@@ -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;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment