Geant4
10.00.p01
|
#include <ExN02PrimaryGeneratorAction.hh>
Public Member Functions | |
ExN02PrimaryGeneratorAction (ExN02DetectorConstruction *) | |
~ExN02PrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | particleGun |
ExN02DetectorConstruction * | myDetector |
Definition at line 46 of file ExN02PrimaryGeneratorAction.hh.
ExN02PrimaryGeneratorAction::ExN02PrimaryGeneratorAction | ( | ExN02DetectorConstruction * | myDC | ) |
Definition at line 46 of file ExN02PrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), GeV, particleGun, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), and G4ParticleGun::SetParticleMomentumDirection().
ExN02PrimaryGeneratorAction::~ExN02PrimaryGeneratorAction | ( | ) |
Definition at line 65 of file ExN02PrimaryGeneratorAction.cc.
References particleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 72 of file ExN02PrimaryGeneratorAction.cc.
References cm, G4ParticleGun::GeneratePrimaryVertex(), ExN02DetectorConstruction::GetWorldFullLength(), myDetector, particleGun, position, and G4VPrimaryGenerator::SetParticlePosition().
|
private |
Definition at line 57 of file ExN02PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 56 of file ExN02PrimaryGeneratorAction.hh.
Referenced by ExN02PrimaryGeneratorAction(), GeneratePrimaries(), and ~ExN02PrimaryGeneratorAction().