ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Primary generator action. More...
Public Member Functions | |
ExP02PrimaryGeneratorAction () | |
~ExP02PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Primary generator action.
Definition at line 46 of file ExP02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 46 of file ExP02PrimaryGeneratorAction.hh
ExP02PrimaryGeneratorAction::ExP02PrimaryGeneratorAction | ( | ) |
Definition at line 41 of file ExP02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 41 of file ExP02PrimaryGeneratorAction.cc
References G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), and G4VPrimaryGenerator::SetParticlePosition().
ExP02PrimaryGeneratorAction::~ExP02PrimaryGeneratorAction | ( | ) |
Definition at line 59 of file ExP02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 59 of file ExP02PrimaryGeneratorAction.cc
References fParticleGun.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 66 of file ExP02PrimaryGeneratorAction.cc.
View newest version in sPHENIX GitHub at line 66 of file ExP02PrimaryGeneratorAction.cc
References fParticleGun, G4ParticleGun::GeneratePrimaryVertex(), G4ParticleGun::SetParticleMomentumDirection(), and v.
|
private |
Definition at line 55 of file ExP02PrimaryGeneratorAction.hh.
View newest version in sPHENIX GitHub at line 55 of file ExP02PrimaryGeneratorAction.hh
Referenced by ExP02PrimaryGeneratorAction(), GeneratePrimaries(), and ~ExP02PrimaryGeneratorAction().