1 #ifndef DETECTOR_DESCRIPTION_CORE_DDTRANSFORM_H 2 #define DETECTOR_DESCRIPTION_CORE_DDTRANSFORM_H 19 std::unique_ptr<DDRotationMatrix>
rot );
22 std::unique_ptr<DDRotationMatrix>
rot );
28 double thetaX,
double phiX,
29 double thetaY,
double phiY,
30 double thetaZ,
double phiZ );
38 double thetaX,
double phiX,
39 double thetaY,
double phiY,
40 double thetaZ,
double phiZ );
56 std::unique_ptr<DDRotationMatrix>
58 double thetaY,
double phiY,
59 double thetaZ,
double phiZ );
71 friend std::unique_ptr<DDRotation>
DDrotPtr(
const DDName &, std::unique_ptr<DDRotationMatrix> );
101 DDRotation( std::unique_ptr<DDRotationMatrix> );
const DDName & name() const
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
DDName is used to identify DDD entities uniquely.
friend DDRotation DDanonymousRot(std::unique_ptr< DDRotationMatrix >)
Defines a anonymous rotation or rotation-reflection matrix.
Represents a uniquely identifyable rotation matrix.
const DDI::rep_traits< DDName, std::unique_ptr< DDRotationMatrix > >::reference rep() const
friend std::unique_ptr< DDRotation > DDrotPtr(const DDName &, std::unique_ptr< DDRotationMatrix >)
friend DDRotation DDrotReflect(const DDName &, double, double, double, double, double, double)
Defines a rotation-reflection in the Geant3 way.
const DDRotationMatrix & rotation() const
Returns the read-only rotation-matrix.
DDRotation()
refers to the unit-rotation (no rotation at all)
DDRotationMatrix & rotation()
friend DDRotation DDrot(const DDName &, std::unique_ptr< DDRotationMatrix >)
Definition of a uniquely identifiable rotation matrix named by DDName name.
DDRotationMatrix & matrix()