Development, optimization, and calibration of an active electromagnetic calorimeter for pulsed radiation spectrometry. (26th August 2021)