Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ErrorSurfaceTarget Class Referenceabstract

G4ErrorSurfaceTarget is a base class for G4ErrorTarget classes that are surfaces. More...

#include <G4ErrorSurfaceTarget.hh>

Inheritance diagram for G4ErrorSurfaceTarget:

Public Member Functions

 G4ErrorSurfaceTarget ()=default
 ~G4ErrorSurfaceTarget () override=default
G4double GetDistanceFromPoint (const G4ThreeVector &point, const G4ThreeVector &direc) const override=0
G4double GetDistanceFromPoint (const G4ThreeVector &point) const override=0
G4Plane3D GetTangentPlane (const G4ThreeVector &point) const override=0
void Dump (const G4String &msg) const override=0
Public Member Functions inherited from G4ErrorTanPlaneTarget
 G4ErrorTanPlaneTarget ()=default
 ~G4ErrorTanPlaneTarget () override=default
Public Member Functions inherited from G4ErrorTarget
 G4ErrorTarget ()=default
virtual ~G4ErrorTarget ()=default
virtual G4bool TargetReached (const G4Step *)
G4ErrorTargetType GetType () const

Additional Inherited Members

Protected Attributes inherited from G4ErrorTarget
G4ErrorTargetType theType {G4ErrorTarget_GeomVolume}

Detailed Description

G4ErrorSurfaceTarget is a base class for G4ErrorTarget classes that are surfaces.

Definition at line 47 of file G4ErrorSurfaceTarget.hh.

Constructor & Destructor Documentation

◆ G4ErrorSurfaceTarget()

G4ErrorSurfaceTarget::G4ErrorSurfaceTarget ( )
default

Default Constructor and Destructor.

◆ ~G4ErrorSurfaceTarget()

G4ErrorSurfaceTarget::~G4ErrorSurfaceTarget ( )
overridedefault

Member Function Documentation

◆ Dump()

void G4ErrorSurfaceTarget::Dump ( const G4String & msg) const
overridepure virtual

Dumps to standard output the surface parameters.

Implements G4ErrorTanPlaneTarget.

Implemented in G4ErrorCylSurfaceTarget, and G4ErrorPlaneSurfaceTarget.

◆ GetDistanceFromPoint() [1/2]

G4double G4ErrorSurfaceTarget::GetDistanceFromPoint ( const G4ThreeVector & point) const
overridepure virtual

Computes the minimal distance from a point to the surface in any direction.

Parameters
[in]pointThe point of reference.
Returns
The distance value.

Reimplemented from G4ErrorTarget.

Implemented in G4ErrorCylSurfaceTarget, and G4ErrorPlaneSurfaceTarget.

◆ GetDistanceFromPoint() [2/2]

G4double G4ErrorSurfaceTarget::GetDistanceFromPoint ( const G4ThreeVector & point,
const G4ThreeVector & direc ) const
overridepure virtual

Computes the distance from a point to the surface in a given direction.

Parameters
[in]pointThe point of reference.
[in]direcThe direction vector.
Returns
The distance value.

Reimplemented from G4ErrorTarget.

Implemented in G4ErrorCylSurfaceTarget, and G4ErrorPlaneSurfaceTarget.

◆ GetTangentPlane()

G4Plane3D G4ErrorSurfaceTarget::GetTangentPlane ( const G4ThreeVector & point) const
overridepure virtual

Computes the plane tangent to surface at a given point.

Parameters
[in]pointThe point of reference.
Returns
The tangent plane.

Implements G4ErrorTanPlaneTarget.

Implemented in G4ErrorCylSurfaceTarget, and G4ErrorPlaneSurfaceTarget.


The documentation for this class was generated from the following file: