]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Correct problems with distructors and pointers, thanks to I.Hrivnacova
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 14 Nov 1999 14:33:27 +0000 (14:33 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 14 Nov 1999 14:33:27 +0000 (14:33 +0000)
ITS/AliITS.cxx
PHOS/AliPHOSv2.cxx

index 4505d59034e45c286d08f43ca7f9cac94e8b0b29..2b98352cde37903ce33113695acac647405b0b7c 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.8  1999/09/29 09:24:19  fca
+Introduction of the Copyright and cvs Log
+
 */
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -81,14 +84,13 @@ the AliITS class.
 ClassImp(AliITS)
  
 //_____________________________________________________________________________
-AliITS::AliITS() : AliDetector(){
+AliITS::AliITS() {
   //
   // Default initialiser for ITS
   //     The default constructor of the AliITS class. In addition to
   // creating the AliITS class it zeros the variables fIshunt (a member
   // of AliDetector class), fEuclidOut, and fIdN, and zeros the pointers
-  // fITSpoints, fIdSens, and fIdName. The AliDetector default constructor
-  // is also called.
+  // fITSpoints, fIdSens, and fIdName.
   //
   fITSpoints  = 0;
   fIshunt     = 0;
@@ -96,6 +98,7 @@ AliITS::AliITS() : AliDetector(){
   fIdN        = 0;
   fIdName     = 0;
   fIdSens     = 0;
+  fITSmodules = 0;
 
 }
 //_____________________________________________________________________________
@@ -116,7 +119,7 @@ AliITS::AliITS(const char *name, const char *title):AliDetector(name,title){
   fHits       = new TClonesArray("AliITShit", 1560);
   fDigits     = new TClonesArray("AliITSdigit",1000);
   fITSpoints  = new TObjArray();
-//  fITSmodules = new AliITSmodules();
+  fITSmodules = 0; //new AliITSmodules();
 
   fIshunt     = 0;
   fEuclidOut  = 0;
index 43ebebbdc857e70d7353c99ef66d694344aeacfb..ecd1a606eaa338d57176aca84f731c7c93026268 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.9  1999/11/08 07:12:31  fca
+Minor corrections thanks to I.Hrivnacova
+
 Revision 1.8  1999/09/29 09:24:25  fca
 Introduction of the Copyright and cvs Log
 
@@ -59,8 +62,6 @@ AliPHOSv2::~AliPHOSv2(void)
   //  fNH       = 0;
   fIshunt   = 0;
   
-  delete fHits;
-
 }
 
 ///////////////////////////////////////////////////////////////////////////////