Message: Getting element from material Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Getting element from material 

Forum: Hadronic Processes
Date: 23 Sep, 2011
From: Dennis Mackin <Dennis Mackin>

When I have a proton inelastic scattering event, how do I find out the elemental type of the target nucleus from the material. For example, I can find the material name using the command:
step.GetTrack()->GetMaterial()->GetName().
What is the analogous command for the element?

Thank you.

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

1 Idea: Re: Getting element from material   (Joel Long - 29 Sep, 2011)
(_ None: Re: Getting element from material   (Dennis Mackin - 02 Oct, 2011)
(_ Idea: Re: Getting element from material   (Vladimir Ivanchenko - 11 Oct, 2011)
 Add Message Add Message
to: "Getting element from material"

 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 ]