Changeset 11511 for trunk/FACT++/src/FAD.h
- Timestamp:
- 07/21/11 12:11:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/FAD.h
r11343 r11511 120 120 121 121 uint32_t SoftTrig ; // SoftTrigger Info (TBD) 122 uint32_t PCTime ; // when did event start to arrive at PC 122 uint32_t PCTime ; // epoch 123 uint32_t PCUsec ; // micro-seconds 123 124 124 125 uint32_t BoardTime[NBOARDS];// … … 142 143 uint32_t Version ; 143 144 uint32_t RunType ; 145 uint32_t RunTime ; //unix epoch for first event 146 uint32_t RunUsec ; //microseconds 144 147 uint16_t NBoard ; 145 148 uint16_t NPix ; … … 173 176 //--------------------------------------------------------------- 174 177 175 #define MAX_RUN 256178 #define MAX_RUN 8 176 179 #define MAX_EVT 32768 //don't worry, for events is MAX_RUN*MAX_EVT 177 180 … … 180 183 typedef struct { 181 184 uint32_t runId ; //run number 185 uint32_t firstTime ; //epoch of first event received 186 uint32_t firstUsec ; //epoch of first event received 182 187 uint32_t lastTime ; //time when last event written so far 183 188 uint32_t closeTime ; //time when run should be closed 184 189 uint32_t maxEvt ; //maximum number of events to write 185 190 uint32_t actEvt ; //actual number of events written so far 186 uint32_t lastEvt ; //last event of this run read so far191 int32_t lastEvt ; //last event of this run read so far 187 192 uint32_t nextEvt ; //next event number to be written 188 193 uint32_t waitEvt ; //event that would be ready to be written
Note:
See TracChangeset
for help on using the changeset viewer.