]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant3/AliG3toRoot.cxx
The operator[] is replaced by At() or AddAt() in case of TObjArray.
[u/mrichter/AliRoot.git] / TGeant3 / AliG3toRoot.cxx
index fa9f91e2c361a40454734fc8c2e36661d5390eed..b36a25fa64594e2814564268d59494e1346c03cc 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.1  2001/07/09 11:43:01  morsch
+Class Responsible for G3 -> Root geometry conversion.
+
 */
 
 
@@ -390,9 +393,12 @@ void AliG3toRoot::ReadRotations()
         for(irm=1;irm<=nrot;irm++) {
             jrm  = fZlq[fGclink->jrotm-irm];
             sprintf(name, "R%d", irm);
-            (*fRotations)[irm-1] =
+         //PH       (*fRotations)[irm-1] =
+           //PH                 new TRotMatrix(name, "Rotation", fZq[jrm+11], fZq[jrm+12], fZq[jrm+13], 
+           //PH                                fZq[jrm+14], fZq[jrm+15], fZq[jrm+16]);
+            fRotations->AddAt(
                 new TRotMatrix(name, "Rotation", fZq[jrm+11], fZq[jrm+12], fZq[jrm+13], 
-                               fZq[jrm+14], fZq[jrm+15], fZq[jrm+16]);
+                               fZq[jrm+14], fZq[jrm+15], fZq[jrm+16]), irm-1);
         }
     }
 }