]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeom.h
Modified AliITSvPPRasymmFMD.cxx so that it will, using the Virtual MC,
[u/mrichter/AliRoot.git] / ITS / AliITSgeom.h
index 7dc9f9738e6a41eb3cae97b982b87cc7fad8bad3..adcffaa01d5fbc9e5a5c620986ad5afeffd860be 100644 (file)
@@ -219,6 +219,12 @@ class AliITSgeom : public TObject {
           Double_t rot[3][3];
          GetGeomMatrix(index)->GetMatrix(rot);
           for(Int_t i=0;i<3;i++)for(Int_t j=0;j<3;j++) mat[3*i+j] = rot[i][j];}
+    //     This function sets the rotation matrix in a Double
+    // precision pointer for a given module. mat[i][j] => mat[3*i+j].
+    void  SetRotMatrix(Int_t index,Double_t *mat){Double_t rot[3][3];
+          for(Int_t i=0;i<3;i++)for(Int_t j=0;j<3;j++) rot[i][j]=mat[3*i+j];
+          GetGeomMatrix(index)->SetMatrix(rot);}
+
 //
     //     Will define fShape if it isn't already defined.
     void DefineShapes(Int_t size=4)