Geant4 10.7.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=nullptr)
 
virtual const G4NavigationHistoryGetHistory () const
 

Detailed Description

Definition at line 102 of file G4VTouchable.hh.

Constructor & Destructor Documentation

◆ G4VTouchable()

G4VTouchable::G4VTouchable ( )

Definition at line 33 of file G4VTouchable.cc.

34{
35}

◆ ~G4VTouchable()

G4VTouchable::~G4VTouchable ( )
virtual

Definition at line 37 of file G4VTouchable.cc.

38{
39}

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 83 of file G4VTouchable.cc.

84{
85 G4Exception("G4VTouchable::GetHistory()", "GeomMgt0001",
86 FatalException, "Undefined call to base class.");
87 return 0;
88}
@ FatalException
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
Definition: G4Exception.cc:35

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

◆ GetHistoryDepth()

G4int G4VTouchable::GetHistoryDepth ( ) const
virtual

Reimplemented in G4TouchableHistory, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Definition at line 76 of file G4VTouchable.cc.

77{
78 G4Exception("G4VTouchable::GetHistoryDepth()", "GeomMgt0001",
79 FatalException, "Undefined call to base class.");
80 return 0;
81}

Referenced by G4RayTrajectory::AppendStep(), and G4RTSteppingAction::UserSteppingAction().

◆ GetReplicaNumber()

◆ GetRotation()

◆ GetSolid()

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

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

Definition at line 48 of file G4VTouchable.cc.

49{
50 G4Exception("G4VTouchable::GetSolid()", "GeomMgt0001",
51 FatalException, "Undefined call to base class.");
52 return nullptr;
53}

Referenced by G4DNAMolecularDissociation::DecayIt().

◆ GetTranslation()

◆ GetVolume()

◆ MoveUpHistory()

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

Reimplemented in G4TouchableHistory.

Definition at line 62 of file G4VTouchable.cc.

63{
64 G4Exception("G4VTouchable::MoveUpHistory()", "GeomMgt0001",
65 FatalException, "Undefined call to base class.");
66 return 0;
67}

◆ UpdateYourself()

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

Reimplemented in G4TouchableHistory.

Definition at line 69 of file G4VTouchable.cc.

71{
72 G4Exception("G4VTouchable::UpdateYourself()", "GeomMgt0001",
73 FatalException, "Undefined call to base class.");
74}

Referenced by G4DNABrownianTransportation::AlongStepGetPhysicalInteractionLength().


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