source: trunk/MagicSoft/Mars/mgui/MGeomPix.h@ 694

Last change on this file since 694 was 669, checked in by tbretz, 24 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 743 bytes
Line 
1#ifndef MGEOMPIX_H
2#define MGEOMPIX_H
3
4#ifndef MAGIC_H
5#include "MAGIC.h"
6#endif
7
8class MGeomPix : public TObject
9{
10 private:
11 Float_t fX ; // the x coordinate
12 Float_t fY ; // the y coordinate
13 Float_t fR ; // the y coordinate
14
15 public:
16
17 MGeomPix(Float_t x=0. , Float_t y=0., Float_t r=0.) ;
18
19 void Print(Option_t *opt=NULL) ;
20
21 void SetX ( Float_t x ) { fX = x ; }
22 void SetY ( Float_t y ) { fY = y ; }
23 void SetR ( Float_t r ) { fR = r ; }
24 Float_t GetX() { return fX ; }
25 Float_t GetY() { return fY ; }
26 Float_t GetR() { return fR ; }
27
28 ClassDef(MGeomPix, 1) // Geometric class for one pixel
29} ;
30
31#endif
32
Note: See TracBrowser for help on using the repository browser.