New macro to keep track of timing performances of the segmentation methods (Laurent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpVPadIterator.h
CommitLineData
dee1d5f1 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
5f91c9e8 4// $Id$
13985652 5// $MpId: AliMpVPadIterator.h,v 1.6 2006/05/24 13:58:07 ivana Exp $
dee1d5f1 6
7/// \ingroup basic
8/// \class AliMpVPadIterator
9/// \brief An interface for an iterator over pads
10///
13985652 11/// \author David Guez, Ivana Hrivnacova; IPN Orsay
5f91c9e8 12
7e4d63b3 13#ifndef ALI_MP_V_PAD_ITERATOR_H
14#define ALI_MP_V_PAD_ITERATOR_H
5f91c9e8 15
16#include <TObject.h>
17
18#include "AliMpPad.h"
19
20class AliMpVPadIterator : public TObject
21{
22 public:
23 AliMpVPadIterator();
24 AliMpVPadIterator(const AliMpVPadIterator& right);
25 virtual ~AliMpVPadIterator();
26
27 // operators
28 AliMpVPadIterator& operator = (const AliMpVPadIterator& right);
29
30 // methods
f5671fc3 31 /// Set iterator to the first pad
5f91c9e8 32 virtual void First() = 0;
f5671fc3 33 /// Set iterator to the next pad
5f91c9e8 34 virtual void Next() = 0;
f5671fc3 35 /// Is iterator done
5f91c9e8 36 virtual Bool_t IsDone() const = 0;
f5671fc3 37 /// Return current pad
5f91c9e8 38 virtual AliMpPad CurrentItem() const = 0;
f5671fc3 39 /// Invalidate iterator (
5f91c9e8 40 virtual void Invalidate() = 0;
41
42 ClassDef(AliMpVPadIterator,1) // abstract pad iterator
43};
44
45#endif // ALI_MP_V_PAD_ITERATOR_H