Those tramlines are notorious - I used to have to go that way every day and got caught early one morning when they had a film of water (dew) on them and it was like trying to ride across 2 lines of ice, it was so slippery and down I went with nasty bumps and bruises and shredded clothing.
That is the problem with the tracks leading into the stop and leaving you nowhere to go.
In Milan, where they have a tram stop, the cycle lane continues behind the stop, so you hardly ever cross them, except at right angles.
BTW helmets are designed to absorb impact. The foam liner may split and it will still have done it's job as long as the external shell maintained it's shape.
Hope you're on the mend
Be careful out there.
Guru P