|
DD4hep
1.28.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DD4HEP_GLOBALALIGNMENT_H
14 #define DD4HEP_GLOBALALIGNMENT_H
20 #include "TGeoPhysicalNode.h"
48 :
Handle<TGeoPhysicalNode>(e) {
87 #endif // DD4HEP_GLOBALALIGNMENT_H
GlobalAlignment(const Handle< Q > &e)
Constructor to be used when reading the already parsed object.
Main handle class to hold a TGeo alignment object of type TGeoPhysicalNode.
Transform3D toGlobal(int level=-1) const
Access the currently applied alignment/placement matrix with respect to the world.
Handle class holding a placed volume (also called physical volume)
PlacedVolume motherPlacement(int level_up=1) const
Access the placement of the mother of this node.
int numNodes() const
Number of nodes in this branch (=depth of the placement hierarchy from the top level volume)
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
Transform3D nominal() const
Access the currently applied alignment/placement matrix (mother to daughter)
GlobalAlignment(const GlobalAlignment &c)=default
Copy constructor.
Position globalToLocal(const Position &globalPoint, int level=-1) const
Transform a point from global coordinates to local coordinates of a given level.
Transform3D invDelta() const
Access the inverse of the currently applied correction matrix (delta) (mother to daughter)
Transform3D delta() const
Access the currently applied correction matrix (delta) (mother to daughter)
Transform3D toMother(int level=-1) const
Access the currently applied alignment/placement matrix with respect to mother volume.
GlobalAlignment & operator=(const GlobalAlignment &c)=default
Assignment operator.
PlacedVolume placement() const
Access the placement of this node.
ROOT::Math::Transform3D Transform3D
ROOT::Math::XYZVector Position
GlobalAlignment()=default
Default constructor.
Namespace for the AIDA detector description toolkit.
GlobalAlignment(TGeoPhysicalNode *p)
Default constructor.
PlacedVolume nodePlacement(int level=-1) const
Access the placement of a node in the chain of placements for this branch.