- Timestamp:
- 03/26/13 17:18:41 (12 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r15099 r15157 1069 1069 } 1070 1070 1071 bool IsRunFileOpen() 1072 { 1073 return fLastOpened==fRunNumber-1; 1074 } 1075 1071 1076 bool IncreaseRunNumber(uint32_t run) 1072 1077 { -
trunk/FACT++/src/fadctrl.cc
r15105 r15157 1593 1593 } 1594 1594 1595 return GetNumFilesOpen()>0 ? FAD::State::kWritingData : FAD::State::kConnected;1595 return GetNumFilesOpen()>0 && IsRunFileOpen() ? FAD::State::kWritingData : FAD::State::kConnected; 1596 1596 } 1597 1597 … … 1691 1691 1692 1692 T::AddStateName(FAD::State::kWritingData, "WritingData", 1693 "The event builder has an open file (that does not mean that new events are currently received)");1693 "The event builder has an open file which belongs to the last run started (that does not mean that new events are currently received)"); 1694 1694 1695 1695 // FAD Commands
Note:
See TracChangeset
for help on using the changeset viewer.