In reply to samsimpson:
Hi,
I'm a physio and urge you to get this looked at.
Given that you did a long distance event and it now hurts on hills it could be several things, and impossible to diagnose on this site.
If its the tendon below your knee cap, it could be patella tendinitis/osis, which takes a good time to settle even with rest and strengthening to prevent further overloading .
If its the bony nob which this attaches too at the top of the shin, it could be an avulsion or stress fracture.
I would either go GP or straight to physio. Whichever course you take, keep off the hills and the bike for a bit, ice it, stretch the quads properly and ? NSAIDS I you're allowed to take them?
True, biomechanics may be a factor, but the distance you covered especially if you didn't train properly,could give you this problem anyway.
Don't, leave it, go as soon as poss get a diagnosis and proper treatment and the sooner it will be sorted!
Cheers. Skol