Geant4-11
Public Member Functions | Private Attributes
G4GRSVolume Class Reference

#include <G4GRSVolume.hh>

Inheritance diagram for G4GRSVolume:
G4VTouchable

Public Member Functions

 G4GRSVolume (const G4GRSVolume &)=delete
 
 G4GRSVolume (G4VPhysicalVolume *pVol, const G4RotationMatrix &rot, const G4ThreeVector &tlate)
 
 G4GRSVolume (G4VPhysicalVolume *pVol, const G4RotationMatrix *pRot, const G4ThreeVector &tlate)
 
G4int GetCopyNumber (G4int depth=0) const
 
virtual const G4NavigationHistoryGetHistory () const
 
virtual G4int GetHistoryDepth () const
 
virtual G4int GetReplicaNumber (G4int depth=0) const
 
const G4RotationMatrixGetRotation (G4int depth=0) const
 
G4VSolidGetSolid (G4int depth=0) const
 
const G4ThreeVectorGetTranslation (G4int depth=0) const
 
G4VPhysicalVolumeGetVolume (G4int depth=0) const
 
virtual G4int MoveUpHistory (G4int num_levels=1)
 
G4GRSVolumeoperator= (const G4GRSVolume &)=delete
 
virtual void UpdateYourself (G4VPhysicalVolume *pPhysVol, const G4NavigationHistory *history=nullptr)
 
 ~G4GRSVolume ()
 

Private Attributes

G4RotationMatrixfrot = nullptr
 
G4ThreeVector ftlate
 
G4VPhysicalVolumefvol = nullptr
 

Detailed Description

Definition at line 47 of file G4GRSVolume.hh.

Constructor & Destructor Documentation

◆ G4GRSVolume() [1/3]

G4GRSVolume::G4GRSVolume ( G4VPhysicalVolume pVol,
const G4RotationMatrix pRot,
const G4ThreeVector tlate 
)

◆ G4GRSVolume() [2/3]

G4GRSVolume::G4GRSVolume ( G4VPhysicalVolume pVol,
const G4RotationMatrix rot,
const G4ThreeVector tlate 
)

◆ ~G4GRSVolume()

G4GRSVolume::~G4GRSVolume ( )

Definition at line 32 of file G4GRSVolume.cc.

33{
34 delete frot; // safe if null
35}
G4RotationMatrix * frot
Definition: G4GRSVolume.hh:71

References frot.

◆ G4GRSVolume() [3/3]

G4GRSVolume::G4GRSVolume ( const G4GRSVolume )
delete

Member Function Documentation

◆ GetCopyNumber()

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

◆ GetHistory()

const G4NavigationHistory * G4VTouchable::GetHistory ( ) const
virtualinherited

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
virtualinherited

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
virtualinherited

◆ GetRotation()

const G4RotationMatrix * G4GRSVolume::GetRotation ( G4int  depth = 0) const
inlinevirtual

Implements G4VTouchable.

◆ GetSolid()

G4VSolid * G4GRSVolume::GetSolid ( G4int  depth = 0) const
inlinevirtual

Reimplemented from G4VTouchable.

◆ GetTranslation()

const G4ThreeVector & G4GRSVolume::GetTranslation ( G4int  depth = 0) const
inlinevirtual

Implements G4VTouchable.

◆ GetVolume()

G4VPhysicalVolume * G4GRSVolume::GetVolume ( G4int  depth = 0) const
inlinevirtual

Reimplemented from G4VTouchable.

◆ MoveUpHistory()

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

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

◆ operator=()

G4GRSVolume & G4GRSVolume::operator= ( const G4GRSVolume )
delete

◆ UpdateYourself()

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

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

Field Documentation

◆ frot

G4RotationMatrix* G4GRSVolume::frot = nullptr
private

Definition at line 71 of file G4GRSVolume.hh.

Referenced by ~G4GRSVolume().

◆ ftlate

G4ThreeVector G4GRSVolume::ftlate
private

Definition at line 72 of file G4GRSVolume.hh.

◆ fvol

G4VPhysicalVolume* G4GRSVolume::fvol = nullptr
private

Definition at line 70 of file G4GRSVolume.hh.


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