Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4tgbMaterial Class Referenceabstract

#include <G4tgbMaterial.hh>

+ Inheritance diagram for G4tgbMaterial:

Public Member Functions

 G4tgbMaterial ()
 
virtual ~G4tgbMaterial ()
 
 G4tgbMaterial (G4tgrMaterial *tgr)
 
virtual G4MaterialBuildG4Material ()=0
 
const G4StringGetName () const
 
G4double GetDensity () const
 
G4int GetNumberOfMaterials () const
 
G4double GetA () const
 
G4double GetZ () const
 
const G4StringGetType () const
 
G4tgrMaterialGetTgrMate () const
 

Protected Attributes

G4tgrMaterialtheTgrMate
 
G4MaterialtheG4Mate
 

Friends

std::ostream & operator<< (std::ostream &, const G4tgbMaterial &)
 

Detailed Description

Definition at line 52 of file G4tgbMaterial.hh.

Constructor & Destructor Documentation

◆ G4tgbMaterial() [1/2]

G4tgbMaterial::G4tgbMaterial ( )

Definition at line 41 of file G4tgbMaterial.cc.

42 : theTgrMate(0), theG4Mate(0)
43{
44}
G4tgrMaterial * theTgrMate
G4Material * theG4Mate

◆ ~G4tgbMaterial()

G4tgbMaterial::~G4tgbMaterial ( )
virtual

Definition at line 47 of file G4tgbMaterial.cc.

48{
49}

◆ G4tgbMaterial() [2/2]

G4tgbMaterial::G4tgbMaterial ( G4tgrMaterial tgr)

Definition at line 52 of file G4tgbMaterial.cc.

53 : theTgrMate(hg), theG4Mate(0)
54{
55}

Member Function Documentation

◆ BuildG4Material()

◆ GetA()

G4double G4tgbMaterial::GetA ( ) const
inline

Definition at line 80 of file G4tgbMaterial.hh.

81 {
82 return theTgrMate->GetA();
83 }
virtual G4double GetA() const =0

◆ GetDensity()

G4double G4tgbMaterial::GetDensity ( ) const
inline

Definition at line 70 of file G4tgbMaterial.hh.

71 {
72 return theTgrMate->GetDensity();
73 }
G4double GetDensity() const

◆ GetName()

const G4String & G4tgbMaterial::GetName ( ) const
inline

Definition at line 65 of file G4tgbMaterial.hh.

66 {
67 return theTgrMate->GetName();
68 }
const G4String & GetName() const

Referenced by G4tgbMaterialSimple::BuildG4Material(), and G4tgbMaterialMgr::CopyMaterials().

◆ GetNumberOfMaterials()

G4int G4tgbMaterial::GetNumberOfMaterials ( ) const
inline

Definition at line 75 of file G4tgbMaterial.hh.

76 {
78 }
G4int GetNumberOfComponents() const

◆ GetTgrMate()

G4tgrMaterial * G4tgbMaterial::GetTgrMate ( ) const
inline

Definition at line 96 of file G4tgbMaterial.hh.

97 {
98 return theTgrMate;
99 }

Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().

◆ GetType()

const G4String & G4tgbMaterial::GetType ( ) const
inline

Definition at line 90 of file G4tgbMaterial.hh.

91 {
92 return theTgrMate->GetType();
93 }
const G4String & GetType() const

◆ GetZ()

G4double G4tgbMaterial::GetZ ( ) const
inline

Definition at line 85 of file G4tgbMaterial.hh.

86 {
87 return theTgrMate->GetZ();
88 }
virtual G4double GetZ() const =0

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  ,
const G4tgbMaterial  
)
friend

Member Data Documentation

◆ theG4Mate

G4Material* G4tgbMaterial::theG4Mate
protected

Definition at line 104 of file G4tgbMaterial.hh.

◆ theTgrMate


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