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

#include <G4VTouchable.hh>

+ Inheritance diagram for G4VTouchable:

Public Member Functions

 G4VTouchable ()
 
virtual ~G4VTouchable ()
 
virtual const G4ThreeVectorGetTranslation (G4int depth=0) const =0
 
virtual const G4RotationMatrixGetRotation (G4int depth=0) const =0
 
virtual G4VPhysicalVolumeGetVolume (G4int depth=0) const
 
virtual G4VSolidGetSolid (G4int depth=0) const
 
virtual G4int GetReplicaNumber (G4int depth=0) const
 
G4int GetCopyNumber (G4int depth=0) const
 
virtual G4int GetHistoryDepth () const
 
virtual G4int MoveUpHistory (G4int num_levels=1)
 
virtual void UpdateYourself (G4VPhysicalVolume *pPhysVol, const G4NavigationHistory *history=0)
 
virtual const G4NavigationHistoryGetHistory () const
 

Detailed Description

Definition at line 107 of file G4VTouchable.hh.

Constructor & Destructor Documentation

◆ G4VTouchable()

G4VTouchable::G4VTouchable ( )

Definition at line 36 of file G4VTouchable.cc.

37{
38}

◆ ~G4VTouchable()

G4VTouchable::~G4VTouchable ( )
virtual

Definition at line 40 of file G4VTouchable.cc.

41{
42}

Member Function Documentation

◆ GetCopyNumber()

G4int G4VTouchable::GetCopyNumber ( G4int  depth = 0) const
inline

◆ GetHistory()

const G4NavigationHistory * G4VTouchable::GetHistory ( ) const
virtual

Reimplemented in G4TouchableHistory.

Definition at line 86 of file G4VTouchable.cc.

87{
88 G4Exception("G4VTouchable::GetHistory()", "GeomMgt0001",
89 FatalException, "Undefined call to base class.");
90 return 0;
91}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Referenced by G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), and G4PSSphereSurfaceFlux::ProcessHits().

◆ GetHistoryDepth()

G4int G4VTouchable::GetHistoryDepth ( ) const
virtual

Reimplemented in G4TouchableHistory, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Definition at line 79 of file G4VTouchable.cc.

80{
81 G4Exception("G4VTouchable::GetHistoryDepth()", "GeomMgt0001",
82 FatalException, "Undefined call to base class.");
83 return 0;
84}

◆ GetReplicaNumber()

◆ GetRotation()

virtual const G4RotationMatrix * G4VTouchable::GetRotation ( G4int  depth = 0) const
pure virtual

◆ GetSolid()

G4VSolid * G4VTouchable::GetSolid ( G4int  depth = 0) const
virtual

Reimplemented in G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable, G4GRSSolid, G4GRSVolume, and G4TouchableHistory.

Definition at line 51 of file G4VTouchable.cc.

52{
53 G4Exception("G4VTouchable::GetSolid()", "GeomMgt0001",
54 FatalException, "Undefined call to base class.");
55 return 0;
56}

◆ GetTranslation()

virtual const G4ThreeVector & G4VTouchable::GetTranslation ( G4int  depth = 0) const
pure virtual

◆ GetVolume()

◆ MoveUpHistory()

G4int G4VTouchable::MoveUpHistory ( G4int  num_levels = 1)
virtual

Reimplemented in G4TouchableHistory.

Definition at line 65 of file G4VTouchable.cc.

66{
67 G4Exception("G4VTouchable::MoveUpHistory()", "GeomMgt0001",
68 FatalException, "Undefined call to base class.");
69 return 0;
70}

◆ UpdateYourself()

void G4VTouchable::UpdateYourself ( G4VPhysicalVolume pPhysVol,
const G4NavigationHistory history = 0 
)
virtual

Reimplemented in G4TouchableHistory.

Definition at line 72 of file G4VTouchable.cc.

74{
75 G4Exception("G4VTouchable::UpdateYourself()", "GeomMgt0001",
76 FatalException, "Undefined call to base class.");
77}

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