Compilation error for Geant4.9.4

Issue #13 resolved
Jochem Snuverink created an issue

in deacon branch:

BDSEventAction.cc:370 error: 'class G4PrimaryParticle' has no member named GetMomentumDirection BDSEventAction.cc:371 error: 'class G4PrimaryParticle' has no member named GetTotalEnergy

These methods have been added in 9.5.

Comments (2)

  1. Jochem Snuverink reporter

    I put these lines under a G4VERSION check, so that compilation is guaranteed. The code still needs to be fixed for Geant4.9.4

  2. Log in to comment