Changeset 11839 for trunk/FACT++/src/fadctrl.cc
- Timestamp:
- 08/07/11 18:44:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11824 r11839 1085 1085 } 1086 1086 1087 const uint32_t runno = StartNewRun(evt.Get<uint64_t>(), evt.Get<uint64_t>(8), fTargetConfig->second);1087 const uint32_t runno = StartNewRun(evt.Get<uint64_t>(), evt.Get<uint64_t>(8), *fTargetConfig); 1088 1088 1089 1089 ostringstream str; … … 1135 1135 int ResetConfig() 1136 1136 { 1137 const int64_t runs[2] = { -1, GetRunNumber() }; 1138 fDimStartRun.Update(runs); 1139 1137 1140 return FAD::kConnected; 1141 } 1142 1143 void CloseRun(uint32_t runid) 1144 { 1145 if (runid==GetRunNumber()-1) 1146 ResetConfig(); 1138 1147 } 1139 1148 … … 1537 1546 stat[40] = thread; 1538 1547 1539 fDimConnection.setData(stat.data(), 41); 1540 fDimConnection.updateService(); 1548 fDimConnection.Update(stat); 1541 1549 } 1542 1550 … … 1554 1562 // previous state but this might introduce some overhead of 1555 1563 // deletion and creation of threads and more. 1556 1557 const int64_t runs[2] = { -1, GetRunNumber() }; 1558 fDimStartRun.Update(runs); 1564 ResetConfig(); 1559 1565 1560 1566 // State names
Note:
See TracChangeset
for help on using the changeset viewer.