This problem occurs occasionally in G4PAIonisation. Hundreds of events may be processed ok before an array index suddenly goes out of range. The place where this occurs is shown below. I can supply a more complete stack trace if necessary. Thanks! Florian Gahbauer #1 0x8086982 in G4PAIonisation::GetLossWithFluct (this=0x8666d40, Step=9.9321313495895005, aParticle=0x89f4f48, aMaterial=0x83e1380) at src/G4PAIonisation.cc:664 664 (*(*fPAItransferBank)(iPlace+1))(iTransfer)*W2) )
Hi Michel, this is one for you (or Vladimir?) I guess. Many greetings, Hans-Peter.
The loops in get energy transfer functions were modified to prevent infinite looping.