It's perfectly normal to worry about something as momentous as that!! You don't say what type of aneurysm
it was - I know from personal experience that some types can be hereditary (although obviously that wouldn't mean that you'd DEFINITELY have the condition as well - just that you'd have a higher risk). I would imagine that had your mother had something that was considered to be hereditary the hospital would have suggested that you and your siblings be checked out.
However, I'd make an appointment with the doctor and just discuss the whole thing with them. Then at least you can explain excactly what happened with your mother and get the best advice possible. Worrying about it can lead to all sorts of other problems, so I think the best thing is to go and discuss it with the doctor. Good luck!!