Changeset 16612 for trunk


Ignore:
Timestamp:
06/03/13 09:56:26 (11 years ago)
Author:
tbretz
Message:
Removed some obsolete values from FAD_CONTROL/RUNS
File:
1 edited

Legend:

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

    r16587 r16612  
    173173        fFileFormat(FAD::kNone), /*fMaxRun(0),*/ fLastOpened(0), fLastClosed(0),
    174174        fDimWriteStats  ("FAD_CONTROL", imp),
    175         fDimRuns        ("FAD_CONTROL/RUNS",               "I:5;C",
     175        fDimRuns        ("FAD_CONTROL/RUNS",               "I:2;C",
    176176                                                           "Run files statistics"
    177                                                            "|stats[int]:num of open files, min/max run no, last opened or closed run"
     177                                                           "|stats[int]:last opened or closed run"
    178178                                                           "|file[string]:filename of last opened file"),
    179179        fDimEvents      ("FAD_CONTROL/EVENTS",             "I:4",
     
    450450    void UpdateRuns(const string &fname="")
    451451    {
    452         uint32_t values[5] =
    453         {
    454             !fFile ? 0 : 1,
    455             fFile ? fFile->GetRunId() : 0,
    456             fFile ? fFile->GetRunId() : 0,
     452        uint32_t values[2] =
     453        {
    457454            fLastOpened,
    458455            fLastClosed
     
    462459        memcpy(data.data(), values, sizeof(values));
    463460        strcpy(data.data()+sizeof(values), fname.c_str());
     461        fDimRuns.setQuality((bool)fFile);
    464462        fDimRuns.Update(data);
    465463
Note: See TracChangeset for help on using the changeset viewer.