The primary generator action class with particle gum. More...
#include <Doxymodules_basic.h>
Public Member Functions | |
PrimaryGeneratorAction () | |
~PrimaryGeneratorAction () override | |
void | GeneratePrimaries (G4Event *event) override |
Private Attributes | |
G4ParticleGun * | fParticleGun = nullptr |
The primary generator action class with particle gum.
It defines a single particle which hits the calorimeter perpendicular to the input face. The type of the particle can be changed via the G4 build-in commands of G4ParticleGun class (see the macros provided with this example).
Definition at line 124 of file Doxymodules_basic.h.
B4::PrimaryGeneratorAction::PrimaryGeneratorAction | ( | ) |
Definition at line 48 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 64 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 71 of file PrimaryGeneratorAction.cc.
|
private |
Definition at line 58 of file PrimaryGeneratorAction.hh.