]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONDigitStoreV1Iterator.h
Update of the class ESDMuonFilter. New marcros for creating AOD with muon information...
[u/mrichter/AliRoot.git] / MUON / AliMUONDigitStoreV1Iterator.h
1 #ifndef ALIMUONDIGITSTOREV1ITERATOR_H
2 #define ALIMUONDIGITSTOREV1ITERATOR_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 base
10 /// \class AliMUONDigitStoreV1Iterator
11 ///
12 /// \brief Implementation of TIterator for AliMUONDigitStoreV1
13 /// 
14 // Author Laurent Aphecetche
15
16 #ifndef ALIMUONTOTCASTOREITERATOR_H
17 #  include "AliMUONTOTCAStoreIterator.h"
18 #endif
19
20 class AliMUONDigitStoreV1Iterator : public AliMUONTOTCAStoreIterator
21 {
22 public:
23   AliMUONDigitStoreV1Iterator(const AliMUONDigitStoreV1Iterator& rhs);
24   TIterator& operator=(const TIterator& rhs);
25   AliMUONDigitStoreV1Iterator& operator=(const AliMUONDigitStoreV1Iterator& rhs);
26   AliMUONDigitStoreV1Iterator(TObjArray* a,
27                               Int_t firstDetElemId,
28                               Int_t lastDetElemId,
29                               Int_t cathode=2);
30   
31   virtual ~AliMUONDigitStoreV1Iterator();
32   
33   virtual TObject* Next();
34
35   virtual const TCollection* GetCollection() const;
36   
37 private:
38   TObjArray* fArray; ///< array we iterate upon
39   Int_t fFirstDetElemId; ///< first detection element to iterate upon
40   Int_t fLastDetElemId; ///< last detection element to iterate upon
41   Int_t fCathode; ///< cathode to iterate upon
42   
43   ClassDef(AliMUONDigitStoreV1Iterator,1) // Implementation of TIterator
44 };
45
46 #endif