Geant4.10
|
#include <B01PrimaryGeneratorAction.hh>
Public Member Functions | |
B01PrimaryGeneratorAction () | |
~B01PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 39 of file B01PrimaryGeneratorAction.hh.
B01PrimaryGeneratorAction::B01PrimaryGeneratorAction | ( | ) |
Definition at line 46 of file B01PrimaryGeneratorAction.cc.
References python.hepunit::cm, python.hepunit::MeV, G4Neutron::NeutronDefinition(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
B01PrimaryGeneratorAction::~B01PrimaryGeneratorAction | ( | ) |
Definition at line 59 of file B01PrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 66 of file B01PrimaryGeneratorAction.cc.
References G4ParticleGun::GeneratePrimaryVertex().