The primary generator action class with particle gum. More...
#include <Doxymodules_parallel.h>
Public Member Functions | |
B2PrimaryGeneratorAction () | |
virtual | ~B2PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
G4ParticleGun * | GetParticleGun () |
void | SetRandomFlag (G4bool) |
Private Attributes | |
G4ParticleGun * | fParticleGun |
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 96 of file Doxymodules_parallel.h.
B2PrimaryGeneratorAction::B2PrimaryGeneratorAction | ( | ) |
Definition at line 45 of file B2PrimaryGeneratorAction.cc.
|
virtual |
Definition at line 63 of file B2PrimaryGeneratorAction.cc.
|
virtual |
Definition at line 70 of file B2PrimaryGeneratorAction.cc.
|
inline |
Definition at line 54 of file B2PrimaryGeneratorAction.hh.
void B2PrimaryGeneratorAction::SetRandomFlag | ( | G4bool | ) |
|
private |
Definition at line 60 of file B2PrimaryGeneratorAction.hh.