]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added initialisqtions in the default ctor and corrected destruction of an array.
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Nov 2001 13:10:51 +0000 (13:10 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Nov 2001 13:10:51 +0000 (13:10 +0000)
PHOS/AliPHOSGeometry.cxx
PHOS/AliPHOSGeometry.h
PHOS/AliPHOSvImpacts.cxx

index 15d0d1ca2ee82928b7bb93a683a54c8551e5e5a9..1bdda1701f766c0e509418aa6a92a65aa7195f90 100644 (file)
@@ -58,7 +58,7 @@ AliPHOSGeometry::~AliPHOSGeometry(void)
 
   if (fRotMatrixArray) fRotMatrixArray->Delete() ; 
   if (fRotMatrixArray) delete fRotMatrixArray ; 
-  if (fPHOSAngle     ) delete fPHOSAngle ; 
+  if (fPHOSAngle     ) delete[] fPHOSAngle ; 
 }
 //____________________________________________________________________________
 
index 049033a1a7e26999d22e3e5bbac6cd02f0566447..2ca41430ea18cb5bf1eff7f8f3f20a4462bdea89 100644 (file)
@@ -43,11 +43,13 @@ public:
     fPHOSAngle = 0 ;
     fGeometryEMCA = 0;
     fGeometrySUPP = 0;
-    fgGeom = 0;
-  }  
+    fGeometryCPV  = 0;
+    fgGeom        = 0;
+    fRotMatrixArray = 0;  }  
 
   AliPHOSGeometry(const AliPHOSGeometry & geom) {
     // cpy ctor requested by Coding Convention but not yet needed
+    
     assert(0==1) ;
   } 
   
index 21d68850b4191db1fdb7156bf1de15f78223c7e7..80780d83d5f0a284d0070da7045dc3df89484b55 100644 (file)
@@ -46,8 +46,9 @@ ClassImp(AliPHOSvImpacts)
 AliPHOSvImpacts::AliPHOSvImpacts():AliPHOSv1()
 {
   // ctor
-  fEMCImpacts = 0;
-  fPPSDImpacts = 0;
+  fEMCImpacts  = 0 ;
+  fPPSDImpacts = 0 ;
+  fCPVImpacts  = 0 ; 
 }
 
 //____________________________________________________________________________