AliRoot Core  edcc906 (edcc906)
AliMpIteratorPainter.h
Go to the documentation of this file.
1 #ifndef ALIMPITERATORPAINTER_H
2 #define ALIMPITERATORPAINTER_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 
13 // Author Laurent Aphecetche
14 
15 #ifndef ALI_MP_V_PAINTER_H
16 # include "AliMpVPainter.h"
17 #endif
18 
19 #ifndef ROOT_TVector2
20 # include "TVector2.h"
21 #endif
22 
23 class TObjArray;
24 class AliMpVPadIterator;
25 
27 {
28 public:
30  virtual ~AliMpIteratorPainter();
31 
32  void Draw(Option_t* option);
33  void Paint(Option_t* option);
34 
35  TVector2 GetDimensions() const { return fDimensions; }
36  TVector2 GetPosition() const { return fPosition; }
37 
38 private:
45 
47  TVector2 fPosition;
48  TVector2 fDimensions;
49 
50  ClassDef(AliMpIteratorPainter,1) // Painter for a group of pads
51 };
52 
53 #endif
TVector2 GetPosition() const
Return the owned object's position.
void Paint(Option_t *option)
Paint the associated object.
Painter for a group of pads defined by an iterator.
#define TObjArray
void Draw(Option_t *option)
An interface for an iterator over pads.
Abstract base class for drawing objects into canvas.
Definition: AliMpVPainter.h:21
TVector2 GetDimensions() const
Return the owned object's dimensions.
AliMpIteratorPainter & operator=(const AliMpIteratorPainter &)
Not implemented.
TObjArray * fPads
! pads of the iterator
TVector2 fDimensions
! dimension
AliMpIteratorPainter()
Not implemented.
TVector2 fPosition
! position