Geant4-11
Public Member Functions | Protected Attributes
G4tgrPlace Class Reference

#include <G4tgrPlace.hh>

Inheritance diagram for G4tgrPlace:
G4tgrPlaceDivRep G4tgrPlaceParameterisation G4tgrPlaceSimple

Public Member Functions

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

Protected Attributes

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

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

References theVolume.

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; }
G4ProcessVectorTypeIndex typ

References theType, and pyG4ProcessManager::typ.

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

◆ SetVolume()

void G4tgrPlace::SetVolume ( G4tgrVolume vol)
inline

Field Documentation

◆ theCopyNo

unsigned int G4tgrPlace::theCopyNo = 0
protected

◆ theParentName

G4String G4tgrPlace::theParentName = ""
protected

◆ 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: