Message: Finding all particles involved in an interaction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Finding all particles involved in an interaction 

Forum: Event and Track Management
Date: 12 Jul, 2015
From: Karen Pease <Karen Pease>

Perhaps this is somewhat of a novice question, but having read through tons of documents and searching through all of the examples I can't find the answer. Picture we have a neutron moving through a volume that undergoes a (n, gamma) interaction. If I have a UserSteppingAction I can see that it's a neutron by:

  if (step->GetTrack()->GetDefinition() == G4Neutron::Definition())

I can also find out the material of the volume:

step->GetTrack()->GetMaterial()

But this doesn't tell me what the neutron is interacting with. If the material was, say, graphite with a small boron impurity, it doesn't tell me whether the neutron is being captured by carbon as (n, gamma) or interacting with boron as (n, alpha). I mean, I could try working the reaction out from the secondaries, but that'd be pretty awkward. Surely there's a way to find a list of all particles involved in an interaction, even if some of them are just from a volume rather than being actively tracked?

Or is the only way to reverse-engineer it from the secondaries?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Finding all particles involved in an interaction   (Michael H. Kelsey - 12 Jul, 2015)
(_ None: Re: Finding all particles involved in an interaction   (michel maire - 13 Jul, 2015)
(_ Ok: Re: Finding all particles involved in an interaction   (Michael H. Kelsey - 13 Jul, 2015)
 Add Message Add Message
to: "Finding all particles involved in an interaction"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]