A method for photon beam Monte Carlo multileaf collimator particle transport.