Problem 646 - InvokeAtRestDoItProcs throws G4Exception when no AtRestDoIt process is active
Summary: InvokeAtRestDoItProcs throws G4Exception when no AtRestDoIt process is active
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: tracking (show other problems)
Version: 6.2
Hardware: All All
: P2 normal
Assignee: Takashi.Sasaki
URL:
Depends on:
Blocks:
 
Reported: 2004-07-12 14:32 CEST by gum
Modified: 2004-11-07 21:22 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.