|Message: General Particle source : Gun Alignement||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)|
I am Naima ZAHAR in A third Phd Student at HAssan II University , my Thesis concerns simulation of a neutron diffraction experiment with geant4 .
I am working to create an application with a spherical beam and focus this point source to create a conical type source. , my Problem is I don't know haw can I use the spherical beam isotropic distribution is needed in the primary Generator Action , I had a look in the general particle source class and I see that is uses the spherical beam By default , as attached my PrimaryGeneratorAction .(I am wondering if the changes i made in the macro file are correct or not .(as below the macros file )
#/control/verbose 2 #/control/saveHistory
#/run/verbose 1 #/event/verbose 1 #/tracking/verbose 1
#source spherique /gps/particle neutron /gps/pos/type Volume /gps/pos/shape Sphere /gps/pos/centre 0 -50. 0 mm /gps/pos/radius 0.1 mm /gps/ang/type iso /gps/ang/mintheta 0. deg /gps/ang/maxtheta 0.2 deg /gps/ang/minphi 0 deg /gps/ang/maxphi 360 deg /gps/energy 0.025 eV /vis/open HepRepFile /vis/drawVolume /vis/scene/add/trajectories /vis/scene/add/hits /run/beamOn 50
in order , using this changes I can get the firing pattern I want, but it is not aligned with my detector,the geometry are very simple : two foil of Gadolinium separated with a vaccum placed in world volume
I need some way to "realign" the gun, Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2011/11/29/07.59-86506-PrimaryGeneratorAction.cc
thank you in advance
|Inline Depth:||Outline Depth:||Add message:|