#include <G4RayShooter.hh>
Definition at line 49 of file G4RayShooter.hh.
G4RayShooter::G4RayShooter |
( |
| ) |
|
G4RayShooter::~G4RayShooter |
( |
| ) |
|
|
virtual |
Definition at line 59 of file G4RayShooter.cc.
61 if(!particle_definition)
65 particle_definition = particleTable->
FindParticle(particleName=
"geantino");
66 if(!particle_definition)
69 msg =
" G4RayTracer uses geantino to trace the ray, but your physics list does not\n";
70 msg +=
"define G4Geantino. Please add G4Geantino in your physics list.";
86 particle_polarization.
y(),
87 particle_polarization.
z());
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
void AddPrimaryVertex(G4PrimaryVertex *aPrimaryVertex)
void SetKineticEnergy(G4double eKin)
void SetMass(G4double mas)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetPDGMass() const
static G4ParticleTable * GetParticleTable()
void SetMomentumDirection(const G4ThreeVector &p)
void SetPrimary(G4PrimaryParticle *pp)
void SetPolarization(const G4ThreeVector &pol)
The documentation for this class was generated from the following files: