Changeset 11747


Ignore:
Timestamp:
08/02/11 20:32:20 (13 years ago)
Author:
tbretz
Message:
Added runNr to eventCheck; added stub for subProcEvt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11725 r11747  
    675675    array<uint16_t,2> fVecRoi;
    676676
    677     int eventCheck(PEVNT_HEADER *fadhd, EVENT *event)
     677    int eventCheck(uint32_t runNr, PEVNT_HEADER *fadhd, EVENT *event)
    678678    {
    679679        /*
     
    747747        const size_t sz = sizeof(EVENT)+event->Roi*2*1440;
    748748
     749        // Copy event header
    749750        vector<char> data(sz+event->Roi*2*1440);
    750751        memcpy(data.data(), event, sizeof(EVENT));
     
    12101211    }
    12111212
    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)
    12181219    {
    12191220        return EventBuilderWrapper::This->gotNewRun(runnr, headers);
    12201221    }
     1222
     1223    int subProcEvt(int threadID, PEVNT_HEADER *fadhd, EVENT *event, int8_t *buffer)
     1224    {
     1225        return 100;
     1226    }
    12211227}
    12221228
Note: See TracChangeset for help on using the changeset viewer.