Make the Scan method public
[u/mrichter/AliRoot.git] / MUON / AliMUONClusterStoreV2Iterator.h
CommitLineData
2060b217 1#ifndef ALIMUONCLUSTERSTOREV2ITERATOR_H
2#define ALIMUONCLUSTERSTOREV2ITERATOR_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup base
10/// \class AliMUONClusterStoreV2Iterator
11/// \brief Base implementation of TIterator for AliMUONClusterStoreV2
12///
13// Author Philippe Pillot, Subatech
14
15#ifndef ROOT_TIterator
16# include "TIterator.h"
17#endif
18
19class AliMUONClusterStoreV2;
2060b217 20
21class AliMUONClusterStoreV2Iterator : public TIterator
22{
23public:
24 AliMUONClusterStoreV2Iterator(const AliMUONClusterStoreV2* store,
25 Int_t firstChamberId, Int_t lastChamberId);
2060b217 26
27 virtual ~AliMUONClusterStoreV2Iterator();
28
29 TObject* Next();
30
31 void Reset();
32
33 /// Return 0 as we're not dealing with TCollection objects really
34 virtual const TCollection* GetCollection() const { return 0x0; }
35
36private:
37 TObject* NextInCurrentChamber() const;
38
39private:
630711ed 40 /// Not implemented
41 AliMUONClusterStoreV2Iterator(const AliMUONClusterStoreV2Iterator& rhs);
42 /// Not implemented
43 AliMUONClusterStoreV2Iterator& operator=(const AliMUONClusterStoreV2Iterator& rhs);
6805f5be 44 /// Overriden TIterator virtual operator=
45 AliMUONClusterStoreV2Iterator& operator=(const TIterator& rhs);
630711ed 46
5a240757 47 const AliMUONClusterStoreV2* fkStore; ///< store to iterate upon
2060b217 48 Int_t fFirstChamberId; ///< first chamber
49 Int_t fLastChamberId; ///< last chamber
50 Int_t fCurrentChamberId; ///< current chamber
630711ed 51 TIterator* fChamberIterator; ///< helper iterator
2060b217 52
53 ClassDef(AliMUONClusterStoreV2Iterator,0) // Implementation of TIterator
54};
55
56#endif