source: pixelmap/Pixel.h@ 8771

Last change on this file since 8771 was 9, checked in by qweitzel, 16 years ago
first checkin after renaming of repository, pixelmap stuff added
File size: 1.2 KB
Line 
1#ifndef PIXEL_H
2#define PIXEL_H
3
4#include <ostream>
5
6class Pixel {
7
8private:
9
10 unsigned int _DRSboard;
11 unsigned int _DRSchip;
12 unsigned int _DRSchannel;
13
14 unsigned int _HVboard;
15 unsigned int _HVchain;
16 unsigned int _HVchannel;
17
18public:
19
20 Pixel();
21 Pixel(unsigned int DRSboard, unsigned int DRSchip, unsigned int DRSchannel,
22 unsigned int HVboard, unsigned int HVchain, unsigned int HVchannel);
23
24 ~Pixel() { }
25
26 //void SetPixelDRSboard(unsigned int DRSboard);
27 //void SetPixelDRSchip(unsigned int DRSchip);
28 //void SetPixelDRSchannel(unsigned int DRSchannel);
29
30 //void SetPixelHVboard(unsigned int HVboard);
31 //void SetPixelHVchain(unsigned int HVchain);
32 //void SetPixelHVchannel(unsigned int HVchannel);
33
34 unsigned int GetPixelDRSboard() const {return _DRSboard;}
35 unsigned int GetPixelDRSchip() const {return _DRSchip;}
36 unsigned int GetPixelDRSchannel() const {return _DRSchannel;}
37
38 unsigned int GetPixelHVboard() const {return _HVboard;}
39 unsigned int GetPixelHVchain() const {return _HVchain;}
40 unsigned int GetPixelHVchannel() const {return _HVchannel;}
41
42 friend std::ostream& operator << (std::ostream& s, const Pixel& pixel);
43
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.