|
DD4hep
1.30.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
PlacedVolume motherPlacement(int level_up=1) const
Access the placement of the mother of this node.
Position globalToLocal(const Position &globalPoint, int level=-1) const
Transform a point from global coordinates to local coordinates of a given level.
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.
PlacedVolume nodePlacement(int level=-1) const
Access the placement of a node in the chain of placements for this branch.
Handle class holding a placed volume (also called physical volume)
Handle: a templated class like a shared pointer, which allows specialized access to tgeometry objects...
GlobalAlignment(const GlobalAlignment &c)=default
Copy constructor.
Transform3D toGlobal(int level=-1) const
Access the currently applied alignment/placement matrix with respect to the world.
Transform3D nominal() const
Access the currently applied alignment/placement matrix (mother to daughter)
GlobalAlignment & operator=(const GlobalAlignment &c)=default
Assignment operator.
int numNodes() const
Number of nodes in this branch (=depth of the placement hierarchy from the top level volume)
ROOT::Math::Transform3D Transform3D
ROOT::Math::XYZVector Position
GlobalAlignment()=default
Default constructor.
Transform3D delta() const
Access the currently applied correction matrix (delta) (mother to daughter)
Namespace for the AIDA detector description toolkit.
GlobalAlignment(TGeoPhysicalNode *p)
Default constructor.
PlacedVolume placement() const
Access the placement of this node.
Transform3D toMother(int level=-1) const
Access the currently applied alignment/placement matrix with respect to mother volume.
Transform3D invDelta() const
Access the inverse of the currently applied correction matrix (delta) (mother to daughter)