I've been through, lemme see, four layoffs.
Fidelity Investments, Dictaphone, Fidelity again and then Hachette Book Group.
First time, it was a coupla months after 9/11 and the bottom had dropped out of the financial services market, so 3,000 contract workers were bounced. Dictaphone was bought by Nuance Communications and my job was excessed because the project was not being continued by the new management. Fidelity the second time around, helfino, no clue as to why they laid me off (I had great reviews, it had zip to do with performance). And at Hachette they were in the process of handing over their entire IT Department to subcontinental outsourcing.
It has never been about individual performance. Companies just do that. Recognize that, get your Unemployment and any severance you might be given, grab any training you can, network your little heart out and move on.
It is not personal.