1 #ifndef ALIGTRANSFORM_H
2 #define ALIGTRANSFORM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
12 /* --------------------------------------------------------------------------- */
14 /* AliGTransform Class */
16 /* This file is part of the ALICE Geometry Database . */
18 /* Author: Joana E. Santo */
20 /* --------------------------------------------------------------------------- */
21 /* This class represents the transformations applied to regions to position them*/
22 /* in the node structure. */
30 class AliGTransform: public TNamed {
43 AliGTransform(); /* Default Constructor */
44 AliGTransform(AliGTransform *tra);
45 AliGTransform( Text_t* name, Text_t* title );
46 AliGTransform( Text_t* name, Text_t* title, Text_t *expression );
47 AliGTransform( Text_t* name, Text_t* title, Text_t *axis, Float_t angle);
48 AliGTransform( Text_t* name, Text_t* title, Float_t theta1,Float_t phi1,
51 Float_t theta3,Float_t
54 AliGTransform( Text_t* name, Text_t* title, Float_t a1,Float_t a2,Float_t a3,Float_t b1,Float_t b2,
55 Float_t b3,Float_t c1,Float_t c2,Float_t c3,Float_t Dx,Float_t Dy,Float_t Dz);
56 virtual ~AliGTransform(); /* Destructor */
58 void BuildMatrix(Float_t Dx=0., Float_t Dy=0., Float_t Dz=0., Float_t
59 theta=0., Float_t psi=0.,Float_t phi=0. );
60 void CheckExpression();
61 TVector* GetMatrix() {return fMatrix;}
63 ClassDef(AliGTransform,1) //Transformation class (Rotation and Translation)