]>
Commit | Line | Data |
---|---|---|
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 | |
9 | /// AliMpExMap internally. | |
10 | /// | |
11 | /// \author Laurent Aphecetche | |
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: | |
23 | AliMUON2DMap(); | |
24 | virtual ~AliMUON2DMap(); | |
25 | ||
26 | virtual TObject* Get(Int_t i, Int_t j) const; | |
27 | virtual Bool_t Set(Int_t i, Int_t j, TObject* object, Bool_t replace); | |
28 | virtual Bool_t IsOwner() const { return kTRUE; } | |
29 | ||
30 | virtual void Print(Option_t* opt="") const; | |
31 | ||
32 | protected: | |
33 | AliMUON2DMap(const AliMUON2DMap& other); | |
34 | AliMUON2DMap& operator = (const AliMUON2DMap& other); | |
35 | ||
36 | private: | |
37 | void CopyTo(AliMUON2DMap& destination) const; | |
38 | ||
39 | private: | |
40 | AliMpExMap* fMap; // Our internal map (an AliMpExMap of AliMpExMaps) | |
41 | ||
42 | ClassDef(AliMUON2DMap,1) // A 2D container | |
43 | }; | |
44 | ||
45 | #endif |