source: pixelmap/PixelMap.h@ 9

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