Changeset 15465 for trunk/FACT++/src
- Timestamp:
- 05/01/13 09:48:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/FAD.h
r15462 r15465 162 162 //--------------------------------------------------------------- 163 163 164 165 164 typedef struct _RUN_TAIL { 166 uint32_t nEventsOk ; //how many events were written165 /* uint32_t nEventsOk ; //how many events were written 167 166 uint32_t nEventsRej; //how many events were rejected by SW-trig 168 167 uint32_t nEventsBad; //how many events were rejected by Error … … 171 170 uint32_t PCtimeX ; //time when last event received 172 171 173 172 */ 174 173 //probably more to come ... 175 174 } __attribute__((__packed__)) RUN_TAIL ; … … 186 185 typedef struct { 187 186 uint32_t runId ; //run number 188 uint32_t firstTime ; //epoch of first event received189 uint32_t firstUsec ; //epoch of first event received187 // uint32_t firstTime ; //epoch of first event received 188 // uint32_t firstUsec ; //epoch of first event received 190 189 uint32_t lastTime ; //time when last event written so far 191 190 uint32_t closeTime ; //time when run should be closed … … 194 193 uint32_t procEvt ; //actual number of events processed so far 195 194 int32_t lastEvt ; //last event of this run read so far 196 uint32_t nextEvt ; //next event number to be written197 uint32_t waitEvt ; //event that would be ready to be written195 // uint32_t nextEvt ; //next event number to be written 196 // uint32_t waitEvt ; //event that would be ready to be written 198 197 int16_t fileId ; //<0 never opened, 0=open, >0 closed 199 198 int16_t procId ; //processing <0 never opened, 0=open, >0 closed … … 223 222 int16_t nRoiTM ; 224 223 uint32_t pcTime[2] ; 225 int32_t evtLen ;224 // int32_t evtLen ; 226 225 uint8_t Errors[4] ; 226 227 uint32_t evtCtrl_idx; 228 227 229 EVENT *fEvent ; 228 230 PEVNT_HEADER *FADhead; // 229 int8_t *buffer ;231 // int8_t *buffer ; 230 232 231 233 } WRK_DATA ; //internal to eventbuilder … … 236 238 237 239 typedef struct { 238 int frstPtr ; //first used index239 int lastPtr ; //last used index 240 int evtBuf[MAX_EVT*MAX_RUN] ; //index of event in mBuffer241 int evtStat [MAX_EVT*MAX_RUN] ; //status of event:240 // int frstPtr ; //first used index 241 // int lastPtr ; //last used index 242 int mBuffer_idx;//[MAX_EVT*MAX_RUN] ; //index of event in mBuffer 243 int evtStat;//[MAX_EVT*MAX_RUN] ; //status of event: 242 244 // -1=empty 243 245 // 1..NBoards reading #Boards … … 251 253 //(TO BE REVISED) 252 254 253 uint32_t pcTime[MAX_EVT*MAX_RUN] ; //time when last action happened255 // uint32_t lastRecv;//[MAX_EVT*MAX_RUN] ; //time when last action happened 254 256 } EVT_CTRL ; //internal to eventbuilder 255 257
Note:
See TracChangeset
for help on using the changeset viewer.