|Message: Re: Physics List for delta electron production||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 Thu, 23 Jun 2011 17:13:55 GMT, Daniel Cox wrote:
> Hi everyone, I am trying to do a simple simulation that has me confused > as I'm still very new to geant4. > > What I am attempting to do is fire an ion, in this case Ca48, at a thin > target, lead, and measure the delta electrons thrown out by this. > > I'm using the physics list from N02, I'm using the whole example > actually, I've gutted it and surrounded my target with sensitive > volumes. > > I think it is something to do with either the cuts or something missing > from the physics list itself but I don't really know how to go about > finding out what I need to change. > > Thanks in advance for all your help. > > Danny >
There are a couple possibilities I know of. First, what energy are the Ca48 ions you are firing? If you have not already, try giving them a high energy (1 GeV should do) and perhaps thickening your targets a bit. If you get secondaries when you do this, than the issue is with your production cuts, not with what physics you have included. If you are using the same version of N02 I have, this should be the case.
The production cuts tell the code the bounds on when it should bother producing secondary particles. This is primarily for saving computational power - there are many cases when you do not care about every delta ray produced. There are a couple things you can do to fix this. In the SetCuts() method in the physics list (it is at the bottom of the file in my version) contains the command "SetCutsWithDefault()". Before this, call the command SetDefaultCutValue(G4double newCutValue). The argument is the cut value (in units of distance) you want the constructor to assign particles. Try setting this to a ridiculously low value (eg 10 nm) and see if that solves your problem. You will probably not want to leave the value that low - experiment some to see where you actually want it.
If this method fails, then you can set the energy cutoffs directly using "G4ProductionCutsTable::GetProductionCutsTable()->SetEnergyRange(G4double lowEnergy,G4double highEnergy)". This sets the upper and lower energy bounds for which Geant4 will produce and track secondary particles. Again, you will want to play with the values somewhat to see how low you really want to go. Simply giving it a very low value will have a significant impact on computational time.
Hope this helps! Joel