|Message: Re: nuclear excitation||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On Sat, 16 Oct 2010 01:43:09 GMT, Christian Stahl wrote:
> hi there, I've written a process that shall excite a moving nucleus. > Cross-section, kinematics, secondary emission etc are implemented. I > tried to find out how to implement the excitation of the nucleus (giving > the nucleus the property "is excited"), but got lost in the code > browser.. Can sb please help me and tell what methods to use for the > handling of excitation (and de-exctitation by gamma emission)? Ideally, > I would like to provide the level scheme for the nucleus by myself. > thanks a lot in advance, christian
What you're looking for is "pre-compound." If you already have a process written, then set it up to call G4PreCompoundModel::DeExcite(G4Fragment*). You will need to instantiate G4ExcitationHandler and register it with G4PreCompoundModel at construction. See the hadronic builders in source/physics_list/builders/ for examples.
You instantiate G4Fragment with A, Z, and a G4LorentzVector. If the latter has a mass larger than the ground-state mass of the nucleus, that is taken as the excitation energy. If you want to specify a "wounded nucleus" (i.e., with excitons, holes, etc.), there are G4Fragment::Set functions to do that, but you don't have to.
The level scheme is already handled for "all" nuclei (1746 isotopes, from He-5 to Cf-250) in $G4LEVELGAMMADATA. I don't know if there's a way to override that for a specific nucleus, without replacing the level-data file that is in the PhotonEvaporation2.0 package.