Save trigger information to hdf5 file.