There are a couple possibilities that could explain your symptoms, but in truth, these symptoms are unusual. I do not think that your symptoms can be explained by a migraine headache
. Migraine pain is typically throbbing in nature and lasts a lot longer than 10 seconds. Likewise I think a brain tumor being the cause of these symptoms is unlikely. Headaches caused by brain tumors are typically dull and are worse in the morning. Your description sounds somewhat like cluster headaches. These type of headaches are one sided and have been described as an ice pick going through the head. They can be associated with tenderness over the area that hurts. However, they usually last 30 minutes, not 10 seconds. Finally, a disease called temporal arteritis can cause bad headaches. These headaches are on the temple of one side of the head, and this area is very tender to the touch. If your headaches are localized here and you are tender in that area, you should get this checked out right away because it can results in blindness.
I suggest that you schedule an appointment with your primary care physician
. He or she can listen to your description of your headaches, perform a comprehensive neurological exam, and hopefully make a diagnosis. If temporal arteritis is suspected, then you will need some blood work done immediately.