Geant4
10.02
|
#include <G4RayShooter.hh>
Public Member Functions | |
G4RayShooter () | |
virtual | ~G4RayShooter () |
void | Shoot (G4Event *evt, G4ThreeVector vtx, G4ThreeVector direc) |
Private Member Functions | |
void | SetInitialValues () |
Definition at line 49 of file G4RayShooter.hh.
G4RayShooter::G4RayShooter | ( | ) |
Definition at line 39 of file G4RayShooter.cc.
References SetInitialValues().
|
virtual |
Definition at line 55 of file G4RayShooter.cc.
|
private |
Definition at line 44 of file G4RayShooter.cc.
References GeV, particle_definition, particle_energy, particle_momentum_direction, particle_polarization, particle_position, and particle_time.
Referenced by G4RayShooter().
void G4RayShooter::Shoot | ( | G4Event * | evt, |
G4ThreeVector | vtx, | ||
G4ThreeVector | direc | ||
) |
Definition at line 59 of file G4RayShooter.cc.
References G4Event::AddPrimaryVertex(), FatalException, G4ParticleTable::FindParticle(), G4Exception(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetPDGMass(), particle_definition, particle_energy, particle_polarization, particle_time, G4PrimaryParticle::SetKineticEnergy(), G4PrimaryParticle::SetMass(), G4PrimaryParticle::SetMomentumDirection(), G4PrimaryParticle::SetPolarization(), and G4PrimaryVertex::SetPrimary().
Referenced by G4TheRayTracer::CreateBitMap(), and G4MaterialScanner::DoScan().
|
private |
Definition at line 65 of file G4RayShooter.hh.
Referenced by SetInitialValues(), and Shoot().
|
private |
Definition at line 67 of file G4RayShooter.hh.
Referenced by SetInitialValues(), and Shoot().
|
private |
Definition at line 66 of file G4RayShooter.hh.
Referenced by SetInitialValues().
|
private |
Definition at line 70 of file G4RayShooter.hh.
Referenced by SetInitialValues(), and Shoot().
|
private |
Definition at line 68 of file G4RayShooter.hh.
Referenced by SetInitialValues().
|
private |
Definition at line 69 of file G4RayShooter.hh.
Referenced by SetInitialValues(), and Shoot().