|
G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
|
#include <PrimaryGeneratorAction.hh>
Public Member Functions | |
| PrimaryGeneratorAction () | |
| ~PrimaryGeneratorAction () override | |
| void | GeneratePrimaries (G4Event *event) override |
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 built-in commands of G4ParticleGun class (see the macros provided with this example).
Definition at line 45 of file PrimaryGeneratorAction.hh.
| PrimaryGeneratorAction::PrimaryGeneratorAction | ( | ) |
Definition at line 42 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 56 of file PrimaryGeneratorAction.cc.
|
override |
Definition at line 60 of file PrimaryGeneratorAction.cc.