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)
Re: Feedback Re: Geant4 G4ParticleGun Output (Gumplinger Peter)
Re: Question Re: Geant4 G4ParticleGun Output (Emanuele Leonardi)
Date: 11 Feb, 2016
From: Gumplinger Peter <Gumplinger Peter>

Hi Emanuele,


Turns out, it is in the constructor of the G4ParticleGunMessenger where the G4ParticleGun is initialized (again) but this time differently to what was done in the G4ParticleGun constructor at first:

My guess is that when the messenger was written it made sense to initialize the G4ParticleGun to something that you can actually shoot without any additional commands.


 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 ]