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

#include <G4ErrorTarget.hh>

+ Inheritance diagram for G4ErrorTarget:

Public Member Functions

 G4ErrorTarget ()
 
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

Definition at line 46 of file G4ErrorTarget.hh.

Constructor & Destructor Documentation

◆ G4ErrorTarget()

G4ErrorTarget::G4ErrorTarget ( )

Definition at line 33 of file G4ErrorTarget.cc.

33{}

◆ ~G4ErrorTarget()

virtual G4ErrorTarget::~G4ErrorTarget ( )
virtualdefault

Member Function Documentation

◆ Dump()

◆ GetDistanceFromPoint() [1/2]

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

Reimplemented in G4ErrorCylSurfaceTarget, G4ErrorPlaneSurfaceTarget, G4ErrorSurfaceTarget, and G4ErrorTrackLengthTarget.

Definition at line 41 of file G4ErrorTarget.cc.

42{
43 return DBL_MAX;
44}
#define DBL_MAX
Definition templates.hh:62

◆ GetDistanceFromPoint() [2/2]

◆ GetType()

G4ErrorTargetType G4ErrorTarget::GetType ( ) const
inline

◆ TargetReached()

G4bool G4ErrorTarget::TargetReached ( const G4Step * )
virtual

Reimplemented in G4ErrorGeomVolumeTarget.

Definition at line 46 of file G4ErrorTarget.cc.

47{
48 return false;
49}

Member Data Documentation

◆ theType


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