Message: Re: Neutrons with ParticleGun along X axis instead of Z axis Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Neutrons with ParticleGun along X axis instead of Z axis 

Forum: Particles
Re: Question Neutrons with ParticleGun along X axis instead of Z axis (Nadine)
Date: 17 May, 2017
From: <Synthex>

Hello;

Maybe this trick will work for you. I had the same problem, using a planar ParticleGunSource from a macro file, it worked only on a given axis, i think 0 0 1.
I could only debug this situation by launching some neutrons with a viewer.

Try with a very thin volume:

/gps/pos/type Volume
/gps/pos/shape Para
/gps/pos/centre 0. -45 0. mm
/gps/pos/halfx 45 mm
/gps/pos/halfy 0.001 mm
/gps/pos/halfz 60 mm
/gps/direction 0 1 0

Worked fine for me.

Maxime

 Add Message Add Message
to: "Re: Neutrons with ParticleGun along X axis instead of Z axis"

 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 ]