1 #ifndef ALIGTRANSFORM_H
2 #define ALIGTRANSFORM_H
7 /* --------------------------------------------------------------------------- */
9 /* AliGTransform Class */
11 /* This file is part of the ALICE Geometry Database . */
13 /* Author: Joana E. Santo */
15 /* --------------------------------------------------------------------------- */
16 /* This class represents the transformations applied to regions to position them*/
17 /* in the node structure. */
25 class AliGTransform: public TNamed {
38 AliGTransform(); /* Default Constructor */
39 AliGTransform(AliGTransform *tra);
40 AliGTransform( Text_t* name, Text_t* title );
41 AliGTransform( Text_t* name, Text_t* title, Text_t *expression );
42 AliGTransform( Text_t* name, Text_t* title, Text_t *axis, Float_t angle);
43 AliGTransform( Text_t* name, Text_t* title, Float_t theta1,Float_t phi1,
46 Float_t theta3,Float_t
49 AliGTransform( Text_t* name, Text_t* title, Float_t a1,Float_t a2,Float_t a3,Float_t b1,Float_t b2,
50 Float_t b3,Float_t c1,Float_t c2,Float_t c3,Float_t Dx,Float_t Dy,Float_t Dz);
51 virtual ~AliGTransform(); /* Destructor */
53 void BuildMatrix(Float_t Dx=0., Float_t Dy=0., Float_t Dz=0., Float_t
54 theta=0., Float_t psi=0.,Float_t phi=0. );
55 void CheckExpression();
56 TVector* GetMatrix() {return fMatrix;}
58 ClassDef(AliGTransform,1) //Transformation class (Rotation and Translation)