1 /********************************************************************************
3 * equipment.h: DATE equipment data format
6 * V01.1 AV 12-Aug-98 Changed order
7 * V01.0 MG & AV 09-Mar-98 Initial version
9 *******************************************************************************/
11 //We use this copy of equipment.h file
12 //to avoid nececcity compilation of aliroot with DATE
14 #ifndef __AliPHOSequipment_h__
15 #define __AliPHOSequipment_h__
17 struct equipmentHeaderStruct {
18 short headerExtLen; /* length in bytes of an optional extension */
19 short type; /* the equipment type identifier */
20 char reserved; /* reserved byte */
21 char rawByteAlign; /* length (in bytes) of the word read from hw */
22 short equipmentId; /* equipment identifier */
23 long rawDataLen; /* length (in bytes) of the data block (no header) */
26 struct AliPHOSequipmentStruct {
27 struct equipmentHeaderStruct equipmentHeader; /* the equipment header */
28 unsigned short rawData[1]; /* the equipment raw data */