Ignore:
Timestamp:
05/26/12 17:41:52 (12 years ago)
Author:
tbretz
Message:
Update a short service whic only transmits the run-numbers for the DRS calibration.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DataCalib.cc

    r12809 r13924  
    3333}
    3434
    35 bool DataCalib::ResetTrgOff(DimDescribedService &dim)
     35bool DataCalib::ResetTrgOff(DimDescribedService &dim, DimDescribedService &runs)
    3636{
    3737    if (fData.fStep!=3)
     
    4545
    4646    fData.fStep = 1;
    47     Update(dim);
     47    Update(dim, runs);
    4848    fData.fStep = 2;
    4949
     
    5151}
    5252
    53 void DataCalib::Update(DimDescribedService &dim)
     53void DataCalib::Update(DimDescribedService &dim, DimDescribedService &runs)
    5454{
    5555    const uint16_t roi = fData.fRoi;
     
    7676
    7777    dim.Update(buf);
     78
     79    runs.setData(buf.data(), 4*sizeof(uint32_t));
     80    runs.Update();
    7881}
    7982
     
    334337        WriteFits();
    335338
    336     Update(fDim);
     339    Update(fDim, fDimRuns);
    337340
    338341    fData.fStep++;
Note: See TracChangeset for help on using the changeset viewer.