]>
Commit | Line | Data |
---|---|---|
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; | |
20 | class TIterator; | |
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: | |
34 | /// not implemented | |
35 | AliMpManuIterator(const AliMpManuIterator& rhs); | |
36 | /// not implemented | |
37 | AliMpManuIterator& operator=(const AliMpManuIterator& rhs); | |
38 | ||
39 | private: | |
40 | ||
41 | TIterator* fIterator; ///< internal iterator | |
42 | AliMpBusPatch* fCurrentBusPatch; ///< current bus patch | |
43 | Int_t fCurrentManuIndex; ///< current manu index in current bus patch | |
44 | ||
45 | ClassDef(AliMpManuIterator,2) // Iterator on MUON tracker manus | |
46 | }; | |
47 | ||
48 | #endif |