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

#include <G4GRSSolid.hh>

Inheritance diagram for G4GRSSolid:
G4VTouchable

Public Member Functions

 G4GRSSolid (const G4GRSSolid &)=delete
 
 G4GRSSolid (G4VSolid *pSolid, const G4RotationMatrix &rot, const G4ThreeVector &tlate)
 
 G4GRSSolid (G4VSolid *pSolid, 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
 
virtual G4VPhysicalVolumeGetVolume (G4int depth=0) const
 
virtual G4int MoveUpHistory (G4int num_levels=1)
 
G4GRSSolidoperator= (const G4GRSSolid &)=delete
 
virtual void UpdateYourself (G4VPhysicalVolume *pPhysVol, const G4NavigationHistory *history=nullptr)
 
 ~G4GRSSolid ()
 

Private Attributes

G4RotationMatrixfrot = nullptr
 
G4VSolidfsolid = nullptr
 
G4ThreeVector ftlate
 

Detailed Description

Definition at line 46 of file G4GRSSolid.hh.

Constructor & Destructor Documentation

◆ G4GRSSolid() [1/3]

G4GRSSolid::G4GRSSolid ( G4VSolid pSolid,
const G4RotationMatrix pRot,
const G4ThreeVector tlate 
)

◆ G4GRSSolid() [2/3]

G4GRSSolid::G4GRSSolid ( G4VSolid pSolid,
const G4RotationMatrix rot,
const G4ThreeVector tlate 
)

◆ ~G4GRSSolid()

G4GRSSolid::~G4GRSSolid ( )

Definition at line 32 of file G4GRSSolid.cc.

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

References frot.

◆ G4GRSSolid() [3/3]

G4GRSSolid::G4GRSSolid ( const G4GRSSolid )
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 * G4GRSSolid::GetRotation ( G4int  depth = 0) const
inlinevirtual

Implements G4VTouchable.

◆ GetSolid()

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

Reimplemented from G4VTouchable.

◆ GetTranslation()

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

Implements G4VTouchable.

◆ GetVolume()

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

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

G4GRSSolid & G4GRSSolid::operator= ( const G4GRSSolid )
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* G4GRSSolid::frot = nullptr
private

Definition at line 69 of file G4GRSSolid.hh.

Referenced by ~G4GRSSolid().

◆ fsolid

G4VSolid* G4GRSSolid::fsolid = nullptr
private

Definition at line 68 of file G4GRSSolid.hh.

◆ ftlate

G4ThreeVector G4GRSSolid::ftlate
private

Definition at line 70 of file G4GRSSolid.hh.


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