|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4ErrorPlaneSurfaceTarget is an utility class for limiting the step when a track reaches a plane surface. More...
#include <G4ErrorPlaneSurfaceTarget.hh>
Additional Inherited Members | |
| Protected Attributes inherited from G4ErrorTarget | |
| G4ErrorTargetType | theType {G4ErrorTarget_GeomVolume} |
| Related Symbols inherited from HepGeom::Plane3D< G4double > | |
| std::ostream & | operator<< (std::ostream &os, const Plane3D< float > &p) |
| std::ostream & | operator<< (std::ostream &os, const Plane3D< double > &p) |
G4ErrorPlaneSurfaceTarget is an utility class for limiting the step when a track reaches a plane surface.
Definition at line 49 of file G4ErrorPlaneSurfaceTarget.hh.
| G4ErrorPlaneSurfaceTarget::G4ErrorPlaneSurfaceTarget | ( | G4double | a = 0., |
| G4double | b = 0., | ||
| G4double | c = 0., | ||
| G4double | d = 0. ) |
Constructor for G4ErrorPlaneSurfaceTarget. It constructs a plane by parameters: ax+by+cz+d = 0.
Definition at line 42 of file G4ErrorPlaneSurfaceTarget.cc.
| G4ErrorPlaneSurfaceTarget::G4ErrorPlaneSurfaceTarget | ( | const G4Normal3D & | n, |
| const G4Point3D & | p ) |
Constructor for G4ErrorPlaneSurfaceTarget. It constructs a plane by point 'p' and normal 'n'.
Definition at line 58 of file G4ErrorPlaneSurfaceTarget.cc.
| G4ErrorPlaneSurfaceTarget::G4ErrorPlaneSurfaceTarget | ( | const G4Point3D & | p1, |
| const G4Point3D & | p2, | ||
| const G4Point3D & | p3 ) |
Constructor for G4ErrorPlaneSurfaceTarget. It constructs a plane by three points, 'p1', 'p2', 'p3'.
Definition at line 74 of file G4ErrorPlaneSurfaceTarget.cc.
|
overridedefault |
Default Destructor.
|
overridevirtual |
Dumps to standard output the surface parameters.
Implements G4ErrorSurfaceTarget.
Definition at line 166 of file G4ErrorPlaneSurfaceTarget.cc.
Referenced by G4ErrorPlaneSurfaceTarget(), G4ErrorPlaneSurfaceTarget(), and G4ErrorPlaneSurfaceTarget().
|
overridevirtual |
Computes the distance from a point to the surface in a given direction.
| [in] | point | The point of reference. |
| [in] | direc | The direction vector. |
Implements G4ErrorSurfaceTarget.
Definition at line 111 of file G4ErrorPlaneSurfaceTarget.cc.
Referenced by Intersect().
|
overridevirtual |
Computes the minimal distance from a point to surface.
| [in] | point | The point of reference. |
Implements G4ErrorSurfaceTarget.
Definition at line 138 of file G4ErrorPlaneSurfaceTarget.cc.
|
overridevirtual |
Computes the plane tangent to itself at a given point.
| [in] | point | The point of reference. |
Implements G4ErrorSurfaceTarget.
Definition at line 158 of file G4ErrorPlaneSurfaceTarget.cc.
| G4ThreeVector G4ErrorPlaneSurfaceTarget::Intersect | ( | const G4ThreeVector & | point, |
| const G4ThreeVector & | direc ) const |
Intersects the surface with the line given by point and direction.
| [in] | point | The point of reference. |
| [in] | direc | The direction vector. |
Definition at line 92 of file G4ErrorPlaneSurfaceTarget.cc.