]>
Commit | Line | Data |
---|---|---|
a81a09d8 | 1 | /******************************************************************************** |
2 | * | |
3 | * equipment.h: DATE equipment data format | |
4 | * | |
5 | * Revision History: | |
6 | * V01.1 AV 12-Aug-98 Changed order | |
7 | * V01.0 MG & AV 09-Mar-98 Initial version | |
8 | * | |
9 | *******************************************************************************/ | |
10 | ||
11 | //We use this copy of equipment.h file | |
12 | //to avoid nececcity compilation of aliroot with DATE | |
13 | ||
14 | #ifndef __AliPHOSequipment_h__ | |
15 | #define __AliPHOSequipment_h__ | |
16 | ||
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) */ | |
24 | }; | |
25 | ||
26 | struct AliPHOSequipmentStruct { | |
27 | struct equipmentHeaderStruct equipmentHeader; /* the equipment header */ | |
28 | unsigned short rawData[1]; /* the equipment raw data */ | |
29 | }; | |
30 | ||
31 | #endif |