1 #ifndef ALIMUONCLUSTERSTOREV2ITERATOR_H
2 #define ALIMUONCLUSTERSTOREV2ITERATOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONClusterStoreV2Iterator
11 /// \brief Base implementation of TIterator for AliMUONClusterStoreV2
13 // Author Philippe Pillot, Subatech
15 #ifndef ROOT_TIterator
16 # include "TIterator.h"
19 class AliMUONClusterStoreV2;
22 class AliMUONClusterStoreV2Iterator : public TIterator
25 AliMUONClusterStoreV2Iterator(const AliMUONClusterStoreV2* store,
26 Int_t firstChamberId, Int_t lastChamberId);
27 AliMUONClusterStoreV2Iterator(const AliMUONClusterStoreV2Iterator& rhs);
28 AliMUONClusterStoreV2Iterator& operator=(const AliMUONClusterStoreV2Iterator& rhs);
29 TIterator& operator=(const TIterator& rhs);
31 virtual ~AliMUONClusterStoreV2Iterator();
37 /// Return 0 as we're not dealing with TCollection objects really
38 virtual const TCollection* GetCollection() const { return 0x0; }
41 TObject* NextInCurrentChamber() const;
44 const AliMUONClusterStoreV2* fStore; ///< store to iterate upon
45 Int_t fFirstChamberId; ///< first chamber
46 Int_t fLastChamberId; ///< last chamber
47 Int_t fCurrentChamberId; ///< current chamber
48 TExMapIter* fChamberIterator; ///< helper iterator
50 ClassDef(AliMUONClusterStoreV2Iterator,0) // Implementation of TIterator