This example illustrates the use of the generic biasing classes to create a bremsstrahlung splitting technique. Note that the EM package also offers a bremsstrahlung splitting, that is built-in to the package.
/GB04/biasing/setSplittingFactor [N splitting] /GB04/biasing/biasPrimaryOnly [true/false] /GB04/biasing/biasOnlyOnce [true/false]
The geometry is minimal : a single volume to which an instance of GB04BOptrBremSplitting is attached to.
The wrapping of physics processes by G4BiasingProcessInterface processes is simply handled by the G4GenericBiasingPhysics physics constructor, as shown in the main program.