I have a new (possibly dangerous) goal when I face situations like this recently.
Whether I lose because of bad luck, or bad decisions is one thing. And understanding why my decision was bad is extremely important IMHO...
But unless I am leaving the table after a bad beat or bad play or two then I have a more immediate problem than even analysis of the hands in question (which, again, is important).
I have to deal with the problem of my play deteriorating slightly, or even enormously after getting smacked around at the table.
I am talking about SELF CONTROL. And maybe you have this down... but i don't. I get tilted and I lose even more trying to win back my chips.
But its getting better. I take a deeop breath. Write a note to myself to spend some time thingking about the Boat over Boat hand that crushed me later, and get back to my good game as soon as possible.
My numbers are better since I started working on this.
Anyway.. hang in, and good luck!