Geant4.10
|
#include <B03PrimaryGeneratorAction.hh>
Public Member Functions | |
B03PrimaryGeneratorAction () | |
~B03PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
![]() | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 39 of file B03PrimaryGeneratorAction.hh.
B03PrimaryGeneratorAction::B03PrimaryGeneratorAction | ( | ) |
Definition at line 45 of file B03PrimaryGeneratorAction.cc.
References python.hepunit::cm, python.hepunit::MeV, G4Neutron::NeutronDefinition(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
B03PrimaryGeneratorAction::~B03PrimaryGeneratorAction | ( | ) |
Definition at line 58 of file B03PrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 65 of file B03PrimaryGeneratorAction.cc.
References G4ParticleGun::GeneratePrimaryVertex().