Photons generated by location of gamma interaction

It seems that

iterating up the list of parents to find the initial gamma

will not be possible, as you previously mentioned here: Get G4Track by trackID - #2 by mkelsey.