add function to find parent pdgid