source: fact/pixelmap/Pixel.cc@ 10113

Last change on this file since 10113 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
4Pixel::Pixel() : _DRSboard(999999999), _DRSchip(999999999), _DRSchannel(999999999),
5 _HVboard(999999999), _HVchain(999999999), _HVchannel(999999999) { }
6
7Pixel::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
16std::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.