Problem 646

Summary: InvokeAtRestDoItProcs throws G4Exception when no AtRestDoIt process is active
Product: Geant4 Reporter: gum
Component: trackingAssignee: Takashi.Sasaki
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.2   
Hardware: All   
OS: All   

Description gum 2004-07-12 14:32:57 CEST
In example/novice/N06 it is sometimes useful to turn G4Scintillation off. Now,
G4Scintillation is a G4VRestDiscreteProcess and has an AtRestDoIt. Problem is,
when G4Scintillation is not active and the track is an electron (a stable
particle as opposed to an anti-particle or unstable particle) the method
InvokeAtRestDoItProcs in G4SteppingManager2.cc throws a G4Exception because, in
this case:

NofInactiveProc==MAXofAtRestLoops
Comment 1 Takashi.Sasaki 2004-11-07 21:22:59 CET
This was intended to protect giving unnecessary results when no AtRestDoIt
processes exist. In the next release, it will be changed to issue just the
warning. The change will be commited on CVS, soon.