Changeset 12494 for trunk/FACT++/src/DataWriteFits.cc
- Timestamp:
- 11/11/11 03:20:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataWriteFits.cc
r12484 r12494 124 124 // Header values whihc won't change during the run 125 125 WriteKey("ID", i, hh.board_id, "Board ID"); 126 WriteKey("DNA", i, hh.DNA, "DNA");127 126 WriteKey("FWVER", i, hh.version_no, "Firmware Version"); 127 128 ostringstream dna; 129 dna << "0x" << hex << hh.DNA; 130 WriteKey("DNA", i, dna.str(), "Unique FPGA device identifier (DNA)"); 128 131 } 129 132 … … 166 169 167 170 // FIXME: I cannot write a double! WHY? 168 fFile.WriteKey("REFCLK", avg/cnt , "Average reference clock frequency in Hz");171 fFile.WriteKey("REFCLK", avg/cnt*2.048, "Average reference clock frequency in Hz"); 169 172 } 170 173 catch (const CCfits::FitsException &e)
Note:
See TracChangeset
for help on using the changeset viewer.