Message: Re: Altering Example TestEm1 to use GPS to simulate positron source emission Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Altering Example TestEm1 to use GPS to simulate positron source emission  

Forum: Particles
Re: Question Altering Example TestEm1 to use GPS to simulate positron source emission (Matthew Middione)
Re: None Re: Altering Example TestEm1 to use GPS to simulate positron source emission (Vladimir IVANTCHENKO )
Re: None Re: Altering Example TestEm1 to use GPS to simulate positron source emission (Matthew Middione)
Re: Note Re: Altering Example TestEm1 to use GPS to simulate positron source emission (Matthew Middione)
Re: Question Re: Altering Example TestEm1 to use GPS to simulate positron source emission (Rahul Shah)
Date: 07 Apr, 2009
From: Giovanni Santin <Giovanni Santin>

I think the problem comes from the fact that the particleGun variable is still defined in include/PrimaryGeneratorAction.hh as pointer to a G4ParticleGun.

You need to replace G4ParticleGun with G4GeneralParticleSource also in the .hh file where the variable is defined.

Kind regards

Giovanni

 Add Message Add Message
to: "Re: Altering Example TestEm1 to use GPS to simulate positron source emission "

 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 ]