The primary generator action class with particle gun. More...
#include <Doxymodules_visualization.h>
Public Member Functions | |
PrimaryGeneratorAction () | |
~PrimaryGeneratorAction () override | |
void | GeneratePrimaries (G4Event *) override |
const G4ParticleGun * | GetParticleGun () const |
Private Attributes | |
G4ParticleGun * | fParticleGun = nullptr |
G4Box * | fEnvelopeBox = nullptr |
The primary generator action class with particle gun.
The default kinematic is a 6 MeV gamma, randomly distribued in front of the phantom across 80% of the (X,Y) phantom size.
Definition at line 52 of file Doxymodules_visualization.h.
VtkVis::PrimaryGeneratorAction::PrimaryGeneratorAction | ( | ) |
Definition at line 47 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 64 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 71 of file PrimaryGeneratorAction.cc.
|
inline |
Definition at line 59 of file PrimaryGeneratorAction.hh.
|
private |
Definition at line 62 of file PrimaryGeneratorAction.hh.
|
private |
Definition at line 63 of file PrimaryGeneratorAction.hh.