Message: General Particle source : Gun Alignement Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None General Particle source : Gun Alignement  

Forum: Event and Track Management
Date: 29 Nov, 2011
From: noaimi <noaimi>

Dear ALL, 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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: General Particle source : Gun Alignement   (Gumplinger Peter - 29 Nov, 2011)
1 None: Re: General Particle source : Gun Alignement   (noaimi - 01 Dec, 2011)
2 None: Re: General Particle source : Gun Alignement   (noaimi - 01 Dec, 2011)
1 Feedback: Re: General Particle source : Gun Alignement   (Giovanni Santin - 06 Dec, 2011)
... 2 Message(s)
 Add Message Add Message
to: "General Particle source : Gun Alignement "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]