ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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.
View newest version in sPHENIX GitHub at line 124 of file G4INCLIntersection.hh
Referenced by G4INCL::CoulombNone::bringToSurface(), and G4INCL::INCL::makeCompoundNucleus().
|
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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 132 of file G4INCLIntersection.hh