]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONV2DStore.h
Added protection and 2 levels for problems
[u/mrichter/AliRoot.git] / MUON / AliMUONV2DStore.h
index 61c7fda9ad9240ec1cb36a5b65fe143cbaee12c5..3f02dcf64641cdba0aff7a8a5f56e6471daaf7d1 100644 (file)
@@ -3,7 +3,7 @@
 
 // $Id$
 
-/// \ingroup base
+/// \ingroup calib
 /// \class AliMUONV2DStore
 /// \brief Generic container indexed by a pair of integers.
 /// 
@@ -24,18 +24,24 @@ public:
   AliMUONV2DStore();
   virtual ~AliMUONV2DStore();
   
-  virtual AliMUONVDataIterator* Iterator() const { return 0x0; }
+  /// Return an empty copy of self.
+  virtual AliMUONV2DStore* CloneEmpty() const { return 0x0; }
   
   /// Return the object stored at (i,j).
   virtual TObject* Get(Int_t i, Int_t j) const = 0;
+    
+  /// Whether or not this container is the owner of its contents.
+  virtual Bool_t IsOwner() const = 0;
+    
+  /// Return iterator
+  virtual AliMUONVDataIterator* Iterator() const { return 0x0; }
   
   /** Set the object stored at (i,j).
     if replace=false and there's already an object there, returns kFALSE
     */
   virtual Bool_t Set(Int_t i, Int_t j, TObject*, Bool_t replace) = 0;
   
-  /// Whether or not this container is the owner of its contents.
-  virtual Bool_t IsOwner() const = 0;
+  virtual void Print(Option_t* opt="") const;
   
 private:  
   ClassDef(AliMUONV2DStore,0) // Generic container indexed by a pair of integers