Simulation and hit reconstruction of irradiated pixel sensors for the CMS experiment