Index: /tools/pixelmap_test/Makefile
===================================================================
--- /tools/pixelmap_test/Makefile	(revision 10)
+++ /tools/pixelmap_test/Makefile	(revision 10)
@@ -0,0 +1,18 @@
+CPPFLAGS = -c -Wall -I.
+
+all: PixelMapTest
+
+Pixel.o: Pixel.cc Pixel.h
+	g++ $(CPPFLAGS) Pixel.cc -o Pixel.o
+
+PixelMap.o: PixelMap.cc PixelMap.h
+	g++ $(CPPFLAGS) PixelMap.cc -o PixelMap.o
+
+PixelMapTest.o: PixelMapTest.cc
+	g++ $(CPPFLAGS) PixelMapTest.cc -o PixelMapTest.o
+
+PixelMapTest: PixelMapTest.o Pixel.o PixelMap.o
+	g++ PixelMapTest.o Pixel.o PixelMap.o -o PixelMapTest
+
+clean:
+	rm -f *.o *~ PixelMapTest
Index: /tools/pixelmap_test/PixelMap.txt
===================================================================
--- /tools/pixelmap_test/PixelMap.txt	(revision 10)
+++ /tools/pixelmap_test/PixelMap.txt	(revision 10)
@@ -0,0 +1,35 @@
+#######################################################################
+#
+# Mapping table to connect DRS channels to HV channels   
+#
+# =====================================================================
+#
+# needed for HV feedback -> read by DAQ and HV program
+# 
+# to be edited if DRS or HV channels change
+#
+# !!! do NOT edit the pixel name (x-x-x) !!!
+#
+# gAPD arrangement within pixel is NOT defined here
+#
+# =====================================================================
+#
+# allowed field separators: space, tab, comma in arbitrary combination
+#
+# empty lines allowed
+#
+# lines starting with # considered as comment
+#
+# =====================================================================
+#
+# pixel numbering: module-superpixel-pixel
+#
+######################################################################
+
+
+#Pixel:  DRS-board DRS-chip DRS-channel   HV board HV-chain HV-channel
+#---------------------------------------------------------------------
+0-1-1:		0	0	0		0	2	0
+0-1-2:		0	0	1		0	0	1
+10-2-3:		7	8	6		6 	9	1 	
+#---------------------------------------------------------------------
Index: /tools/pixelmap_test/PixelMapTest.cc
===================================================================
--- /tools/pixelmap_test/PixelMapTest.cc	(revision 10)
+++ /tools/pixelmap_test/PixelMapTest.cc	(revision 10)
@@ -0,0 +1,46 @@
+//simple test program to check the PixelMap class
+
+#include "PixelMap.h"
+#include <iostream>
+
+int main(){
+
+    std::cout << std::endl;
+    std::cout << "==============================" << std::endl;
+    std::cout << "PixelMap Test Program" << std::endl;
+    std::cout << "==============================" << std::endl;
+    std::cout << std::endl;
+
+    PixelMap* pm = new PixelMap();
+
+    pm->Print();
+
+    std::string drs1 = pm->DRS_to_Pixel(0,0,0);
+    std::cout << "Name: " << drs1 << std::endl;
+
+    std::string drs2 = pm->DRS_to_Pixel(1,0,0);
+    std::cout << "Name: " << drs2 << std::endl;
+
+    std::string hv1 = pm->HV_to_Pixel(6,1,8);
+    std::cout << "Name: " << hv1 << std::endl;
+
+    std::string hv2 = pm->HV_to_Pixel(1,0,0);
+    std::cout << "Name: " << hv2 << std::endl;
+
+    unsigned int drsb1 = pm->Pixel_to_DRSboard("0-1-1");
+    std::cout << "Board: " << drsb1 << std::endl;
+
+    unsigned int drsb2 = pm->Pixel_to_DRSboard("1-0-0");
+    std::cout << "Board: " << drsb2 << std::endl;
+
+    unsigned int hvchain1 = pm->Pixel_to_HVchain("0-1-1");
+    std::cout << "Chain: " << hvchain1 << std::endl;
+
+    unsigned int hvchain2 = pm->Pixel_to_HVchain("1-0-0");
+    std::cout << "Chain: " << hvchain2 << std::endl;
+
+    delete pm;
+
+    return 0;
+
+}
