I think the global answer goes back to this post you answered a while back.
ie relating to G4VParticleChange()
having been marked as delete in 11.2 and how one is supposed to use these classes from now on.
If there is a resource about this that you could point me to I would appreciate it, as I think it is related to all other applications that one may need to run with up to date GEANT and associated physics lists.
I can’t see anything relating to G4VProcess
or G4VParticleChange
here:
https://geant4.web.cern.ch/download/release-notes/notes-v11.2.0.html
I should note in this line:
G4VProcess *clone() { return new ZStepLimiter();
I deleted the *this
from ZStepLimiter(*this)
as it was previously as it wont compile otherwise.
I must say I cant discern a fundamental difference here from 11.1 to 11.2
https://geant4.kek.jp/lxr/source/track/src/G4VParticleChange.cc
Thanks for your help and input!
Much appreciated.