Build one-dimensional histogram of values with unequal bin width and value weights.
Reads .PHOTONS metadata.
Reads data from the datasets in .PHOTON file.
Builds one-, two- or three dimensional histogram of values with equal bin width.
Reads photon x and y positions and dt timing data into the structure.