Last change
on this file since 4430 was 18, checked in by qweitzel, 16 years ago |
change in pixelmap: file now defined via construtor
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef PIXELMAP_H
|
---|
2 | #define PIXELMAP_H
|
---|
3 |
|
---|
4 | #include "Pixel.h"
|
---|
5 | #include <map>
|
---|
6 | #include <string>
|
---|
7 | #include <map>
|
---|
8 |
|
---|
9 | class PixelMap {
|
---|
10 |
|
---|
11 | private:
|
---|
12 |
|
---|
13 | public:
|
---|
14 |
|
---|
15 | PixelMap(std::string file, bool verbose=false);
|
---|
16 | ~PixelMap();
|
---|
17 |
|
---|
18 | std::map<std::string, Pixel*> pixelmap;
|
---|
19 |
|
---|
20 | void ReadPixelMap(std::map<std::string, Pixel*>& pixelmap, std::string file, bool verbose=false);
|
---|
21 | void Print();
|
---|
22 |
|
---|
23 | std::string DRS_to_Pixel(unsigned int DRSboard, unsigned int DRSchip, unsigned int DRSchannel, bool verbose=false);
|
---|
24 | std::string HV_to_Pixel(unsigned int HVboard, unsigned int HVchain, unsigned int HVchannel, bool verbose=false);
|
---|
25 |
|
---|
26 | unsigned int Pixel_to_DRSboard(std::string pixelname, bool verbose=false);
|
---|
27 | unsigned int Pixel_to_DRSchip(std::string pixelname, bool verbose=false);
|
---|
28 | unsigned int Pixel_to_DRSchannel(std::string pixelname, bool verbose=false);
|
---|
29 |
|
---|
30 | unsigned int Pixel_to_HVboard(std::string pixelname, bool verbose=false);
|
---|
31 | unsigned int Pixel_to_HVchain(std::string pixelname, bool verbose=false);
|
---|
32 | unsigned int Pixel_to_HVchannel(std::string pixelname, bool verbose=false);
|
---|
33 |
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.