Customizing cross section calculation function

Hi everyone!

For some reason I need to customize the calculation of the cross-section by implementing the following function in my physics model: G4VEmModel::ComputeCrossSectionPerAtom(G4Step* step) { }.
None of the available implementations takes G4Step as the input parameters. Any comments on how to do this would be so much appreciated.

Thanks,