#ifndef PIXELMAP_H #define PIXELMAP_H #include "Pixel.h" #include #include #include class PixelMap { private: public: PixelMap(); ~PixelMap(); std::map pixelmap; void ReadPixelMap(std::map& pixelmap, bool verbose=false); void Print(); std::string DRS_to_Pixel(unsigned int DRSboard, unsigned int DRSchip, unsigned int DRSchannel); std::string HV_to_Pixel(unsigned int HVboard, unsigned int HVchain, unsigned int HVchannel); unsigned int Pixel_to_DRSboard(std::string pixelname); unsigned int Pixel_to_DRSchip(std::string pixelname); unsigned int Pixel_to_DRSchannel(std::string pixelname); unsigned int Pixel_to_HVboard(std::string pixelname); unsigned int Pixel_to_HVchain(std::string pixelname); unsigned int Pixel_to_HVchannel(std::string pixelname); }; #endif