]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSgeom.cxx
Using const char * instead of char * for the file names
[u/mrichter/AliRoot.git] / ITS / AliITSgeom.cxx
index 07c10204fbdda7351f26f62458d364a27c8f2139..e15eccdabf48d7f8bb031bd273df868c09955261 100644 (file)
 
 /*
 $Log$
+Revision 1.20  2002/10/14 14:57:00  hristov
+Merging the VirtualMC branch to the main development branch (HEAD)
+
+Revision 1.18.8.1  2002/07/24 09:27:50  alibrary
+Updating on VirtualMC
+
+Revision 1.19  2002/05/31 21:07:42  mariana
+Fix memory leak
+
+Revision 1.18  2001/08/24 21:06:37  nilsen
+Added more documentation, fixed up some coding violations, and some
+forward declorations.
+
 Revision 1.17  2001/07/27 08:06:48  hristov
 Use global gRandom generator (M.Ivanov)
 
@@ -183,9 +196,7 @@ pixel coordinate system.
 // ITS volumes. See the example classes AliITSgeomSPD, AliITSgeomSDD,
 // and AliITSgeomSSD for a more detailed example.
 ////////////////////////////////////////////////////////////////////////
-#include <iostream.h>
-#include <fstream.h>
-#include <iomanip.h>
+#include <Riostream.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
@@ -293,7 +304,8 @@ AliITSgeom::~AliITSgeom(){
     // TObjArray fShape is, by default, handled by the TObjArray destructor.
 
    if(fGm!=0){
-      for(Int_t i=0;i<fNlayers;i++) delete fGm->At(i);
+     //for(Int_t i=0;i<fNlayers;i++) delete fGm->At(i);
+      fGm->Delete();
       delete fGm;
    } // end if fGm!=0
    if(fNlad!=0) delete[] fNlad;