Message: Re: Geant4 G4ParticleGun Output Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Geant4 G4ParticleGun Output 

Forum: Event and Track Management
Re: Question Geant4 G4ParticleGun Output (Andreas Tepe)
Date: 27 Jul, 2010
From: Gumplinger Peter <Gumplinger Peter>

Hi Andreas,

Where (and how) do you G4ParticleGun::SetParticleEnergy - from a macro or in your PrimaryGeneratorAction? It looks like you set it to zero:

 was defined in terms of Momentum: 0.0039373441GeV/c
 is now defined in terms of KineticEnergy: 0GeV

And you seem to be toggling between SetParticleEnergy and SetParticleMomentum.


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

1 Question: Re: Geant4 G4ParticleGun Output   (Emanuele Leonardi - 11 Feb, 2016)
(_ Feedback: Re: Geant4 G4ParticleGun Output   (Gumplinger Peter - 11 Feb, 2016)
 Add Message Add Message
to: "Re: Geant4 G4ParticleGun Output"

 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 ]