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

G4ErrorTarget is base class for all error propagation targets. More...

#include <G4ErrorTarget.hh>

Inheritance diagram for G4ErrorTarget:

Public Member Functions

 G4ErrorTarget ()=default
virtual ~G4ErrorTarget ()=default
virtual G4double GetDistanceFromPoint (const G4ThreeVector &, const G4ThreeVector &) const
virtual G4double GetDistanceFromPoint (const G4ThreeVector &) const
virtual G4bool TargetReached (const G4Step *)
virtual void Dump (const G4String &msg) const =0
G4ErrorTargetType GetType () const

Protected Attributes

G4ErrorTargetType theType {G4ErrorTarget_GeomVolume}

Detailed Description

G4ErrorTarget is base class for all error propagation targets.

Definition at line 50 of file G4ErrorTarget.hh.

Constructor & Destructor Documentation

◆ G4ErrorTarget()

G4ErrorTarget::G4ErrorTarget ( )
default

Default Constructor and Destructor.

◆ ~G4ErrorTarget()

virtual G4ErrorTarget::~G4ErrorTarget ( )
virtualdefault

Member Function Documentation

◆ Dump()

virtual void G4ErrorTarget::Dump ( const G4String & msg) const
pure virtual

◆ GetDistanceFromPoint() [1/2]

G4double G4ErrorTarget::GetDistanceFromPoint ( const G4ThreeVector & ) const
virtual

Reimplemented in G4ErrorCylSurfaceTarget, G4ErrorPlaneSurfaceTarget, G4ErrorSurfaceTarget, and G4ErrorTrackLengthTarget.

Definition at line 39 of file G4ErrorTarget.cc.

40{
41 return DBL_MAX;
42}
#define DBL_MAX
Definition templates.hh:62

◆ GetDistanceFromPoint() [2/2]

G4double G4ErrorTarget::GetDistanceFromPoint ( const G4ThreeVector & ,
const G4ThreeVector &  ) const
virtual

◆ GetType()

G4ErrorTargetType G4ErrorTarget::GetType ( ) const
inline

Returns the type ID of the target.

Definition at line 81 of file G4ErrorTarget.hh.

81{ return theType; }
G4ErrorTargetType theType

Referenced by G4ErrorPropagator::GetFinalTrajState(), G4ErrorPropagationNavigator::GetGlobalExitNormal(), and G4ErrorPropagator::MakeOneStep().

◆ TargetReached()

G4bool G4ErrorTarget::TargetReached ( const G4Step * )
virtual

Returns true if the target surface / target track length is reached.

Reimplemented in G4ErrorGeomVolumeTarget.

Definition at line 44 of file G4ErrorTarget.cc.

45{
46 return false;
47}

Member Data Documentation

◆ theType


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