Added a check if the parent particle pointer is valid in checkTruthParent
Fixes a possible loophole in TauTrackTruthMatchingTool where a TruthVertex has at least one incoming particle but no valid TuthParticle parent. Added a check if the pointer is valid.