]>
Commit | Line | Data |
---|---|---|
f6e5d0e9 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | /// \ingroup base | |
7 | /// \class AliMUON2DMap | |
8 | /// \brief Basic implementation of AliMUONV2DStore container using | |
e5cc543e | 9 | /// AliMpExMap internally. |
f6e5d0e9 | 10 | /// |
5398f946 | 11 | // Author Laurent Aphecetche |
f6e5d0e9 | 12 | |
13 | #ifndef AliMUON2DMAP_H | |
14 | #define AliMUON2DMAP_H | |
15 | ||
16 | #include "AliMUONV2DStore.h" | |
17 | ||
18 | class AliMpExMap; | |
19 | ||
20 | class AliMUON2DMap : public AliMUONV2DStore | |
21 | { | |
22 | public: | |
9d5f6a64 | 23 | AliMUON2DMap(); |
f6e5d0e9 | 24 | virtual ~AliMUON2DMap(); |
25 | ||
26 | virtual TObject* Get(Int_t i, Int_t j) const; | |
9d5f6a64 | 27 | virtual Bool_t Set(Int_t i, Int_t j, TObject* object, Bool_t replace); |
5398f946 | 28 | /// Whether or not this container is the owner of its contents. |
29 | virtual Bool_t IsOwner() const { return kTRUE; } | |
f6e5d0e9 | 30 | |
31 | virtual void Print(Option_t* opt="") const; | |
884a73f1 | 32 | |
33 | protected: | |
9d5f6a64 | 34 | AliMUON2DMap(const AliMUON2DMap& other); |
35 | AliMUON2DMap& operator = (const AliMUON2DMap& other); | |
36 | ||
37 | private: | |
38 | void CopyTo(AliMUON2DMap& destination) const; | |
f6e5d0e9 | 39 | |
40 | private: | |
18b6b8c7 | 41 | AliMpExMap* fMap; ///< Our internal map (an AliMpExMap of AliMpExMaps) |
f6e5d0e9 | 42 | |
e5cc543e | 43 | ClassDef(AliMUON2DMap,1) // A 2D container |
f6e5d0e9 | 44 | }; |
45 | ||
46 | #endif |