Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Friends
G4tgbMaterial Class Referenceabstract

#include <G4tgbMaterial.hh>

Inheritance diagram for G4tgbMaterial:
G4tgbMaterialMixture G4tgbMaterialSimple G4tgbMaterialMixtureByNoAtoms G4tgbMaterialMixtureByVolume G4tgbMaterialMixtureByWeight

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::G4tgbMaterial ( )

Definition at line 41 of file G4tgbMaterial.cc.

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

Definition at line 47 of file G4tgbMaterial.cc.

48 {
49 }
G4tgbMaterial::G4tgbMaterial ( G4tgrMaterial tgr)

Definition at line 52 of file G4tgbMaterial.cc.

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

Member Function Documentation

virtual G4Material* G4tgbMaterial::BuildG4Material ( )
pure virtual
G4double G4tgbMaterial::GetA ( ) const
inline

Definition at line 80 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetA(), and theTgrMate.

81  {
82  return theTgrMate->GetA();
83  }
virtual G4double GetA() const =0
G4tgrMaterial * theTgrMate
G4double G4tgbMaterial::GetDensity ( ) const
inline

Definition at line 70 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetDensity(), and theTgrMate.

Referenced by operator<<().

71  {
72  return theTgrMate->GetDensity();
73  }
G4double GetDensity() const
G4tgrMaterial * theTgrMate
const G4String& G4tgbMaterial::GetName ( void  ) const
inline

Definition at line 65 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetName(), and theTgrMate.

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

66  {
67  return theTgrMate->GetName();
68  }
const G4String & GetName() const
G4tgrMaterial * theTgrMate
G4int G4tgbMaterial::GetNumberOfMaterials ( ) const
inline

Definition at line 75 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetNumberOfComponents(), and theTgrMate.

76  {
78  }
G4tgrMaterial * theTgrMate
G4int GetNumberOfComponents() const
G4tgrMaterial* G4tgbMaterial::GetTgrMate ( ) const
inline

Definition at line 96 of file G4tgbMaterial.hh.

References theTgrMate.

Referenced by G4tgbMaterialMgr::FindOrBuildG4Material().

97  {
98  return theTgrMate;
99  }
G4tgrMaterial * theTgrMate
const G4String& G4tgbMaterial::GetType ( ) const
inline

Definition at line 90 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetType(), and theTgrMate.

91  {
92  return theTgrMate->GetType();
93  }
G4tgrMaterial * theTgrMate
const G4String & GetType() const
G4double G4tgbMaterial::GetZ ( ) const
inline

Definition at line 85 of file G4tgbMaterial.hh.

References G4tgrMaterial::GetZ(), and theTgrMate.

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

Friends And Related Function Documentation

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

Field Documentation

G4Material* G4tgbMaterial::theG4Mate
protected

Definition at line 104 of file G4tgbMaterial.hh.

G4tgrMaterial* G4tgbMaterial::theTgrMate
protected

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