AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpSlatPainter.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 // $MpId: AliMpSlatPainter.h,v 1.10 2006/05/24 13:58:13 ivana Exp $
6 
11 // Author: Laurent Aphecetche
12 
13 #ifndef ALIMPSLATPAINTER_H
14 #define ALIMPSLATPAINTER_H
15 
16 #ifndef ALI_MP_V_PAINTER_H
17 # include "AliMpVPainter.h"
18 #endif
19 
20 class AliMpSlat;
21 
23 {
24  public:
26  AliMpSlatPainter(const AliMpSlat* slat);
27  virtual ~AliMpSlatPainter();
28 
29  TVector2 GetDimensions() const;
30 
31  TVector2 GetPosition() const;
32 
33  void Draw(Option_t* option);
34 
35  void Paint(Option_t* option);
36 
37  private:
39  AliMpSlatPainter(const AliMpSlatPainter& right);
42 
43  const AliMpSlat* fkSlat;
44 
45  ClassDef(AliMpSlatPainter,1) // A painter for a slat of stations 3,4,5
46 };
47 
48 #endif
TVector2 GetPosition() const
Return the owned object's position.
AliMpSlatPainter & operator=(const AliMpSlatPainter &right)
Not implemented.
TVector2 GetDimensions() const
Return the owned object's dimensions.
Class for drawing a slat into canvas.
A slat (building block of stations 3, 4 and 5)
Definition: AliMpSlat.h:51
const AliMpSlat * fkSlat
! pointer to the slat to be drawn
Abstract base class for drawing objects into canvas.
Definition: AliMpVPainter.h:21
void Paint(Option_t *option)
Paint the associated object.
void Draw(Option_t *option)
virtual ~AliMpSlatPainter()