]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUON2DMap.h
track matching macros from Alberto
[u/mrichter/AliRoot.git] / MUON / AliMUON2DMap.h
index b2e6c5c123c41c654c7a59be01d9a221d0a15876..a8b657ee5744d1841ce5986f633dc3905900aa31 100644 (file)
@@ -8,7 +8,7 @@
 /// \brief Basic implementation of AliMUONV2DStore container using
 /// AliMpExMap internally.
 ///
-/// \author Laurent Aphecetche
+//  Author Laurent Aphecetche
 
 #ifndef AliMUON2DMAP_H
 #define AliMUON2DMAP_H
@@ -23,9 +23,13 @@ public:
   AliMUON2DMap();  
   virtual ~AliMUON2DMap();
 
+  /// The returned iterator is owned by the client.
+  AliMUONVDataIterator* Iterator() const;
+  
   virtual TObject* Get(Int_t i, Int_t j) const;
   virtual Bool_t Set(Int_t i, Int_t j, TObject* object, Bool_t replace);
-  virtual Bool_t IsOwner() const { return kTRUE; }
+  /// Whether or not this container is the owner of its contents.
+  virtual Bool_t IsOwner() const { return kTRUE; } 
 
   virtual void Print(Option_t* opt="") const;
 
@@ -34,10 +38,10 @@ protected:
   AliMUON2DMap&  operator = (const AliMUON2DMap& other);
 
 private:
-    void CopyTo(AliMUON2DMap& destination) const;
-  
+  void CopyTo(AliMUON2DMap& destination) const;
+
 private:
-  AliMpExMap* fMap; // Our internal map (an AliMpExMap of AliMpExMaps)
+  AliMpExMap* fMap; ///< Our internal map (an AliMpExMap of AliMpExMaps)
   
   ClassDef(AliMUON2DMap,1) // A 2D container
 };