]>
Commit | Line | Data |
---|---|---|
83c386fb | 1 | #ifndef ALIMUON1DMAPITERATOR_H |
2 | #define ALIMUON1DMAPITERATOR_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 | ||
a3d37091 | 9 | /// \ingroup calib |
83c386fb | 10 | /// \class AliMUON1DMapIterator |
cb6388d5 | 11 | /// \brief Implementation of TIterator for 1D maps |
83c386fb | 12 | /// |
13 | // Author Laurent Aphecetche | |
14 | ||
15 | #ifndef ROOT_TObject | |
16 | # include "TObject.h" | |
17 | #endif | |
18 | #ifndef ROOT_TExMap | |
19 | # include "TExMap.h" | |
20 | #endif | |
cb6388d5 | 21 | #ifndef ROOT_TIterator |
22 | # include "TIterator.h" | |
83c386fb | 23 | #endif |
24 | ||
25 | class AliMpExMap; | |
26 | ||
27 | //_____________________________________________________________________________ | |
cb6388d5 | 28 | class AliMUON1DMapIterator : public TIterator |
83c386fb | 29 | { |
30 | public: | |
31 | AliMUON1DMapIterator(AliMpExMap& theMap); | |
cb6388d5 | 32 | AliMUON1DMapIterator(const AliMUON1DMapIterator&); |
33 | AliMUON1DMapIterator& operator=(const AliMUON1DMapIterator& rhs); | |
34 | TIterator& operator=(const TIterator& iterator); | |
83c386fb | 35 | virtual ~AliMUON1DMapIterator(); |
36 | ||
cb6388d5 | 37 | /** The returned object must not be deleted by the user ! */ |
83c386fb | 38 | virtual TObject* Next(); |
39 | ||
40 | virtual void Reset(); | |
41 | ||
cb6388d5 | 42 | /// Return 0 as we're not really dealing with a TCollection |
43 | virtual const TCollection* GetCollection() const { return 0x0; } | |
a3d37091 | 44 | |
83c386fb | 45 | private: |
46 | TExMapIter fIter; //!< iterator | |
47 | Int_t fCurrentI; //!< current index in direction i | |
48 | ||
49 | ClassDef(AliMUON1DMapIterator,0) // VDataIterator for 1D maps | |
50 | }; | |
51 | ||
52 | ||
53 | #endif |