demand good photon to fill all histograms
fixing logic for filling histograms