Pain in the head caused by dilation of cerebral arteries or muscle contractions or a reaction to drugs