Last change
on this file since 701 was 695, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
722 bytes
|
Line | |
---|
1 | #ifndef MGEOMPIX_H
|
---|
2 | #define MGEOMPIX_H
|
---|
3 |
|
---|
4 | #ifndef MAGIC_H
|
---|
5 | #include "MAGIC.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class 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 r 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 Set (Float_t x, Float_t y, Float_t r) { fX=x; fY=y; fR=r; }
|
---|
22 |
|
---|
23 | void SetX (Float_t x) { fX = x; }
|
---|
24 | void SetY (Float_t y) { fY = y; }
|
---|
25 | void SetR (Float_t r) { fR = r; }
|
---|
26 |
|
---|
27 | Float_t GetX() const { return fX; }
|
---|
28 | Float_t GetY() const { return fY; }
|
---|
29 | Float_t GetR() const { return fR; }
|
---|
30 |
|
---|
31 | ClassDef(MGeomPix, 1) // Geometric class for one pixel
|
---|
32 | } ;
|
---|
33 |
|
---|
34 | #endif
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.