1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUON2DMap
8 /// \brief Basic implementation of AliMUONV2DStore container using
9 /// AliMpExMap internally.
11 // Author Laurent Aphecetche
13 #ifndef AliMUON2DMAP_H
14 #define AliMUON2DMAP_H
16 #include "AliMUONV2DStore.h"
20 class AliMUON2DMap : public AliMUONV2DStore
24 virtual ~AliMUON2DMap();
26 /// The returned iterator is owned by the client.
27 AliMUONVDataIterator* Iterator() const;
29 virtual TObject* Get(Int_t i, Int_t j) const;
30 virtual Bool_t Set(Int_t i, Int_t j, TObject* object, Bool_t replace);
31 /// Whether or not this container is the owner of its contents.
32 virtual Bool_t IsOwner() const { return kTRUE; }
34 virtual void Print(Option_t* opt="") const;
37 AliMUON2DMap(const AliMUON2DMap& other);
38 AliMUON2DMap& operator = (const AliMUON2DMap& other);
41 void CopyTo(AliMUON2DMap& destination) const;
44 AliMpExMap* fMap; ///< Our internal map (an AliMpExMap of AliMpExMaps)
46 ClassDef(AliMUON2DMap,1) // A 2D container