|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4IntersectingCone is a utility class used to calculate the intersection of an arbitrary line with a fixed cone. More...
#include <G4IntersectingCone.hh>
Public Member Functions | |
| G4IntersectingCone (const G4double r[2], const G4double z[2]) | |
| ~G4IntersectingCone ()=default | |
| G4int | LineHitsCone (const G4ThreeVector &p, const G4ThreeVector &v, G4double *s1, G4double *s2) |
| G4bool | HitOn (const G4double r, const G4double z) |
| G4double | RLo () const |
| G4double | RHi () const |
| G4double | ZLo () const |
| G4double | ZHi () const |
| G4IntersectingCone (__void__ &) | |
G4IntersectingCone is a utility class used to calculate the intersection of an arbitrary line with a fixed cone.
Definition at line 47 of file G4IntersectingCone.hh.
Constructor given r,z values.
| [in] | r | r values. |
| [in] | z | Z values. |
Definition at line 37 of file G4IntersectingCone.cc.
|
default |
Default Destructor.
| G4IntersectingCone::G4IntersectingCone | ( | __void__ & | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 69 of file G4IntersectingCone.cc.
Checks r or z extent, as appropriate, to see if the point is possibly on the cone.
Definition at line 79 of file G4IntersectingCone.cc.
| G4int G4IntersectingCone::LineHitsCone | ( | const G4ThreeVector & | p, |
| const G4ThreeVector & | v, | ||
| G4double * | s1, | ||
| G4double * | s2 ) |
Calculates the intersection of a line with the conical surface, ignoring any Phi division.
Definition at line 103 of file G4IntersectingCone.cc.
|
inline |
Definition at line 80 of file G4IntersectingCone.hh.
|
inline |
Accessors for R and Z bounds of side.
Definition at line 79 of file G4IntersectingCone.hh.
|
inline |
Definition at line 82 of file G4IntersectingCone.hh.
|
inline |
Definition at line 81 of file G4IntersectingCone.hh.