Changeset 16612
- Timestamp:
- 06/03/13 09:56:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r16587 r16612 173 173 fFileFormat(FAD::kNone), /*fMaxRun(0),*/ fLastOpened(0), fLastClosed(0), 174 174 fDimWriteStats ("FAD_CONTROL", imp), 175 fDimRuns ("FAD_CONTROL/RUNS", "I: 5;C",175 fDimRuns ("FAD_CONTROL/RUNS", "I:2;C", 176 176 "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" 178 178 "|file[string]:filename of last opened file"), 179 179 fDimEvents ("FAD_CONTROL/EVENTS", "I:4", … … 450 450 void UpdateRuns(const string &fname="") 451 451 { 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 { 457 454 fLastOpened, 458 455 fLastClosed … … 462 459 memcpy(data.data(), values, sizeof(values)); 463 460 strcpy(data.data()+sizeof(values), fname.c_str()); 461 fDimRuns.setQuality((bool)fFile); 464 462 fDimRuns.Update(data); 465 463
Note:
See TracChangeset
for help on using the changeset viewer.