Message: Re: Example B1 Modification Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Example B1 Modification 

Forum: Particles
Re: None Example B1 Modification (Maxwell Dierken)
Re: Feedback Re: Example B1 Modification (Gumplinger Peter)
Re: Question Re: Example B1 Modification (Maxwell Dierken)
Date: 05 Feb, 2014
From: Gumplinger Peter <Gumplinger Peter>

Hi Max,

This is C++ ...

Since you (presumably) changed B1PrimaryGeneratorAction : GetParticleGun() to return a G4GeneralParticleSource pointer, you have to change the code in B1RunAction accordingly:

    const G4GeneralParticleSource* particleGun = generatorAction->GetParticleGun();

Anyway, I can't continue to 'hold your hand' like this.


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

1 None: Re: Example B1 Modification   (Maxwell Dierken - 05 Feb, 2014)
 Add Message Add Message
to: "Re: Example B1 Modification"

 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 ]