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 AliMUONVStore
10 // Author Laurent Aphecetche
12 #ifndef ALIMUON1DMAP_H
13 #define ALIMUON1DMAP_H
15 #ifndef ALIMUONV1DSTORE_H
16 # include "AliMUONVStore.h"
21 class AliMUON1DMap : public AliMUONVStore
24 AliMUON1DMap(Int_t theSize=0);
25 AliMUON1DMap(const AliMUON1DMap& other);
26 AliMUON1DMap& operator=(const AliMUON1DMap& other);
27 virtual ~AliMUON1DMap();
29 virtual Bool_t Add(TObject* object);
31 virtual Bool_t CanConnect() const { return kFALSE; }
33 virtual void Clear(Option_t* opt="");
35 virtual AliMUON1DMap* Create() const;
37 using AliMUONVStore::FindObject;
39 virtual TObject* FindObject(UInt_t i) const;
41 virtual TIterator* CreateIterator() const;
43 using AliMUONVStore::GetSize;
45 virtual Int_t GetSize() const;
48 void CopyTo(AliMUON1DMap& to) const;
49 /** Set the object stored at i.
50 if replace=false and there's already an object there, returns kFALSE
52 virtual Bool_t Set(Int_t i, TObject* object, Bool_t replace);
56 AliMpExMap* fMap; ///< Internal array (map)
58 ClassDef(AliMUON1DMap,1) // Implementation of AliMUONVStore