Message: Re: gps - cannnot set energy to zero Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: gps - cannnot set energy to zero 

Forum: Particles
Re: Question gps - cannnot set energy to zero (Norbert Wiehl)
Date: Feb 03, 01:49
From: Norbert Wiehl <Norbert Wiehl>

On Sat, 12 Jan 2019 11:12:43 GMT, Norbert Wiehl wrote:
> Hello,
> 
> a played a bit with the example rdecay02 from geant4 version 10.5 built
> with geant4 version 10.5. When I only changed the G4ParticleGun in that
> example to the G4GerneralParticleSource and generate ion sources with
> energy 0 the program shows always ions with energy 1 MeV:
> 
> # Source Definition for G4GenralParticle Source /gps/
> #
> #Quelle 1 Co-57
> /gps/source/intensity 0.558
> /gps/pos/type Volume
> /gps/pos/shape Cylinder
> /gps/pos/radius 5.0 mm
> /gps/pos/halfz 5.0 mm
> /gps/pos/rot2 0 0 1
> /gps/pos/centre 0 0 1.0 cm
> /gps/energy 0 keV
> /gps/particle ion
> /gps/ion 27 57 0 0
> #
> #Quelle 2 Cs-137
> /gps/source/add 2.460
> /gps/pos/type Volume
> /gps/pos/shape Cylinder
> /gps/pos/radius 5.0 mm
> /gps/pos/halfz 5.0 mm
> /gps/pos/rot2 0 0 1
> /gps/pos/centre 0 0 1.0 cm
> /gps/energy 0 keV
> /gps/particle ion
> /gps/ion 55 137 0 0
> #
> #Quelle 3 Co-60
> /gps/source/add 2.860
> /gps/pos/type Volume
> /gps/pos/shape Cylinder
> /gps/pos/radius 5.0 mm
> /gps/pos/halfz 5.0 mm
> /gps/pos/rot2 0 0 1
> /gps/pos/centre 0 0 1.0 cm
> /gps/energy 0 keV
> /gps/particle ion
> /gps/ion 27 60 0 0
> #
> /gps/source/list
> The number of particle sources is: 3
>  Multiple Vertex sources: 0 Flat Sampling flag: 0
>         source 0 with intensity: 0.558
>                 Num Particles: 1; Particle type: Co57
>                 Energy: 1 MeV
>                 Direction: (0,0,-1); Position: 0 0 1 cm 
>                 Angular Distribution: planar
>                 Energy Distribution: Mono
>                 Position Distribution Type: Volume; Position Shape: Cylinder
>         source 1 with intensity: 2.46
>                 Num Particles: 1; Particle type: Cs137
>                 Energy: 1 MeV
>                 Direction: (0,0,-1); Position: 0 0 1 cm 
>                 Angular Distribution: planar
>                 Energy Distribution: Mono
>                 Position Distribution Type: Volume; Position Shape: Cylinder
>         source 2 with intensity: 2.86
>                 Num Particles: 1; Particle type: Co60
>                 Energy: 1 MeV
>                 Direction: (0,0,-1); Position: 0 0 1 cm 
>                 Angular Distribution: planar
>                 Energy Distribution: Mono
>                 Position Distribution Type: Volume; Position Shape: Cylinder
> #
> 
> What is wrong ?
> 

In the meantime I found that this problem was already reported in this forum, see entry 731. It is only a problem of the command /gps/source/list, the energy used for the simulation is the right one.

 Add Message Add Message
to: "Re: gps - cannnot set energy to zero"

 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 ]