Changeset 13849 for trunk/FACT++/src
- Timestamp:
- 05/23/12 21:12:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r13847 r13849 304 304 // ======================================================================== 305 305 306 class StateMachineSmartFACT : public StateMachineDim //, public DimInfoHandler306 class StateMachineSmartFACT : public StateMachineDim 307 307 { 308 308 private: … … 407 407 void WriteBinary(const EventImp &d, const string &fname, const T &t, double scale, double offset=0) 408 408 { 409 const Statistics stat(t); 410 409 411 vector<uint8_t> val(t.size(), 0); 410 412 for (uint64_t i=0; i<t.size(); i++) … … 424 426 out << offset << '\n'; 425 427 out << offset+scale << '\n'; 428 out << setprecision(3); 429 out << stat.min << '\n'; 430 out << stat.med << '\n'; 431 out << stat.max << '\n'; 426 432 out.write(ptr, val.size()*sizeof(uint8_t)); 427 433 … … 1391 1397 1392 1398 // -------------- System status -------------- 1393 if (f McpConfigurationState>=5) // Idle1399 if (fDimMcp.state()>=5) // Idle 1394 1400 { 1395 1401 string col = kHtmlBlue;
Note:
See TracChangeset
for help on using the changeset viewer.