If she died that suddenly, i seriously doubt it was an infection. I would definitely think brain tumor.
I'm very sorry to hear that she didn't make it, but it's one of those things with rats. I love my pet rats, but after this batch dies off, I vow not to get more, because they ALWAYS die from some horrible horrible thing. Old age is never what kills them. It's heartbreaking.
Very sorry for your loss.