Initial version (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpManuIterator.h
CommitLineData
1ef5468a 1#ifndef ALIMPMANUITERATOR_H
2#define ALIMPMANUITERATOR_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 management
10/// \class AliMpManuIterator
11/// \brief Class to loop over all manus of MUON Tracker
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMpBusPatch;
20class TExMapIter;
21
22class AliMpManuIterator : public TObject
23{
24public:
25
26 AliMpManuIterator();
27 virtual ~AliMpManuIterator();
28
29 Bool_t Next(Int_t& detElemId, Int_t& manuId);
30
31 void Reset();
32
33private:
34
35 AliMpBusPatch* NextBusPatch() const;
36
37private:
38
39 TExMapIter* fIterator; ///< internal iterator
40 AliMpBusPatch* fCurrentBusPatch; ///< current bus patch
41 Int_t fCurrentManuIndex; ///< current manu index in current bus patch
42
43 ClassDef(AliMpManuIterator,1) // Iterator on MUON tracker manus
44};
45
46#endif