]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Not persistent class
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jul 2006 15:13:13 +0000 (15:13 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 21 Jul 2006 15:13:13 +0000 (15:13 +0000)
TPC/AliTPCROC.cxx
TPC/AliTPCROC.h

index 1182b84c08af43ad04ba120f97ac5fb0451211d0..1b8c39db4a624d346ca49aa1a724b954b5b33f8f 100644 (file)
@@ -260,6 +260,7 @@ AliTPCROC::~AliTPCROC()
   delete [] fNPads[1];
   delete [] fRowPosIndex[0];
   delete [] fRowPosIndex[1];
+  fgInstance = 0x0;
   
 }
 
index 3d9e0355f6d646b914913ad2da9752adcb318fb4..921930754a7ed80fe93ad95fd1cb4aaed664f131 100644 (file)
@@ -119,8 +119,8 @@ class AliTPCROC : public TObject {
   Float_t   fYInner[600];     //Inner sector, wire-length
   Float_t   fYOuter[600];     //Outer sector, wire-length   
  protected:
-  static AliTPCROC*   fgInstance; // Instance of this class (singleton implementation)
-  ClassDef(AliTPCROC,1)    //  TPC ROC class
+  static AliTPCROC*   fgInstance; //! Instance of this class (singleton implementation)
+  ClassDef(AliTPCROC,0)    //  TPC ROC class
 };
 
 #endif