ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Public Member Functions | |
Par01PrimaryGeneratorAction () | |
~Par01PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
G4ParticleGun * | GetParticleGun () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 40 of file Par01PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 40 of file Par01PrimaryGeneratorAction.hh
Par01PrimaryGeneratorAction::Par01PrimaryGeneratorAction | ( | ) |
Definition at line 43 of file Par01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 43 of file Par01PrimaryGeneratorAction.cc
References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), GeV, particle, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
Par01PrimaryGeneratorAction::~Par01PrimaryGeneratorAction | ( | ) |
Definition at line 61 of file Par01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 61 of file Par01PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 68 of file Par01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 68 of file Par01PrimaryGeneratorAction.cc
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
G4ParticleGun * Par01PrimaryGeneratorAction::GetParticleGun | ( | void | ) |
Definition at line 75 of file Par01PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 75 of file Par01PrimaryGeneratorAction.cc
References fParticleGun.
|
private |
Definition at line 51 of file Par01PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 51 of file Par01PrimaryGeneratorAction.hh
Referenced by GeneratePrimaries(), GetParticleGun(), Par01PrimaryGeneratorAction(), and ~Par01PrimaryGeneratorAction().