Geant4
10.00.p01
|
#include <B02PrimaryGeneratorAction.hh>
Public Member Functions | |
B02PrimaryGeneratorAction () | |
~B02PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 39 of file B02PrimaryGeneratorAction.hh.
B02PrimaryGeneratorAction::B02PrimaryGeneratorAction | ( | ) |
Definition at line 45 of file B02PrimaryGeneratorAction.cc.
References cm, fParticleGun, MeV, G4Neutron::NeutronDefinition(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
B02PrimaryGeneratorAction::~B02PrimaryGeneratorAction | ( | ) |
Definition at line 58 of file B02PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 65 of file B02PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 49 of file B02PrimaryGeneratorAction.hh.
Referenced by B02PrimaryGeneratorAction(), GeneratePrimaries(), and ~B02PrimaryGeneratorAction().