source: fact/pixelmap/Pixel.h@ 10116

Last change on this file since 10116 was 10116, checked in by weitzel, 12 years ago
new version of pixelmap class
File size: 1.1 KB
Line 
1#ifndef PIXEL_H
2#define PIXEL_H
3
4#include <ostream>
5
6class Pixel {
7
8private:
9
10 unsigned int _FPAcrate;
11 unsigned int _FPAboard;
12 unsigned int _FPApatch;
13 unsigned int _FPApixel;
14
15 unsigned int _HVcrate;
16 unsigned int _HVboard;
17 unsigned int _HVchannel;
18
19 int _POSx;
20 int _POSy;
21
22public:
23
24 Pixel();
25 Pixel(unsigned int FPAcrate, unsigned int FPAboard, unsigned int FPApatch, unsigned int FPApixel,
26 unsigned int HVcrate, unsigned int HVboard, unsigned int HVchannel,
27 int POSx, int POSy);
28
29 ~Pixel() { }
30
31 unsigned int GetPixelFPAcrate() const {return _FPAcrate;}
32 unsigned int GetPixelFPAboard() const {return _FPAboard;}
33 unsigned int GetPixelFPApatch() const {return _FPApatch;}
34 unsigned int GetPixelFPApixel() const {return _FPApixel;}
35
36 unsigned int GetPixelHVcrate() const {return _HVcrate;}
37 unsigned int GetPixelHVboard() const {return _HVboard;}
38 unsigned int GetPixelHVchannel() const {return _HVchannel;}
39
40 int GetPixelPOSx() const {return _POSx;}
41 int GetPixelPOSy() const {return _POSy;}
42
43 friend std::ostream& operator << (std::ostream& s, const Pixel& pixel);
44
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.