ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/extended/biasing/GB01/include/GB01PrimaryGeneratorAction.hh>
Public Member Functions | |
GB01PrimaryGeneratorAction () | |
virtual | ~GB01PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 39 of file GB01PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 39 of file GB01PrimaryGeneratorAction.hh
GB01PrimaryGeneratorAction::GB01PrimaryGeneratorAction | ( | ) |
Definition at line 40 of file GB01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 40 of file GB01PrimaryGeneratorAction.cc
References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), MeV, particle, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 57 of file GB01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 57 of file GB01PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 62 of file GB01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 62 of file GB01PrimaryGeneratorAction.cc
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 48 of file GB01PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 48 of file GB01PrimaryGeneratorAction.hh
Referenced by GB01PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB01PrimaryGeneratorAction().