12#ifndef ROOT_TRotMatrix
13#define ROOT_TRotMatrix
#define ClassDefOverride(name, id)
The TNamed class is the base class for all named ROOT classes.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
Manages a detector rotation matrix.
virtual const Double_t * SetAngles(Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3)
theta1 is the polar angle of the x-prim axis in the main reference system (MRS), theta2 and theta3 ha...
virtual Int_t GetType() const
virtual Int_t GetNumber() const
virtual Double_t GetPsi() const
virtual Double_t GetPhi() const
void SetName(const char *name) override
Set the name of the TNamed.
virtual Double_t GetTheta() const
~TRotMatrix() override
RotMatrix default destructor.
virtual void SetReflection()
Checks whether the determinant of this matrix defines the reflection transformation and set the "refl...
virtual void SetMatrix(const Double_t *matrix)
copy predefined 3x3 matrix into TRotMatrix object
TRotMatrix()
RotMatrix default constructor.
virtual Double_t * GetMatrix()
virtual Bool_t IsReflection() const
virtual Double_t Determinant() const
Returns the value of the determinant of this matrix.
virtual Double_t * GetGLMatrix(Double_t *rGLMatrix) const
Convert this matrix to the OpenGL [4x4].