Energy reconstruction of an n-type segmented inverted coaxial point-contact HPGe detector