]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliObjMatrix.h
defects fixed
[u/mrichter/AliRoot.git] / RALICE / AliObjMatrix.h
index b60e37e444870846276706ee3a4adb93ff21938c..1af10191642575ce4d785882de0ac0650410b966 100644 (file)
@@ -5,16 +5,17 @@
 
 // $Id$
 
-#include "TObject.h"
+#include "TNamed.h"
 #include "TObjArray.h"
-#include "TRefArray.h"
 #include "TArrayI.h"
 
-class AliObjMatrix : public TObject
+class AliObjMatrix : public TNamed
 {
  public:
   AliObjMatrix();                                                   // Default constructor
   virtual ~AliObjMatrix();                                          // Default destructor
+  AliObjMatrix(const AliObjMatrix& m);                              // Copy constructor
+  virtual TObject* Clone(const char* name="") const;                // Make a deep copy and provide its pointer
   virtual void Reset();                                             // Reset the whole matrix structure
   virtual void SetOwner(Int_t own=1);                               // Set the owner flag for the stored objects
   virtual Int_t GetOwner() const;                                   // Provide the owner flag for the stored objects
@@ -42,6 +43,6 @@ class AliObjMatrix : public TObject
   Int_t fMaxcol;       // The maximum column number index
   TObjArray* fObjects; // Linear reference array for fast looping over the stored objects
  
- ClassDef(AliObjMatrix,5) // Handling of a matrix structure of objects.
+ ClassDef(AliObjMatrix,7) // Handling of a matrix structure of objects.
 };
 #endif