Thank you for your query.
Is your daughter also having cough
or running nose? Upper respiratory tract
infection can give rise to sinusitis
which can give localized headache and even vomitings. In case she does not have a cough or running nose then she needs to be examined by a doctor to find the cause of localized pain and vomitings.
I hope I have answered your query to your satisfaction.
Wishing your daughter an early recovery.