Changeset 11824 for trunk/FACT++/src
- Timestamp:
- 08/06/11 18:34:39 (14 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r11819 r11824 416 416 void LoadDrsCalibration(const char *fname) 417 417 { 418 DataCalib::ReadFits(fname, fMsg); 418 if (!DataCalib::ReadFits(fname, fMsg)) 419 return; 420 fMsg.Info("Successfully loaded DRS calibration from "+string(fname)); 421 DataCalib::Update(fDimDrsCalibration); 419 422 } 420 423 … … 813 816 } 814 817 818 uint32_t GetRunNumber() const 819 { 820 return fRunNumber; 821 } 822 815 823 void gotNewRun(int runnr, PEVNT_HEADER */*headers*/) 816 824 { -
trunk/FACT++/src/fadctrl.cc
r11817 r11824 1123 1123 // (Note that we might need another step which only checks if the continous trigger 1124 1124 // is wwitched off, too) 1125 fDimStartRun.Update(int64_t(runno)); 1125 const int64_t runs[2] = { runno, runno+1 }; 1126 fDimStartRun.Update(runs); 1126 1127 1127 1128 T::Info(" ==> TODO: Insert/update run configuration in database!"); … … 1544 1545 T(out, "FAD_CONTROL"), EventBuilderWrapper(*static_cast<MessageImp*>(this)), ba::io_service::work(static_cast<ba::io_service&>(*this)), 1545 1546 fStatus1(40), fStatus2(40), fStatusC(40), fStatusT(false), 1546 fDimStartRun("FAD_CONTROL/START_RUN", "X: 1", ""),1547 fDimStartRun("FAD_CONTROL/START_RUN", "X:2", ""), 1547 1548 fDimConnection("FAD_CONTROL/CONNECTIONS", "C:40;C:1", "") 1548 1549 { … … 1554 1555 // deletion and creation of threads and more. 1555 1556 1556 fDimStartRun.Update(int64_t(-1)); 1557 const int64_t runs[2] = { -1, GetRunNumber() }; 1558 fDimStartRun.Update(runs); 1557 1559 1558 1560 // State names
Note:
See TracChangeset
for help on using the changeset viewer.