Changeset 11225 for trunk/FACT++/src


Ignore:
Timestamp:
06/30/11 20:55:02 (14 years ago)
Author:
tbretz
Message:
Implemented REFRENECE_CLOCK
File:
1 edited

Legend:

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

    r11224 r11225  
    732732    DimDescribedService fDimDNA;
    733733    DimDescribedService fDimTemperature;
     734    DimDescribedService fDimRefClock;
    734735    DimDescribedService fDimStatistics;
    735736
     
    779780        fDimDNA         ("FAD_CONTROL/DNA",              "X:40", ""),
    780781        fDimTemperature ("FAD_CONTROL/TEMPERATURE",      "F:82", ""),
     782        fDimRefClock    ("FAD_CONTROL/REFERENCE_CLOCK",  "I:42", ""),
    781783        fDimStatistics  ("FAD_CONTROL/STATISTICS",       "X:8",  ""),
    782784        fDebugStream(false), fDebugRead(false)
     
    14441446        fNumConnected = con;
    14451447
    1446 
    14471448        const FAD::EventHeader old = fVecHeader[id];
    14481449        fVecHeader[id] = h;
     
    14801481        }
    14811482
     1483        // -----------
     1484
    14821485        static Time oldt(boost::date_time::neg_infin);
    14831486        Time newt;
     
    14861489        {
    14871490            oldt = newt;
     1491
     1492            // --- RefClock
     1493
     1494            const boost::array<uint32_t,42> clk = Compare(&h, &h.fFreqRefClock);
     1495            Update(fDimRefClock, clk);
     1496
     1497            // --- Temperatures
    14881498
    14891499            const boost::array<int16_t,42> tmp[4] =
Note: See TracChangeset for help on using the changeset viewer.