Geant4-11
Public Member Functions | Protected Member Functions | Protected Attributes
G4tgbMaterialMixture Class Referenceabstract

#include <G4tgbMaterialMixture.hh>

Inheritance diagram for G4tgbMaterialMixture:
G4tgbMaterial G4tgbMaterialMixtureByNoAtoms G4tgbMaterialMixtureByVolume G4tgbMaterialMixtureByWeight

Public Member Functions

virtual G4MaterialBuildG4Material ()=0
 
 G4tgbMaterialMixture ()
 
G4double GetA () const
 
virtual const G4StringGetComponent (G4int i) const
 
G4double GetDensity () const
 
virtual G4double GetFraction (G4int i) const
 
const G4StringGetName () const
 
G4int GetNumberOfMaterials () const
 
G4tgrMaterialGetTgrMate () const
 
const G4StringGetType () const
 
G4double GetZ () const
 
G4tgbMaterialMixtureoperator= (const G4tgbMaterialMixture &)
 
virtual ~G4tgbMaterialMixture ()
 

Protected Member Functions

virtual void TransformToFractionsByWeight ()
 

Protected Attributes

G4MaterialtheG4Mate = nullptr
 
G4tgrMaterialtheTgrMate = nullptr
 

Detailed Description

Definition at line 40 of file G4tgbMaterialMixture.hh.

Constructor & Destructor Documentation

◆ G4tgbMaterialMixture()

G4tgbMaterialMixture::G4tgbMaterialMixture ( )

Definition at line 34 of file G4tgbMaterialMixture.cc.

35{
36}

◆ ~G4tgbMaterialMixture()

G4tgbMaterialMixture::~G4tgbMaterialMixture ( )
virtual

Definition at line 39 of file G4tgbMaterialMixture.cc.

40{
41}

Member Function Documentation

◆ BuildG4Material()

virtual G4Material * G4tgbMaterial::BuildG4Material ( )
pure virtualinherited

◆ GetA()

G4double G4tgbMaterial::GetA ( ) const
inlineinherited

Definition at line 66 of file G4tgbMaterial.hh.

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

References G4tgrMaterial::GetA(), and G4tgbMaterial::theTgrMate.

◆ GetComponent()

const G4String & G4tgbMaterialMixture::GetComponent ( G4int  i) const
virtual

◆ GetDensity()

G4double G4tgbMaterial::GetDensity ( ) const
inlineinherited

Definition at line 59 of file G4tgbMaterial.hh.

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

References G4tgrMaterial::GetDensity(), and G4tgbMaterial::theTgrMate.

◆ GetFraction()

G4double G4tgbMaterialMixture::GetFraction ( G4int  i) const
virtual

◆ GetName()

const G4String & G4tgbMaterial::GetName ( ) const
inlineinherited

Definition at line 57 of file G4tgbMaterial.hh.

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

References G4tgrMaterial::GetName(), and G4tgbMaterial::theTgrMate.

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

◆ GetNumberOfMaterials()

G4int G4tgbMaterial::GetNumberOfMaterials ( ) const
inlineinherited

Definition at line 61 of file G4tgbMaterial.hh.

62 {
64 }
G4int GetNumberOfComponents() const

References G4tgrMaterial::GetNumberOfComponents(), and G4tgbMaterial::theTgrMate.

◆ GetTgrMate()

G4tgrMaterial * G4tgbMaterial::GetTgrMate ( ) const
inlineinherited

Definition at line 72 of file G4tgbMaterial.hh.

72{ return theTgrMate; }

References G4tgbMaterial::theTgrMate.

Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().

◆ GetType()

const G4String & G4tgbMaterial::GetType ( ) const
inlineinherited

Definition at line 70 of file G4tgbMaterial.hh.

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

References G4tgrMaterial::GetType(), and G4tgbMaterial::theTgrMate.

◆ GetZ()

G4double G4tgbMaterial::GetZ ( ) const
inlineinherited

Definition at line 68 of file G4tgbMaterial.hh.

68{ return theTgrMate->GetZ(); }
virtual G4double GetZ() const =0

References G4tgrMaterial::GetZ(), and G4tgbMaterial::theTgrMate.

◆ operator=()

G4tgbMaterialMixture & G4tgbMaterialMixture::operator= ( const G4tgbMaterialMixture )

Definition at line 57 of file G4tgbMaterialMixture.cc.

58{
59 return *this;
60}

◆ TransformToFractionsByWeight()

void G4tgbMaterialMixture::TransformToFractionsByWeight ( )
protectedvirtual

Reimplemented in G4tgbMaterialMixtureByNoAtoms, and G4tgbMaterialMixtureByVolume.

Definition at line 63 of file G4tgbMaterialMixture.cc.

64{
65}

Field Documentation

◆ theG4Mate

G4Material* G4tgbMaterial::theG4Mate = nullptr
protectedinherited

Definition at line 77 of file G4tgbMaterial.hh.

◆ theTgrMate

G4tgrMaterial* G4tgbMaterial::theTgrMate = nullptr
protectedinherited

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