Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
Functions | |
Intersection | getEarlierTrajectoryIntersection (const ThreeVector &x0, const ThreeVector &p, const G4double r) |
Compute the first intersection of a straight particle trajectory with a sphere. | |
Intersection | getLaterTrajectoryIntersection (const ThreeVector &x0, const ThreeVector &p, const G4double r) |
Compute the second intersection of a straight particle trajectory with a sphere. | |
std::pair< Intersection, Intersection > | getTrajectoryIntersections (const ThreeVector &x0, const ThreeVector &p, const G4double r) |
Compute both intersections of a straight particle trajectory with a sphere. | |
|
inline |
Compute the first intersection of a straight particle trajectory with a sphere.
x0 | the starting position of the trajectory |
p | the trajectory direction |
r | the radius of the sphere (centred in the origin) |
Definition at line 124 of file G4INCLIntersection.hh.
Referenced by G4INCL::CoulombNone::bringToSurface().
|
inline |
Compute the second intersection of a straight particle trajectory with a sphere.
x0 | the starting position of the trajectory |
p | the trajectory direction |
r | the radius of the sphere (centred in the origin) |
Definition at line 128 of file G4INCLIntersection.hh.
Referenced by G4INCL::StandardPropagationModel::getReflectionTime().
|
inline |
Compute both intersections of a straight particle trajectory with a sphere.
x0 | the starting position of the trajectory |
p | the trajectory direction |
r | the radius of the sphere (centred in the origin) |
Definition at line 132 of file G4INCLIntersection.hh.