FissionFragment Extended Example Ternary Fission

Hello, I’m trying to adapt the FissionFragment example for use in determining the detection efficiency of a time projection chamber for ternary fission. It is my understanding that the Wendt Fission Model has a function G4SetTernaryProbability() which I would like to set to 1, so that I only produce ternary fission events from a neutron beam on a U-235 target. It appears that G4SetTernaryProbability() is a function inside of G4FissionFragmentGenerator, however, I don’t understand how this file is even accessed by the FissionFragment example. Can anyone please direct me on how to adapt the FissionFragment example so that this function can be called? Thanks very much.