several improvements to HDF5 writer
more improvements to h5 writer: detsum_corr for corrected detector sum