|Message: ExampleGB01 question||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)|
this is a very simple question. I modified GB01 example to have protons of 1.2GeV over a carbon disk and biasing the production of pi+, mu+ and e+. Since is the first time I'm working wiht the biasing process, I just started quite naive.
I changed the gun to have protons of 1.2 GeV, instead of neutrons as was originally.
The detector is a carbon disk of 100mm radius and 5mm thickness.
In the main file, I started to modify the bias section with:
biasingPhysics->Bias("pi+"); biasingPhysics->Bias("mu+"); biasingPhysics->Bias("e+");
and something similar in the DetectorConstruction module: testMany->AddParticle...
Just for fun I used the GUI to see the result visually and compare the option ON or OFF, with only pi+ particles visible. The visual output was the same in both cases. In other words, biasing didn't change anything at all.
Then I figure out that neutrons were originally listed in the biaisng process, so I introduced the proton in the bias list
and it seems there is a change with the bias ON option comapred with previous runs (the OFF option seems to behave similar as before).
Is this the correct way? I mean, should the primary particle be listed in the bias? why?
Maybe everything is wrong since in the new one (with protons in the bias) I got the warnings:
-------- WWWW ------- G4Exception-START -------- WWWW ------- *** G4Exception : BIAS.GEN.14 issued by : G4InteractionLawPhysical::SetPhysicalCrossSection(..) Cross-section value passed is negative. It is set to zero ! *** This is just a warning message. *** -------- WWWW -------- G4Exception-END --------- WWWW -------
Thank you very much for your feedback
|Inline Depth:||Outline Depth:||Add message:|