1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
7 /// \class AliMUON1DMap
8 /// \brief Implementation of AliMUONV1DStore
10 // Author Laurent Aphecetche
12 #ifndef ALIMUON1DMAP_H
13 #define ALIMUON1DMAP_H
15 #ifndef ALIMUONV1DSTORE_H
16 # include "AliMUONV1DStore.h"
21 class AliMUON1DMap : public AliMUONV1DStore
24 AliMUON1DMap(Int_t theSize=0);
25 AliMUON1DMap(const AliMUON1DMap& other);
26 AliMUON1DMap& operator=(const AliMUON1DMap& other);
28 virtual ~AliMUON1DMap();
30 /// Return the object stored at i.
31 virtual TObject* Get(Int_t i) const;
33 virtual AliMUONVDataIterator* Iterator() const;
35 /** Set the object stored at i.
36 if replace=false and there's already an object there, returns kFALSE
38 virtual Bool_t Set(Int_t i, TObject* object, Bool_t replace);
40 /// Whether or not this container is the owner of its contents.
41 virtual Bool_t IsOwner() const { return kTRUE; }
44 void CopyTo(AliMUON1DMap& to) const;
48 AliMpExMap* fMap; ///< Internal array (map)
50 ClassDef(AliMUON1DMap,1) // Implementation of AliMUONV1DStore