ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/field/field05/include/F05PrimaryGeneratorAction.hh>
Public Member Functions | |
F05PrimaryGeneratorAction (void) | |
virtual | ~F05PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 45 of file F05PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 45 of file F05PrimaryGeneratorAction.hh
F05PrimaryGeneratorAction::F05PrimaryGeneratorAction | ( | void | ) |
Definition at line 47 of file F05PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 47 of file F05PrimaryGeneratorAction.cc
References G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), particle, and G4ParticleGun::SetParticleDefinition().
|
virtual |
Definition at line 60 of file F05PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 60 of file F05PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 67 of file F05PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 67 of file F05PrimaryGeneratorAction.cc
References fParticleGun, G4ParticleGun::GeneratePrimaryVertex(), m, MeV, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4ParticleGun::SetParticlePolarization(), G4VPrimaryGenerator::SetParticlePosition(), and G4InuclParticleNames::z0.
|
private |
Definition at line 56 of file F05PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 56 of file F05PrimaryGeneratorAction.hh
Referenced by F05PrimaryGeneratorAction(), GeneratePrimaries(), and ~F05PrimaryGeneratorAction().