Geant4
9.6.p02
|
#include <B2PrimaryGeneratorAction.hh>
Public Member Functions | |
B2PrimaryGeneratorAction () | |
virtual | ~B2PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
G4ParticleGun * | GetParticleGun () |
void | SetRandomFlag (G4bool) |
B2PrimaryGeneratorAction () | |
virtual | ~B2PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
G4ParticleGun * | GetParticleGun () |
void | SetRandomFlag (G4bool) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
The primary generator action class with particle gum.
It defines a single particle which hits the Tracker 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 47 of file B2PrimaryGeneratorAction.hh.
B2PrimaryGeneratorAction::B2PrimaryGeneratorAction | ( | ) |
Definition at line 46 of file B2PrimaryGeneratorAction.cc.
|
virtual |
Definition at line 64 of file B2PrimaryGeneratorAction.cc.
B2PrimaryGeneratorAction::B2PrimaryGeneratorAction | ( | ) |
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 71 of file B2PrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
|
inline |
Definition at line 55 of file B2PrimaryGeneratorAction.hh.
|
inline |
Definition at line 55 of file B2PrimaryGeneratorAction.hh.