Geant4  10.01.p02
G4RayShooter Class Reference

#include <G4RayShooter.hh>

+ Collaboration diagram for G4RayShooter:

Public Member Functions

 G4RayShooter ()
 
virtual ~G4RayShooter ()
 
void Shoot (G4Event *evt, G4ThreeVector vtx, G4ThreeVector direc)
 

Private Member Functions

void SetInitialValues ()
 

Private Attributes

G4ParticleDefinitionparticle_definition
 
G4ParticleMomentum particle_momentum_direction
 
G4double particle_energy
 
G4ThreeVector particle_position
 
G4double particle_time
 
G4ThreeVector particle_polarization
 

Detailed Description

Definition at line 49 of file G4RayShooter.hh.

Constructor & Destructor Documentation

G4RayShooter::G4RayShooter ( )

Definition at line 39 of file G4RayShooter.cc.

References SetInitialValues().

+ Here is the call graph for this function:

G4RayShooter::~G4RayShooter ( )
virtual

Definition at line 55 of file G4RayShooter.cc.

Member Function Documentation

void G4RayShooter::SetInitialValues ( )
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().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleDefinition* G4RayShooter::particle_definition
private

Definition at line 65 of file G4RayShooter.hh.

Referenced by SetInitialValues(), and Shoot().

G4double G4RayShooter::particle_energy
private

Definition at line 67 of file G4RayShooter.hh.

Referenced by SetInitialValues(), and Shoot().

G4ParticleMomentum G4RayShooter::particle_momentum_direction
private

Definition at line 66 of file G4RayShooter.hh.

Referenced by SetInitialValues().

G4ThreeVector G4RayShooter::particle_polarization
private

Definition at line 70 of file G4RayShooter.hh.

Referenced by SetInitialValues(), and Shoot().

G4ThreeVector G4RayShooter::particle_position
private

Definition at line 68 of file G4RayShooter.hh.

Referenced by SetInitialValues().

G4double G4RayShooter::particle_time
private

Definition at line 69 of file G4RayShooter.hh.

Referenced by SetInitialValues(), and Shoot().


The documentation for this class was generated from the following files: