G4VTouchable Class Reference

#include <G4VTouchable.hh>

Inheritance diagram for G4VTouchable:

G4GMocrenTouchable G4GRSSolid G4GRSVolume G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable G4TouchableHistory

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

Definition at line 36 of file G4VTouchable.cc.

00037 {
00038 }

G4VTouchable::~G4VTouchable (  )  [virtual]

Definition at line 40 of file G4VTouchable.cc.

00041 {
00042 }


Member Function Documentation

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

Definition at line 35 of file G4VTouchable.icc.

References GetReplicaNumber().

00036 {
00037   return GetReplicaNumber(depth);
00038 }

const G4NavigationHistory * G4VTouchable::GetHistory (  )  const [virtual]

Reimplemented in G4TouchableHistory.

Definition at line 86 of file G4VTouchable.cc.

References FatalException, and G4Exception().

00087 {
00088   G4Exception("G4VTouchable::GetHistory()", "GeomMgt0001",
00089               FatalException, "Undefined call to base class.");
00090   return 0;
00091 }

G4int G4VTouchable::GetHistoryDepth (  )  const [virtual]

Reimplemented in G4TouchableHistory, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Definition at line 79 of file G4VTouchable.cc.

References FatalException, and G4Exception().

00080 {
00081   G4Exception("G4VTouchable::GetHistoryDepth()", "GeomMgt0001",
00082               FatalException, "Undefined call to base class.");
00083   return  0;
00084 }

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

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

Definition at line 58 of file G4VTouchable.cc.

References FatalException, and G4Exception().

Referenced by GetCopyNumber(), G4PSTrackLength3D::GetIndex(), G4PSTrackCounter3D::GetIndex(), G4PSTermination3D::GetIndex(), G4PSStepChecker3D::GetIndex(), G4PSSphereSurfaceFlux3D::GetIndex(), G4PSSphereSurfaceCurrent3D::GetIndex(), G4PSPopulation3D::GetIndex(), G4PSPassageTrackLength3D::GetIndex(), G4PSPassageCellFlux3D::GetIndex(), G4PSPassageCellCurrent3D::GetIndex(), G4PSNofStep3D::GetIndex(), G4PSNofSecondary3D::GetIndex(), G4PSNofCollision3D::GetIndex(), G4PSMinKinEAtGeneration3D::GetIndex(), G4PSFlatSurfaceFlux3D::GetIndex(), G4PSFlatSurfaceCurrent3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4PSCylinderSurfaceFlux3D::GetIndex(), G4PSCylinderSurfaceCurrent3D::GetIndex(), G4PSCellFlux3D::GetIndex(), G4PSCellCharge3D::GetIndex(), G4WeightWindowProcess::PostStepDoIt(), G4WeightCutOffProcess::PostStepDoIt(), G4ImportanceProcess::PostStepDoIt(), G4ScoreSplittingProcess::Verbose(), and G4ParallelWorldScoringProcess::Verbose().

00059 {
00060   G4Exception("G4VTouchable::GetReplicaNumber()", "GeomMgt0001",
00061               FatalException, "Undefined call to base class.");
00062   return 0;
00063 }

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

Implemented in G4GRSSolid, G4GRSVolume, G4TouchableHistory, G4GMocrenTouchable, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Referenced by G4VXTRenergyLoss::PostStepDoIt().

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

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

Definition at line 51 of file G4VTouchable.cc.

References FatalException, and G4Exception().

00052 {
00053   G4Exception("G4VTouchable::GetSolid()", "GeomMgt0001",
00054               FatalException, "Undefined call to base class.");
00055   return 0;
00056 }

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

Implemented in G4GRSSolid, G4GRSVolume, G4TouchableHistory, G4GMocrenTouchable, and G4PhysicalVolumeModel::G4PhysicalVolumeModelTouchable.

Referenced by G4VXTRenergyLoss::PostStepDoIt().

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

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

Definition at line 44 of file G4VTouchable.cc.

References FatalException, and G4Exception().

Referenced by G4AdjointCrossSurfChecker::CrossingAnInterfaceBetweenTwoVolumes(), G4PSEnergyDeposit3D::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolume(), G4AdjointCrossSurfChecker::GoingInOrOutOfaVolumeByExtSurface(), and G4Step::InitializeStep().

00045 {
00046   G4Exception("G4VTouchable::GetVolume()", "GeomMgt0001",
00047               FatalException, "Undefined call to base class.");
00048   return 0;
00049 }

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

Reimplemented in G4TouchableHistory.

Definition at line 65 of file G4VTouchable.cc.

References FatalException, and G4Exception().

00066 {
00067   G4Exception("G4VTouchable::MoveUpHistory()", "GeomMgt0001",
00068               FatalException, "Undefined call to base class.");
00069   return 0;
00070 }

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

Reimplemented in G4TouchableHistory.

Definition at line 72 of file G4VTouchable.cc.

References FatalException, and G4Exception().

Referenced by G4Navigator::LocateGlobalPointAndUpdateTouchable(), and G4ITNavigator::LocateGlobalPointAndUpdateTouchable().

00074 {
00075   G4Exception("G4VTouchable::UpdateYourself()", "GeomMgt0001",
00076               FatalException, "Undefined call to base class.");
00077 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:55 2013 for Geant4 by  doxygen 1.4.7