- Timestamp:
- 07/01/09 08:51:02 (15 years ago)
- Location:
- drsdaq
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
drsdaq/History.txt
r68 r79 39 39 16/6/2009 Data is not rotated by copying in memory, but by saving to disk in 40 40 correct order using writev() (10% gain in rate) 41 18/6/2009 Introduced dummy, zero-initialized elements in raw data format to 42 align ordering to MAGIC format. Run date is now calculated with a 43 change to the next date on 13:00 UTC. 41 18/6/2009 Run date is now calculated with a change to the next date on 13:00 UTC. 44 42 -
drsdaq/RawDataCTX.h
r68 r79 33 33 typedef float F32; 34 34 35 #define MAGICNUM_OPEN 0x c0c1 // Magic number for run header while file open36 #define MAGICNUM_CLOSED 0x c0c0 // ... and when file is closed37 #define MAGICNUM_ERROR 0x c0c2 // ... and when an error occurred35 #define MAGICNUM_OPEN 0xe0e1 // Magic number for run header while file open 36 #define MAGICNUM_CLOSED 0xe0e0 // ... and when file is closed 37 #define MAGICNUM_ERROR 0xe0e2 // ... and when an error occurred 38 38 39 39 // Error codes … … 55 55 I32 SoftwareRevision; // Subversion revision number (negative for modified working copy) 56 56 57 U32 _res1[2];57 //U32 _res1[2]; 58 58 U32 Identification; 59 59 U32 Type; // Run type: 0=data, 1=pedestal, 3=test … … 62 62 63 63 I8 Description[100]; 64 I8 _res2[140];65 U32 _res3[6];64 //I8 _res2[140]; 65 //U32 _res3[6]; 66 66 67 67 U32 NBoards; // Number of used mezzanine boards … … 73 73 74 74 U32 Events; // Number of events in the file 75 U32 _res4;76 U32 NBytes; 77 I8 _res5[20];75 //U32 _res4; 76 U32 NBytes; // Bytes per sample 77 //I8 _res5[20]; 78 78 79 79 U32 StartSecond; // Opening and closing time of the file … … 85 85 // Board structure 86 86 typedef struct { 87 I8 _res[17];87 //I8 _res[17]; 88 88 I32 SerialNo; // Board serial number 89 89 F32 NomFreq; // Nominal sampling frequency [GHz] … … 97 97 U32 Second; // Event time stamp (result of gettimeofday()) 98 98 U32 Microsecond; 99 U32 _res[4];99 //U32 _res[4]; 100 100 U32 TriggerType; 101 101 U32 EventSize; // Size of following data in bytes
Note:
See TracChangeset
for help on using the changeset viewer.