Commit 2acda3c5 authored by Whitney Armstrong's avatar Whitney Armstrong

Xtal cal digi fix.

Because of bad c-style cast the block energies being truncated at 1 keV, they were being
truncated at 1 GeV!!!

This was updated using a nice round function with explicit return type: https://en.cppreference.com/w/cpp/numeric/math/round

	modified:   CrystalEndcapsDigi.cpp
parent 09f8d18f
Pipeline #5204 passed with stages
in 8 minutes and 40 seconds