Geant4 9.6.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
 
G4String theParentName
 
unsigned int theCopyNo
 
G4String theType
 

Detailed Description

Definition at line 49 of file G4tgrPlace.hh.

Constructor & Destructor Documentation

◆ G4tgrPlace()

G4tgrPlace::G4tgrPlace ( )

Definition at line 39 of file G4tgrPlace.cc.

40 : theVolume(0), theParentName(""), theCopyNo(0), theType("")
41{
42}
G4tgrVolume * theVolume
Definition: G4tgrPlace.hh:69
G4String theParentName
Definition: G4tgrPlace.hh:72
unsigned int theCopyNo
Definition: G4tgrPlace.hh:76
G4String theType
Definition: G4tgrPlace.hh:79

◆ ~G4tgrPlace()

G4tgrPlace::~G4tgrPlace ( )
virtual

Definition at line 46 of file G4tgrPlace.cc.

47{
48}

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 52 of file G4tgrPlace.cc.

53{
54 return G4ThreeVector(0,0,0); // Dummy...
55}
CLHEP::Hep3Vector G4ThreeVector

Referenced by G4tgbVolume::ConstructG4PhysVol().

◆ GetType()

const G4String & G4tgrPlace::GetType ( ) const
inline

◆ GetVolume()

G4tgrVolume * G4tgrPlace::GetVolume ( ) const
inline

Definition at line 59 of file G4tgrPlace.hh.

59{ return theVolume; }

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

◆ SetType()

void G4tgrPlace::SetType ( const G4String typ)
inline

Definition at line 63 of file G4tgrPlace.hh.

63{ theType = typ; }

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

◆ SetVolume()

Member Data Documentation

◆ theCopyNo

unsigned int G4tgrPlace::theCopyNo
protected

◆ theParentName

◆ theType

◆ theVolume

G4tgrVolume* G4tgrPlace::theVolume
protected

Definition at line 69 of file G4tgrPlace.hh.

Referenced by GetVolume(), and SetVolume().


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