Changeset 11226 for trunk/FACT++/src


Ignore:
Timestamp:
06/30/11 23:29:42 (13 years ago)
Author:
tbretz
Message:
broadcast whole events via Dim; made MainWindow and abstract base class and implemented the Adc tab widgets into MainWindow and FactGui
File:
1 edited

Legend:

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

    r11225 r11226  
    12361236        static DimEventData *data = 0;
    12371237
    1238         const size_t sz = sizeof(DimEventData)+event->Roi*2;
     1238        const size_t sz = sizeof(DimEventData)+event->Roi*2*1440;
    12391239
    12401240        if (data && data->Roi != event->Roi)
     
    12571257        data->StartTM     = event->StartTM[0];
    12581258
    1259         memcpy(data->Adc_Data, event->Adc_Data, event->Roi*2);
     1259        memcpy(data->Adc_Data, event->Adc_Data, event->Roi*2*1440);
    12601260
    12611261        fDimEventData.setData(data, sz);
     
    15421542        }
    15431543
    1544 
    1545 
    15461544        /*
    15471545         uint16_t fTriggerType;
    15481546         uint32_t fTriggerId;
    15491547         uint32_t fEventCounter;
    1550          uint32_t fFreqRefClock;
    15511548         uint16_t fAdcClockPhaseShift;
    15521549         uint16_t fNumTriggersToGenerate;
Note: See TracChangeset for help on using the changeset viewer.