Geant4-11
|
#include <G4RayShooter.hh>
Public Member Functions | |
G4RayShooter () | |
void | Shoot (G4Event *evt, G4ThreeVector vtx, G4ThreeVector direc) |
virtual | ~G4RayShooter () |
Private Member Functions | |
void | SetInitialValues () |
Private Attributes | |
G4ParticleDefinition * | particle_definition = nullptr |
G4double | particle_energy = 0.0 |
G4ParticleMomentum | particle_momentum_direction |
G4ThreeVector | particle_polarization |
G4ThreeVector | particle_position |
G4double | particle_time = 0.0 |
Definition at line 47 of file G4RayShooter.hh.
G4RayShooter::G4RayShooter | ( | ) |
Definition at line 39 of file G4RayShooter.cc.
References SetInitialValues().
|
virtual |
Definition at line 53 of file G4RayShooter.cc.
|
private |
Definition at line 44 of file G4RayShooter.cc.
References GeV, particle_energy, particle_momentum_direction, particle_polarization, particle_position, and anonymous_namespace{G4CascadeDeexciteBase.cc}::zero.
Referenced by G4RayShooter().
void G4RayShooter::Shoot | ( | G4Event * | evt, |
G4ThreeVector | vtx, | ||
G4ThreeVector | direc | ||
) |
Definition at line 57 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(), G4PrimaryVertex::SetPrimary(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4TheRayTracer::CreateBitMap(), and G4MaterialScanner::DoScan().
|
private |
Definition at line 63 of file G4RayShooter.hh.
Referenced by Shoot().
|
private |
Definition at line 65 of file G4RayShooter.hh.
Referenced by SetInitialValues(), and Shoot().
|
private |
Definition at line 64 of file G4RayShooter.hh.
Referenced by SetInitialValues().
|
private |
Definition at line 68 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 67 of file G4RayShooter.hh.
Referenced by Shoot().