]>
Commit | Line | Data |
---|---|---|
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 | ||
19 | class AliMpBusPatch; | |
630711ed | 20 | class TIterator; |
1ef5468a | 21 | |
22 | class AliMpManuIterator : public TObject | |
23 | { | |
24 | public: | |
25 | ||
26 | AliMpManuIterator(); | |
27 | virtual ~AliMpManuIterator(); | |
28 | ||
29 | Bool_t Next(Int_t& detElemId, Int_t& manuId); | |
30 | ||
31 | void Reset(); | |
32 | ||
33 | private: | |
630711ed | 34 | /// not implemented |
35 | AliMpManuIterator(const AliMpManuIterator& rhs); | |
36 | /// not implemented | |
37 | AliMpManuIterator& operator=(const AliMpManuIterator& rhs); | |
1ef5468a | 38 | |
1ef5468a | 39 | private: |
40 | ||
630711ed | 41 | TIterator* fIterator; ///< internal iterator |
1ef5468a | 42 | AliMpBusPatch* fCurrentBusPatch; ///< current bus patch |
43 | Int_t fCurrentManuIndex; ///< current manu index in current bus patch | |
44 | ||
630711ed | 45 | ClassDef(AliMpManuIterator,2) // Iterator on MUON tracker manus |
1ef5468a | 46 | }; |
47 | ||
48 | #endif |