#######################################################################
#
# Mapping table to connect DRS channels to HV channels
#
# !!! only valid for M0 !!!
#
# =====================================================================
#
# needed for HV feedback -> read by DAQ and HV program
# 
# to be edited if DRS or HV channels change
#
# pixel ID is unsigned int 0 - 35, to be followed by : delimiter
#
# gAPD arrangement within pixel is NOT defined here
#
# =====================================================================
#
# allowed field separators: space and tab in arbitrary combination
#
# each entry has to end with ;
#
# lines _starting_ with # considered as comment (first character!)
#
#######################################################################


#ID:  crate  board patch(chip) pixel(channel)  HV-crate HV-board HV-channel    PosX    PosY
#--------------------------------------------------------------------------------------------------------
00:	0	0	0	0		0	0	 0		5	5;
01:	0	0	0	2		0	0	 1		4	5;
02:	0	0	0	4		0 	0	 2		4	4;
03:	0	0	0	6		0 	0	 3		5	4;
#--------------------------------------------------------------------------------------------------------
04:	0	0	1	0		0	0	 4		5	3;
05:	0	0	1	2		0	0	 5		4	3;
06:	0	0	1	4		0 	0	 6		4	2;
07:	0	0	1	6		0 	0	 7		5	2;
#--------------------------------------------------------------------------------------------------------
08:	0	0	2	0		0	0	 8		5	1;
09:	0	0	2	2		0	0	 9		4	1;
10:	0	0	2	4		0 	0	10		4	0;
11:	0	0	2	6		0 	0	11		5	0;
#--------------------------------------------------------------------------------------------------------
12:	0	0	3	0		0	0	12		3	5;
13:	0	0	3	2		0	0	13		2	5;
14:	0	0	3	4		0 	0	14		2	4;
15:	0	0	3	6		0 	0	15		3	4;
#--------------------------------------------------------------------------------------------------------
16:	0	1	0	0		0	0	16		3	3;
17:	0	1	0	2		0	0	17		2	3;
18:	0	1	0	4		0 	1	 0		2	2;
19:	0	1	0	6		0 	1	 1		3	2;
#--------------------------------------------------------------------------------------------------------
20:	0	1	1	0		0	1	 2		3	1;
21:	0	1	1	2		0	1	 3		2	1;
22:	0	1	1	4		0 	1	 4		2	0;
23:	0	1	1	6		0 	1	 5		3	0;
#--------------------------------------------------------------------------------------------------------
24:	0	1	2	0		0	1	 6		1	5;
25:	0	1	2	2		0	1	 7		0	5;
26:	0	1	2	4		0 	1	 8		0	4;
27:	0	1	2	6		0 	1	 9		1	4;
#--------------------------------------------------------------------------------------------------------
28:	0	1	3	0		0	1	10		1	3;
29:	0	1	3	2		0	1	11		0	3;
30:	0	1	3	4		0 	1	12		0	2;
31:	0	1	3	6		0 	1	13		1	2;
#--------------------------------------------------------------------------------------------------------
32:	0	2	0	0		0	1	14		1	1;
33:	0	2	0	2		0	1	15		0	1;
34:	0	2	0	4		0 	1	16		0	0;
35:	0	2	0	6		0 	1	17		1	0;
#--------------------------------------------------------------------------------------------------------
