Message: Re: gps sphere source Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: gps sphere source  

Forum: Space Applications
Re: Question gps sphere source (Daniel Braun)
Re: Feedback Re: gps sphere source (Giovanni Santin)
Date: 10 Oct, 2008
From: Daniel Braun <Daniel Braun>

Hallo Giovanni, thank you very much for your answer.

I tried everything like you explained it but I think there still must be a fault somewhere in my macro.

To check if the particles are all going inside the sphere I made a Detector (green Sphere in the pictures) which has the size of the spherical source. I gave the particles a very small energy so they should stop immediately if they have contact with the Material of the detector. I suspected to get a lot of very short trajectories. Especially for the case of mintheta = 0 and maxtheta = 0. But instead I get trajectories which I can't explain.

In the case of mintheta = 0 and maxtheta = 0 they seem to come just from the middle and in the case of mintheta = 0 and maxtheta = 90 it looks like they are coming form one hemisphere.

I attached some pictures and my macro.

Pleas tell me where I make a mistake.



/control/verbose 0


/run/verbose 0

/event/verbose 0


/vis/open OGLIX

/vis/viewer/zoom 0.4



/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true

/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2

/vis/scene/endOfEventAction accumulate

/vis/viewer/set/viewpointThetaPhi 0 0 deg

/vis/scene/endOfEventAction accumulate 10000000

/gps/particle proton

/gps/pos/centre 0 0 0

/gps/pos/type Surface

/gps/pos/shape Sphere

/gps/pos/radius 116 mm

/gps/pos/rot1 0 0 1

/gps/ene/type Mono

/gps/energy 0.00000570E-02 eV

/gps/ang/type cos

/gps/ang/mintheta 0 deg

/gps/ang/maxtheta 90 deg

# or /gps/ang/maxtheta 0 deg

/run/beamOn 3000

   Attachment: Fri, 10 Oct 2008 09:08:24 GMT, Giovanni Santin wrote:

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: gps sphere source   (Giovanni Santin - 16 Oct, 2008)
2 None: Re: gps sphere source   (Daniel Braun - 30 Oct, 2008)
 Add Message Add Message
to: "Re: gps sphere source "

 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 ]