Precise efficiency calibration of an HPGe detector up to 3.5 MeV, with measurements and Monte Carlo calculations.