Geant4 10.7.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 = nullptr
 
G4MaterialtheG4Mate = nullptr
 

Friends

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

Detailed Description

Definition at line 44 of file G4tgbMaterial.hh.

Constructor & Destructor Documentation

◆ G4tgbMaterial() [1/2]

G4tgbMaterial::G4tgbMaterial ( )

Definition at line 35 of file G4tgbMaterial.cc.

36{
37}

◆ ~G4tgbMaterial()

G4tgbMaterial::~G4tgbMaterial ( )
virtual

Definition at line 40 of file G4tgbMaterial.cc.

41{
42}

◆ G4tgbMaterial() [2/2]

G4tgbMaterial::G4tgbMaterial ( G4tgrMaterial tgr)

Definition at line 45 of file G4tgbMaterial.cc.

46 : theTgrMate(hg)
47{
48}
G4tgrMaterial * theTgrMate

Member Function Documentation

◆ BuildG4Material()

◆ GetA()

G4double G4tgbMaterial::GetA ( ) const
inline

Definition at line 66 of file G4tgbMaterial.hh.

66{ return theTgrMate->GetA(); }
virtual G4double GetA() const =0

◆ GetDensity()

G4double G4tgbMaterial::GetDensity ( ) const
inline

Definition at line 59 of file G4tgbMaterial.hh.

59{ return theTgrMate->GetDensity(); }
G4double GetDensity() const

◆ GetName()

const G4String & G4tgbMaterial::GetName ( ) const
inline

Definition at line 57 of file G4tgbMaterial.hh.

57{ return theTgrMate->GetName(); }
const G4String & GetName() const

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

◆ GetNumberOfMaterials()

G4int G4tgbMaterial::GetNumberOfMaterials ( ) const
inline

Definition at line 61 of file G4tgbMaterial.hh.

62 {
64 }
G4int GetNumberOfComponents() const

◆ GetTgrMate()

G4tgrMaterial * G4tgbMaterial::GetTgrMate ( ) const
inline

Definition at line 72 of file G4tgbMaterial.hh.

72{ return theTgrMate; }

Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().

◆ GetType()

const G4String & G4tgbMaterial::GetType ( ) const
inline

Definition at line 70 of file G4tgbMaterial.hh.

70{ return theTgrMate->GetType(); }
const G4String & GetType() const

◆ GetZ()

G4double G4tgbMaterial::GetZ ( ) const
inline

Definition at line 68 of file G4tgbMaterial.hh.

68{ return theTgrMate->GetZ(); }
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 = nullptr
protected

Definition at line 77 of file G4tgbMaterial.hh.

◆ theTgrMate


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