27 TRotMatrix::TRotMatrix()
29 for (
int i=0;i<9;i++)
fMatrix[i] = 0;
43 if (!matrix) {
Error(
"ctor",
"No rotation is supplied");
return; }
63 printf(
"ERROR: This form of TRotMatrix constructor not implemented yet\n");
70 for (i=0;i<9;i++)
fMatrix[i] = 0;
103 SetAngles(theta1,phi1,theta2,phi2,theta3,phi3);
126 + fMatrix[6] * (fMatrix[1]*fMatrix[5] - fMatrix[4]*fMatrix[2]);
153 for (
Int_t i=0;i<3;i++) {
154 for (
Int_t j=0;j<3;j++) memcpy(glmatrix,matrix,3*
sizeof(
Double_t));
160 for (
Int_t j=0;j<3;j++) {
189 const Double_t degrad = 0.0174532925199432958;
196 if (!strcmp(
GetName(),
"Identity")) fType = 0;
241 void TRotMatrix::Streamer(
TBuffer &R__b)
251 TNamed::Streamer(R__b);
THashList * GetListOfMatrices() const
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
Buffer base class used for serializing objects.
virtual Int_t CheckByteCount(UInt_t startpos, UInt_t bcnt, const TClass *clss)=0
virtual void SetMatrix(const Double_t *matrix)
copy predefined 3x3 matrix into TRotMatrix object
virtual Int_t ReadStaticArray(Bool_t *b)=0
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual Double_t * GetGLMatrix(Double_t *rGLMatrix) const
Convert this matrix to the OpenGL [4x4].
The TNamed class is the base class for all named ROOT classes.
virtual void SetReflection()
Checks whether the determinant of this matrix defines the reflection transformation and set the "refl...
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Double_t Determinant() const
Returns the value of the determinant of this matrix.
TObject * Remove(TObject *obj)
Remove object from the list.
virtual const char * GetName() const
Returns name of object.
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 ~TRotMatrix()
RotMatrix default destructor.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual Int_t GetSize() const
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
virtual void Add(TObject *obj)
R__EXTERN TGeometry * gGeometry
virtual Version_t ReadVersion(UInt_t *start=0, UInt_t *bcnt=0, const TClass *cl=0)=0