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

Idea Re: Getting element from material 

Forum: Hadronic Processes
Re: None Getting element from material (Dennis Mackin)
Re: Idea Re: Getting element from material (Joel Long)
Re: None Re: Getting element from material (Dennis Mackin)
Date: 11 Oct, 2011
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

Hello,

First of all, Isotope production feature in Geant4 related to the old LHEP model which we know is very approximated and is not recommended for usage. More detailed models like the Binary cascade reproduce isotope production in a reasonable way and are recommended.

How to know the nucleus which was involved in hadron inelastic interaction? So far, there is no simple interface. Recently (g4 9.5beta) a public method was added to G4HadronicProcess class:

const G4Nucleus* GetTargetNucleus() const;

G4Nucleus class has 2 access methods : GetZ_asInt() and GetA_asInt().

However, situation is not so simple, because in the Stepping action one can have access to G4Track and to G4VProcess limiting the step. One should be sure that the hadron inelastic process limiting current step and make cast of G4VProcess pointer to G4HadronicProcess before it will be possible to use this method.

VI

 Add Message Add Message
to: "Re: 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 ]