Changeset 12477 for trunk/FACT++/src/DataWriteRaw.cc
- Timestamp:
- 11/09/11 21:51:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataWriteRaw.cc
r11893 r12477 1 1 #include "DataWriteRaw.h" 2 2 3 #include "HeadersFAD.h" 3 4 #include "FAD.h" 4 5 … … 18 19 } 19 20 20 bool DataWriteRaw::Open( RUN_HEAD *h)21 bool DataWriteRaw::Open(const RUN_HEAD *h, const FAD::RunDescription &d) 21 22 { 22 23 const string name = FormFileName("bin"); … … 51 52 52 53 WriteBlockHeader(kRunHeader, 1, 0, sizeof(RUN_HEAD)-sizeof(PEVNT_HEADER*)); 53 fOut.write(reinterpret_cast<c har*>(h), sizeof(RUN_HEAD)-sizeof(PEVNT_HEADER*));54 fOut.write(reinterpret_cast<const char*>(h), sizeof(RUN_HEAD)-sizeof(PEVNT_HEADER*)); 54 55 55 56 for (int i=0; i<40; i++)
Note:
See TracChangeset
for help on using the changeset viewer.