Problem 278 - Get number of secondaries
Summary: Get number of secondaries
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: track (show other problems)
Version: 1.0
Hardware: Sun Solaris
: P2 normal
Assignee: Makoto.Asai
URL:
Depends on:
Blocks:
 
Reported: 2001-07-24 04:10 CEST by Sabrina.Bouvet
Modified: 2001-07-24 21:42 CEST (History)
0 users

See Also:


Attachments

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