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