Monte Carlo simulation tool for online treatment monitoring in hadrontherapy with in-beam PET: A patient study