00001 #ifndef SCAN_HEADER__H
00002 #define SCAN_HEADER__H
00003
00004 #include "dataTypes.h"
00005 #include "CommonWithDsp/processor.h"
00006 #include "CommonWithDsp/sctStructure.h"
00007
00008 struct ScanHeader {
00009 UINT16 version;
00010 UINT16 length;
00011 UINT32 runNumber;
00012 UINT32 scanNumber;
00013
00014 char moduleName[16];
00015
00016 UINT16 scanType;
00017 UINT16 npoints;
00018
00019 UINT32 size;
00020 UINT16 dataType;
00021 UINT16 width;
00022
00023 ABCDModule config;
00024
00025 UINT32 pntPoints;
00026 UINT32 pntEvents;
00027 UINT32 pntErrors;
00028 UINT32 pntData;
00029 };
00030
00031 struct scan_result_ptrs {
00032 ScanHeader header;
00033
00034 FLOAT32* points;
00035 UINT32* nEvents;
00036 UINT32* nErrorEvents;
00037 void* data;
00038 };
00039
00040 #endif