Well...it could have been a seizure...the body's reaction was that of Gran Mal seizure activity. But the question would be why? What could have caused it? What is the precurser of onset?
I am more inclined to think that you may have had a very bad reaction to the vomitting spell...like you began to asperate and choke; as convulsions, fainting , loss of bodily function control (including drooling), etc, can be present.
You'll be in my prayers that this was an isolated incident for you...but your doctors are doing all the proper tests.
Good Luck! Please remember to click 'ACCEPT' if I answered your question...and/or...provide more information. Bonuses & feedback are greatly appreciated. And, ask for me anytime.
_________________________
"always willing to answer, counsel, and help..."