The primary generator action class with particle gum. More...
#include <Doxymodules_basic.h>
Public Member Functions | |
PrimaryGeneratorAction () | |
~PrimaryGeneratorAction () override | |
void | GeneratePrimaries (G4Event *) override |
const G4ParticleGun * | GetParticleGun () const |
Private Attributes | |
G4ParticleGun * | fParticleGun = nullptr |
The primary generator action class with particle gum.
It defines an ion (F18), at rest, randomly distribued within a zone in a patient defined in GeneratePrimaries(). Ion F18 can be changed with the G4ParticleGun commands (see run2.mac).
Definition at line 86 of file Doxymodules_basic.h.
B3::PrimaryGeneratorAction::PrimaryGeneratorAction | ( | ) |
Definition at line 47 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 65 of file PrimaryGeneratorAction.cc.
|
override |
G4double x0 = 0*cm, y0 = 0*cm, z0 = 0*cm; G4double dx0 = 0*cm, dy0 = 0*cm, dz0 = 0*cm;
Definition at line 72 of file PrimaryGeneratorAction.cc.
|
inline |
Definition at line 57 of file PrimaryGeneratorAction.hh.
|
private |
Definition at line 60 of file PrimaryGeneratorAction.hh.