|Message: Spread of starting particle angles from particle gun.||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)|
Hello, OS: Microsoft Windows 7; CMake version: 3.5.1 ; Geant4 version: 10.02.p01 ; Compiler: MS Visual Studio 14 (2015) ;
I made this posting under "Documentation and Examples", but perhaps it is better under "Events and Track Management" I am running the microelectronics example. I have extended the number of particles in the example to 200 and using just electrons of 30keV. Looking at the visualisation output I was expecting to a see a thin solid horizontal line representing the primary input electrons which are then scattered in the Si block. However, I see that there seems to be a cone of electrons with a range of angles of about 15 degrees being emitted from the particle gun. The PrimaryGeneratorAction class seems to specify a simple particle gun and the microelectronics.mac file does not specify anything unusual for the gun. Can someone explain to me why I should see a spray of electrons apparently being emitted from the gun rather than electrons being emitted in a straight line ?
I have attached a view (in orthogonal view) of the output screen in my original posting - the link is below. The two vertical red lines indicate the limit of the Si block which the e- beam strikes. The rest should be vacuum.
My PrimaryGeneratorAction code (source and header) is the same as the original example.
The microelectronics.mac file is as below: /control/execute vis.mac /control/execute icons.mac /tracking/verbose 0
#/gun/particle ion #/gun/ion 20 48 15/gun/particle e- /gun/energy 30 keV
#/run/numberOfThreads 2 #if MT is activated
/run/initialize /run/beamOn 200
The microelectronics.in file is as below: /tracking/verbose 0 /run/verbose 2 /process/eLoss/verbose 1
#/gun/particle proton #/gun/energy 50 MeV #/run/initialize #/run/beamOn 1 #/gun/particle alpha #/gun/position 0 0 0 mm #/gun/energy 20 keV #/run/beamOn 1
Many thanks in advance
|Inline Depth:||Outline Depth:||Add message:|