Probably neither one. Pain patterns after neurosurgery have been studied by a group of scientists in Germany and the Netherlands. It seems that pain is less likely for patients having operations on the skull (cranium) compared with spinal surgery. Headache is possible but not common.
Spinal or back surgery, on the other hand, tends to be more painful. These patients have more pain before the operation and less pain relief than expected afterwards.
Whether cranial or spinal surgery, gender (male or female) doesn't seem to matter. Both sexes reported about the same pain patterns when comparing pain level, location, or duration.
Age may make a slight difference. Younger patients tend to have more pain after the operation. Older patients (greater than 60 years of age) report more pain before the surgery. Anyone of any age or gender has more pain when there are complications after surgery.
It's possible that your daughter had good pain management before and after surgery. When the right combination of drug relievers is used, pain can be reduced and even eliminated for many patients.