Provide compatibility with Geant4 10.7.1 for testing
Whilst Athena master
is using Geant4 10.6.3 at the moment, there's interest in further testing and trials with the latest 10.7.1 version.
This MR provides the changes needed to compile Athena master
with Geant4 10.7.1 whilst retaining full back compatibility with the earlier versions currently in use. The changes are minor and restricted to one file(!).
- One call to a no longer provided interface if
#if
protected on the used Geant4 version. - The remaining changes involve changing a direct data member access to access via a member function. The direct access is removed in 10.7, but all earlier versions provide the member function access, so no checks on the Geant4 version in use are required.
These changes have been tested for AthSimulation and full Athena builds using the current externals (so geant4 10.6.3) so should pass without error. No changes to physics are involved.