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

#include <G4tgrPlace.hh>

+ Inheritance diagram for G4tgrPlace:

Public Member Functions

 G4tgrPlace ()
 
virtual ~G4tgrPlace ()
 
const G4StringGetParentName () const
 
G4tgrVolumeGetVolume () const
 
unsigned int GetCopyNo () const
 
const G4StringGetType () const
 
void SetVolume (G4tgrVolume *vol)
 
void SetType (const G4String &typ)
 
virtual G4ThreeVector GetPlacement () const
 

Protected Attributes

G4tgrVolumetheVolume = nullptr
 
G4String theParentName = ""
 
unsigned int theCopyNo = 0
 
G4String theType = ""
 

Detailed Description

Definition at line 43 of file G4tgrPlace.hh.

Constructor & Destructor Documentation

◆ G4tgrPlace()

G4tgrPlace::G4tgrPlace ( )

Definition at line 34 of file G4tgrPlace.cc.

35{
36}

◆ ~G4tgrPlace()

G4tgrPlace::~G4tgrPlace ( )
virtual

Definition at line 39 of file G4tgrPlace.cc.

40{
41}

Member Function Documentation

◆ GetCopyNo()

unsigned int G4tgrPlace::GetCopyNo ( ) const
inline

◆ GetParentName()

const G4String & G4tgrPlace::GetParentName ( ) const
inline

◆ GetPlacement()

G4ThreeVector G4tgrPlace::GetPlacement ( ) const
virtual

Reimplemented in G4tgrPlaceSimple.

Definition at line 44 of file G4tgrPlace.cc.

45{
46 return G4ThreeVector(0, 0, 0); // Dummy...
47}
CLHEP::Hep3Vector G4ThreeVector

Referenced by G4tgbVolume::ConstructG4PhysVol().

◆ GetType()

const G4String & G4tgrPlace::GetType ( ) const
inline

◆ GetVolume()

G4tgrVolume * G4tgrPlace::GetVolume ( ) const
inline

Definition at line 53 of file G4tgrPlace.hh.

53{ return theVolume; }
G4tgrVolume * theVolume
Definition: G4tgrPlace.hh:63

Referenced by G4tgbVolume::ConstructG4Volumes(), and G4tgrVolumeMgr::DumpVolumeLeaf().

◆ SetType()

void G4tgrPlace::SetType ( const G4String typ)
inline

Definition at line 57 of file G4tgrPlace.hh.

57{ theType = typ; }

Referenced by G4tgrVolume::AddPlaceReplica(), and G4tgrVolumeDivision::G4tgrVolumeDivision().

◆ SetVolume()

Member Data Documentation

◆ theCopyNo

unsigned int G4tgrPlace::theCopyNo = 0
protected

◆ theParentName

◆ theType

G4String G4tgrPlace::theType = ""
protected

◆ theVolume

G4tgrVolume* G4tgrPlace::theVolume = nullptr
protected

Definition at line 63 of file G4tgrPlace.hh.

Referenced by GetVolume(), and SetVolume().


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