electronics map
map electronic addresses ( AFCK address, chip id, channel id in each Get4 chip ) to geometry: sector, z-plane, counter, strip, side
variables:
octet nAfcks // number AFCK boards
unsigned short nChannels // number of channels per AFCK board
unsigned short afckAddress[12] // MAC address of AFCK board
octet sector[12] // eTOF sector linked to the AFCK
unsigned short channelNumber[ 576 ] // channel number ( up to 9 RPCs with 64 channels each are connected to one AFCK ) = chipId * 10 + channelId
unsigned short geometryId[ 576 ] // eTOF plane, counter, strip and side corresponding to each channel
// geometry id = zPlane * 10000 + counter * 1000 + strip * 10 + side
frequency:
after initial upload, this table will only be updated when electronic boards need to be exchanged
or some error in the cable connections are found ( potentially once per RHIC run or less )
index name:
*table is not indexed
size:
the size per entry is 2344 bytes
write access:
fseck -- Florian Seck ( TU Darmstadt )
weidenkaff -- Philipp Weidenkaff ( Heidelberg University )
etofElectronicsMap.idl:
/* etofElectronicsMap.idl
*
* table: etofElectronicsMap
*
* description: parameters for convertion of electronic addresses to
* etof geometry identifiers
*
* author: Florian Seck ( TU Darmstadt )
*
*/
struct etofElectronicsMap{
octet nAfcks; /* number of AFCK boards in the system */
unsigned short nChannels; /* number of channels connected to the AFCKs */
unsigned short afckAddress[12]; /* MAC address of AFCK board */
octet sector[12]; /* eTOF sector linked to the AFCK */
unsigned short channelNumber[576]; /* channel number */
unsigned short geometryId[576]; /* geometry id->plane,counter,strip,side */
};
/* end etofElectronicsMap.idl */
- Printer-friendly version
- Login or register to post comments