ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Primary generator action for the GDML extension example. More...
Public Member Functions | |
G03PrimaryGeneratorAction () | |
~G03PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4ParticleTable * | fParticleTable |
Primary generator action for the GDML extension example.
Definition at line 48 of file G03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 48 of file G03PrimaryGeneratorAction.hh
G03PrimaryGeneratorAction::G03PrimaryGeneratorAction | ( | ) |
Definition at line 43 of file G03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 43 of file G03PrimaryGeneratorAction.cc
References G4ParticleTable::FindParticle(), fParticleGun, fParticleTable, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
G03PrimaryGeneratorAction::~G03PrimaryGeneratorAction | ( | ) |
Definition at line 69 of file G03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 69 of file G03PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 76 of file G03PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 76 of file G03PrimaryGeneratorAction.cc
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 63 of file G03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 63 of file G03PrimaryGeneratorAction.hh
Referenced by G03PrimaryGeneratorAction(), GeneratePrimaries(), and ~G03PrimaryGeneratorAction().
|
private |
Definition at line 64 of file G03PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 64 of file G03PrimaryGeneratorAction.hh
Referenced by G03PrimaryGeneratorAction().