new distenergy class to make histograms for bryce