o add Reset function to CalPad and CalROC o Add functionality to AliTPCdataQA - Reset...
[u/mrichter/AliRoot.git] / MUON / AliMUON2DMapIterator.h
CommitLineData
f246123b 1#ifndef ALIMUON2DMAPITERATOR_H
2#define ALIMUON2DMAPITERATOR_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
46df088d 9/// \ingroup core
f246123b 10/// \class AliMUON2DMapIterator
cb6388d5 11/// \brief Implementation of TIterator for 2D maps
f246123b 12///
78649106 13// Author Laurent Aphecetche
f246123b 14
cb6388d5 15#ifndef ROOT_TIterator
16# include "TIterator.h"
f246123b 17#endif
18
19class AliMpExMap;
20
21//_____________________________________________________________________________
cb6388d5 22class AliMUON2DMapIterator : public TIterator
f246123b 23{
24public:
7332f213 25 AliMUON2DMapIterator(const AliMpExMap& theMap);
f246123b 26
27 virtual ~AliMUON2DMapIterator();
28
cb6388d5 29 ///The returned object must not be deleted by the user.
f246123b 30 virtual TObject* Next();
31
32 virtual void Reset();
33
cb6388d5 34 virtual const TCollection* GetCollection() const;
a3d37091 35
f246123b 36private:
630711ed 37 TIterator* NextIterator();
f246123b 38
39private:
630711ed 40 /// Not implemented
41 AliMUON2DMapIterator(const AliMUON2DMapIterator& rhs);
42 /// Not implemented
43 AliMUON2DMapIterator& operator=(const AliMUON2DMapIterator& rhs);
6805f5be 44 /// Overriden TIterator virtual operator=
45 AliMUON2DMapIterator& operator=(const TIterator& rhs);
630711ed 46
7332f213 47 const AliMpExMap* fkMap; ///< Top map we iterate upon
630711ed 48 TIterator* fIter1; ///< first iterator
49 TIterator* fIter2; ///< second iterator
47a48067 50
630711ed 51 ClassDef(AliMUON2DMapIterator,0) // TIterator for AliMUON2D maps
f246123b 52};
53
54
55#endif