Geant4-11
Public Member Functions
G4VTouchable Class Referenceabstract

#include <G4VTouchable.hh>

Inheritance diagram for G4VTouchable:
G4GMocrenTouchable G4GRSSolid G4GRSVolume G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable G4TouchableHistory

Public Member Functions

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

Detailed Description

Definition at line 102 of file G4VTouchable.hh.

Constructor & Destructor Documentation

◆ G4VTouchable()

G4VTouchable::G4VTouchable ( )
default

◆ ~G4VTouchable()

virtual G4VTouchable::~G4VTouchable ( )
virtualdefault

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

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

References FatalException, and G4Exception().

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

◆ GetHistoryDepth()

G4int G4VTouchable::GetHistoryDepth ( ) const
virtual

Reimplemented in G4TouchableHistory, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Definition at line 74 of file G4VTouchable.cc.

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

References FatalException, and G4Exception().

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

◆ GetReplicaNumber()

G4int G4VTouchable::GetReplicaNumber ( G4int  depth = 0) const
virtual

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

43{
44 G4Exception("G4VTouchable::GetSolid()", "GeomMgt0001",
45 FatalException, "Undefined call to base class.");
46 return nullptr;
47}

References FatalException, and G4Exception().

Referenced by G4DNAMolecularDissociation::DecayIt(), and export_G4VTouchable().

◆ GetTranslation()

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

◆ GetVolume()

G4VPhysicalVolume * G4VTouchable::GetVolume ( G4int  depth = 0) const
virtual

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

Definition at line 34 of file G4VTouchable.cc.

35{
36 G4Exception("G4VTouchable::GetVolume()", "GeomMgt0001",
37 FatalException, "Undefined call to base class.");
38 return nullptr;
39}

References FatalException, and G4Exception().

Referenced by G4DNABrownianTransportation::AlongStepGetPhysicalInteractionLength(), G4RayTrajectory::AppendStep(), G4ParallelWorldProcess::AtRestDoIt(), G4ParallelWorldScoringProcess::AtRestDoIt(), G4Track::CalculateVelocityForOpticalPhoton(), G4RichTrajectory::CreateAttValues(), G4RichTrajectoryPoint::CreateAttValues(), G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4DNAMolecularDissociation::DecayIt(), export_G4VTouchable(), G4PSDoseDeposit3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), G4FastSimHitMaker::make(), GFlashHitMaker::make(), Path(), G4ParallelWorldProcess::PostStepDoIt(), G4ParallelWorldScoringProcess::PostStepDoIt(), G4ITTransportation::PostStepDoIt(), G4CoupledTransportation::PostStepDoIt(), G4Transportation::PostStepDoIt(), G4ITSteppingVerbose::PostStepVerbose(), G4ITSteppingVerbose::PreStepVerbose(), G4DNAIRT_geometries::Sampling(), G4ITStepProcessor::SetInitialStep(), G4SteppingManager::SetInitialStep(), G4ParallelWorldProcess::SwitchMaterial(), and G4RTSteppingAction::UserSteppingAction().

◆ MoveUpHistory()

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

Reimplemented in G4TouchableHistory.

Definition at line 58 of file G4VTouchable.cc.

59{
60 G4Exception("G4VTouchable::MoveUpHistory()", "GeomMgt0001",
61 FatalException, "Undefined call to base class.");
62 return 0;
63}

References FatalException, and G4Exception().

Referenced by export_G4VTouchable().

◆ UpdateYourself()

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

Reimplemented in G4TouchableHistory.

Definition at line 66 of file G4VTouchable.cc.

68{
69 G4Exception("G4VTouchable::UpdateYourself()", "GeomMgt0001",
70 FatalException, "Undefined call to base class.");
71}

References FatalException, and G4Exception().

Referenced by G4DNABrownianTransportation::AlongStepGetPhysicalInteractionLength().


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