Problem 278

Summary: Get number of secondaries
Product: Geant4 Reporter: Sabrina.Bouvet
Component: trackAssignee: Makoto.Asai
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.0   
Hardware: Sun   
OS: Solaris   

Description Sabrina.Bouvet 2001-07-24 04:10:37 CEST
In your documentation, (Application Developper, Tracking), you say that you
have access to number of secondaries but there is no method of GetSecondaries
in G4ParticleChange. I find one in G4VParticleChange but I don't understand how
to use it. Could you help me? Thanks.
Comment 1 Makoto.Asai 2001-07-24 21:43:59 CEST
ParticleChange is NOT meant to the user's use.
Once G4SteppingManager collects secondaries made by the particular
ParticleChange, it contains no secondaries anymore.

To get information about the current step, I advise to make your own
SteppingVerbose class, or to import some of its code into your
SteppingAction (or sensitive datector). Refer to the exampleN03 for
the use of G4SteppingVerbose.