Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4NavigationLevelRep Class Reference

G4NavigationLevelRep is a data representation class, used to hold the data for a single level of the nvigation history tree. This is the body of a handle/body pair of classes, that implement reference counting for navigation levels. The corresponding handle class is G4NavigationLevel. More...

#include <G4NavigationLevelRep.hh>

Public Member Functions

 G4NavigationLevelRep (G4VPhysicalVolume *newPtrPhysVol, const G4AffineTransform &newT, EVolume newVolTp, G4int newRepNo=-1)
 G4NavigationLevelRep (G4VPhysicalVolume *newPtrPhysVol, const G4AffineTransform &levelAbove, const G4AffineTransform &relativeCurrent, EVolume newVolTp, G4int newRepNo=-1)
 G4NavigationLevelRep ()
 ~G4NavigationLevelRep ()
 G4NavigationLevelRep (G4NavigationLevelRep &)
G4NavigationLevelRepoperator= (const G4NavigationLevelRep &)
G4VPhysicalVolumeGetPhysicalVolume ()
const G4AffineTransformGetTransformPtr () const
const G4AffineTransformGetTransform () const
EVolume GetVolumeType () const
G4int GetReplicaNo () const
void AddAReference ()
G4bool RemoveAReference ()
void * operator new (size_t)
void operator delete (void *aTrack)

Detailed Description

G4NavigationLevelRep is a data representation class, used to hold the data for a single level of the nvigation history tree. This is the body of a handle/body pair of classes, that implement reference counting for navigation levels. The corresponding handle class is G4NavigationLevel.

Definition at line 58 of file G4NavigationLevelRep.hh.

Constructor & Destructor Documentation

◆ G4NavigationLevelRep() [1/4]

G4NavigationLevelRep::G4NavigationLevelRep ( G4VPhysicalVolume * newPtrPhysVol,
const G4AffineTransform & newT,
EVolume newVolTp,
G4int newRepNo = -1 )
inline

Constructor for G4NavigationLevelRep.

Parameters
[in]newPtrPhysVolPointer to the new physical volume.
[in]newTThe associated affine transformation.
[in]newVolTpThe volume type.
[in]newRepNoThe replica number.

Referenced by G4NavigationLevelRep(), and operator=().

◆ G4NavigationLevelRep() [2/4]

G4NavigationLevelRep::G4NavigationLevelRep ( G4VPhysicalVolume * newPtrPhysVol,
const G4AffineTransform & levelAbove,
const G4AffineTransform & relativeCurrent,
EVolume newVolTp,
G4int newRepNo = -1 )
inline

Alternative Constructor for G4NavigationLevelRep, as the previous constructor, but instead of giving the new transformation, give the affine transformation to the level above and the current level's transformation relative to that.

Parameters
[in]newPtrPhysVolPointer to the new physical volume.
[in]levelAboveThe affine transformation to the level above.
[in]relativeCurrentThe affine transformation at current level.
[in]newVolTpThe volume type.
[in]newRepNoThe replica number.

◆ G4NavigationLevelRep() [3/4]

G4NavigationLevelRep::G4NavigationLevelRep ( )
inline

Default Constructor & Destructor.

◆ ~G4NavigationLevelRep()

G4NavigationLevelRep::~G4NavigationLevelRep ( )
inline

◆ G4NavigationLevelRep() [4/4]

G4NavigationLevelRep::G4NavigationLevelRep ( G4NavigationLevelRep & )
inline

Copy constructor and assignment operator.

Member Function Documentation

◆ AddAReference()

void G4NavigationLevelRep::AddAReference ( )
inline

Methods taking care of the reference counts.

Referenced by G4NavigationLevel::operator=().

◆ GetPhysicalVolume()

G4VPhysicalVolume * G4NavigationLevelRep::GetPhysicalVolume ( )
inline

Returns a pointer to the physical volume at the current level.

◆ GetReplicaNo()

G4int G4NavigationLevelRep::GetReplicaNo ( ) const
inline

Returns the replica number.

◆ GetTransform()

const G4AffineTransform & G4NavigationLevelRep::GetTransform ( ) const
inline

◆ GetTransformPtr()

const G4AffineTransform * G4NavigationLevelRep::GetTransformPtr ( ) const
inline

Methods to return the associated affine transformation.

◆ GetVolumeType()

EVolume G4NavigationLevelRep::GetVolumeType ( ) const
inline

Returns the volume type.

◆ operator delete()

void G4NavigationLevelRep::operator delete ( void * aTrack)
inline

◆ operator new()

void * G4NavigationLevelRep::operator new ( size_t )
inline

New/delete operator overrides for use by "G4Allocator".

◆ operator=()

G4NavigationLevelRep & G4NavigationLevelRep::operator= ( const G4NavigationLevelRep & )
inline

◆ RemoveAReference()

G4bool G4NavigationLevelRep::RemoveAReference ( )
inline

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