Changeset 11324
- Timestamp:
- 07/10/11 17:05:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r11295 r11324 686 686 #endif 687 687 688 #include "DimWriteStatistics.h" 689 688 690 class EventBuilderWrapper 689 691 { … … 736 738 uint32_t fNumEvts[4]; 737 739 740 DimWriteStatistics fDimWriteStats; 738 741 DimDescribedService fDimRuns; 739 742 DimDescribedService fDimEvents; … … 785 788 EventBuilderWrapper(MessageImp &imp) : fMsg(imp), 786 789 fFileFormat(kNone), fMaxRun(0), fLastOpened(0), fLastClosed(0), 790 fDimWriteStats ("FAD_CONTROL", imp), 787 791 fDimRuns ("FAD_CONTROL/RUNS", "I:5;C", ""), 788 792 fDimEvents ("FAD_CONTROL/EVENTS", "I:4", ""), … … 794 798 fDimTemperature ("FAD_CONTROL/TEMPERATURE", "F:82", ""), 795 799 fDimRefClock ("FAD_CONTROL/REFERENCE_CLOCK", "I:42", ""), 796 fDimStatistics1 ("FAD_CONTROL/STATISTICS1", "I:3;I: 5;I:1;X:3;C:676", ""),800 fDimStatistics1 ("FAD_CONTROL/STATISTICS1", "I:3;I:2;X:4;I:3;I:1;I:2;C:40;I:40;I:40;X:40", ""), 797 801 fDimStatistics2 ("FAD_CONTROL/STATISTICS2", "I:1;I:280;X:40;I:40;I:4;I:4;I:2;I:2;I:3;C:40", ""), 798 802 fDebugStream(false), fDebugRead(false) 799 {803 { 800 804 if (This) 801 805 throw logic_error("EventBuilderWrapper cannot be instantiated twice."); … … 1057 1061 fFiles.push_back(file); 1058 1062 1063 ostringstream str; 1064 str << "Opened: " << file->GetFileName() << " (" << file->GetRunId() << ")"; 1065 fMsg.Info(str); 1066 1067 fDimWriteStats.FileOpened(file->GetFileName()); 1068 1059 1069 fLastOpened = runid; 1060 1070 UpdateRuns(file->GetFileName()); … … 1118 1128 } 1119 1129 1120 ostringstream str;1121 str << "Closing file for run " << file->GetRunId() << " (" << file << ")" << endl;1122 fMsg.Info(str);1123 1124 1130 fFiles.erase(it); 1125 1131 … … 1134 1140 // Error message 1135 1141 } 1142 1143 ostringstream str; 1144 str << "Closed: " << file->GetFileName() << " (" << file->GetRunId() << ")"; 1145 fMsg.Info(str); 1136 1146 1137 1147 delete file;
Note:
See TracChangeset
for help on using the changeset viewer.