Last change
on this file since 5299 was 16, checked in by qweitzel, 16 years ago |
bug fixed in pixelmap, verbose mode added
|
File size:
928 bytes
|
Line | |
---|
1 | #include "PixelMap.h"
|
---|
2 | #include <iostream>
|
---|
3 |
|
---|
4 | Pixel::Pixel() : _DRSboard(999999999), _DRSchip(999999999), _DRSchannel(999999999),
|
---|
5 | _HVboard(999999999), _HVchain(999999999), _HVchannel(999999999) { }
|
---|
6 |
|
---|
7 | Pixel::Pixel(unsigned int DRSboard, unsigned int DRSchip, unsigned int DRSchannel,
|
---|
8 | unsigned int HVboard, unsigned int HVchain, unsigned int HVchannel)
|
---|
9 | : _DRSboard(DRSboard), _DRSchip(DRSchip), _DRSchannel(DRSchannel),
|
---|
10 | _HVboard(HVboard), _HVchain(HVchain), _HVchannel(HVchannel) {
|
---|
11 |
|
---|
12 | //???check here whether values make sense and eventually give error messages???
|
---|
13 |
|
---|
14 | }
|
---|
15 |
|
---|
16 | std::ostream& operator << (std::ostream& s, const Pixel& pixel) {
|
---|
17 |
|
---|
18 | return s << "DRSboard="<<pixel._DRSboard<<"\n"
|
---|
19 | << "DRSchip="<<pixel._DRSchip<<"\n"
|
---|
20 | << "DRSchannel="<<pixel._DRSchannel<<"\n"
|
---|
21 | << "HVboard="<<pixel._HVboard<<"\n"
|
---|
22 | << "HVchain="<<pixel._HVchain<<"\n"
|
---|
23 | << "HVchannel="<<pixel._HVchannel<<"\n";
|
---|
24 |
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.