Geant4.10
|
#include <FCALPrimaryGeneratorAction.hh>
Public Member Functions | |
FCALPrimaryGeneratorAction () | |
~FCALPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
void | SetVerbosity (G4int ver) |
![]() | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 45 of file FCALPrimaryGeneratorAction.hh.
FCALPrimaryGeneratorAction::FCALPrimaryGeneratorAction | ( | ) |
Definition at line 48 of file FCALPrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), python.hepunit::GeV, G4ParticleGun::SetParticleDefinition(), and G4ParticleGun::SetParticleEnergy().
FCALPrimaryGeneratorAction::~FCALPrimaryGeneratorAction | ( | ) |
Definition at line 72 of file FCALPrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 130 of file FCALPrimaryGeneratorAction.cc.
References G4cout, G4endl, G4Exception(), G4ParticleGun::GeneratePrimaryVertex(), G4Event::GetEventID(), G4ParticleGun::GetParticleEnergy(), JustWarning, G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
Definition at line 53 of file FCALPrimaryGeneratorAction.hh.