Changeset 17271
- Timestamp:
- 10/20/13 17:01:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataCalib.cc
r17252 r17271 79 79 80 80 const Time time(fData.fDateObs); 81 const uint32_t night = time.NightAsInt(); 81 82 82 83 dim.setQuality(fData.fStep); … … 84 85 dim.Update(time); 85 86 87 vector<uint32_t> data(5); 88 memcpy(data.data(), buf.data(), 4*sizeof(uint32_t)); 89 data[4] = night<19700000 ? 0 : night; 90 86 91 runs.setQuality(fData.fStep); 87 runs.setData( buf.data(), 4*sizeof(uint32_t));92 runs.setData(data); 88 93 runs.Update(time); 89 94 }
Note:
See TracChangeset
for help on using the changeset viewer.