Changeset 11747
- Timestamp:
- 08/02/11 20:32:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r11725 r11747 675 675 array<uint16_t,2> fVecRoi; 676 676 677 int eventCheck( PEVNT_HEADER *fadhd, EVENT *event)677 int eventCheck(uint32_t runNr, PEVNT_HEADER *fadhd, EVENT *event) 678 678 { 679 679 /* … … 747 747 const size_t sz = sizeof(EVENT)+event->Roi*2*1440; 748 748 749 // Copy event header 749 750 vector<char> data(sz+event->Roi*2*1440); 750 751 memcpy(data.data(), event, sizeof(EVENT)); … … 1210 1211 } 1211 1212 1212 int eventCheck( PEVNT_HEADER *fadhd, EVENT *event)1213 { 1214 return EventBuilderWrapper::This->eventCheck( fadhd, event);1215 } 1216 1217 void gotNewRun( int runnr, PEVNT_HEADER *headers)1213 int eventCheck(uint32_t runNr, PEVNT_HEADER *fadhd, EVENT *event) 1214 { 1215 return EventBuilderWrapper::This->eventCheck(runNr, fadhd, event); 1216 } 1217 1218 void gotNewRun(int runnr, PEVNT_HEADER *headers) 1218 1219 { 1219 1220 return EventBuilderWrapper::This->gotNewRun(runnr, headers); 1220 1221 } 1222 1223 int subProcEvt(int threadID, PEVNT_HEADER *fadhd, EVENT *event, int8_t *buffer) 1224 { 1225 return 100; 1226 } 1221 1227 } 1222 1228
Note:
See TracChangeset
for help on using the changeset viewer.