ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Primary generator action used in GDML read/write example. More...
Public Member Functions | |
G02PrimaryGeneratorAction () | |
~G02PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4ParticleTable * | fParticleTable |
Primary generator action used in GDML read/write example.
Definition at line 50 of file G02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 50 of file G02PrimaryGeneratorAction.hh
G02PrimaryGeneratorAction::G02PrimaryGeneratorAction | ( | ) |
Definition at line 43 of file G02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 43 of file G02PrimaryGeneratorAction.cc
References G4ParticleTable::FindParticle(), fParticleGun, fParticleTable, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
G02PrimaryGeneratorAction::~G02PrimaryGeneratorAction | ( | ) |
Definition at line 70 of file G02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 70 of file G02PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 77 of file G02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 77 of file G02PrimaryGeneratorAction.cc
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 65 of file G02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 65 of file G02PrimaryGeneratorAction.hh
Referenced by G02PrimaryGeneratorAction(), GeneratePrimaries(), and ~G02PrimaryGeneratorAction().
|
private |
Definition at line 66 of file G02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 66 of file G02PrimaryGeneratorAction.hh
Referenced by G02PrimaryGeneratorAction().