Skip to content

Xtal cal digi fix.

Whitney Armstrong requested to merge cal_digi_fix into master

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

Merge request reports

Loading