From @ssnyder on a discussion about locks taken when setting element links.
One should be able to say just ElementLink< xAOD::IParticleContainer > theIParticleTrackLink (theTrackLink); and avoid the lookup of the DataProxy.
So trying it.
ping also @akraszna and @goetz