Text this: Determination of Fano factor and pre-amplifier noise from the measurement of energy resolution of a HPGe detector