Message: problem when set neutron energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None problem when set neutron energy 

Forum: Particles
Date: 15 Feb, 2005
From: radon <radon@tamu.edu>

I can set gamma geantino particle energy when I generated them
But when I set neutron energy for 1keV, I got output for 1.3147MeV
neutron source is in the air.  The code I use:

G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();
G4String particleName;
neutron = particleTable->FindParticle(particleName="neutron");
  
 // default particle kinematics
  particleGun->SetParticlePosition(G4ThreeVector(0.,0.,0.*m));
  particleGun->SetParticleEnergy(1.0*keV);
  particleGun->SetParticleDefinition(neutron);

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

1 None: Re: problem when set neutron energy   (radon - 15 Feb, 2005)
 Add Message Add Message
to: "problem when set neutron energy"

 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 ]