#include <G4tgbMaterialMixtureByVolume.hh>
◆ G4tgbMaterialMixtureByVolume() [1/2]
G4tgbMaterialMixtureByVolume::G4tgbMaterialMixtureByVolume |
( |
| ) |
|
◆ G4tgbMaterialMixtureByVolume() [2/2]
G4tgbMaterialMixtureByVolume::G4tgbMaterialMixtureByVolume |
( |
G4tgrMaterial * |
tgr | ) |
|
◆ ~G4tgbMaterialMixtureByVolume()
G4tgbMaterialMixtureByVolume::~G4tgbMaterialMixtureByVolume |
( |
| ) |
|
◆ BuildG4Material()
G4Material * G4tgbMaterialMixtureByVolume::BuildG4Material |
( |
| ) |
|
|
virtual |
Implements G4tgbMaterial.
Definition at line 63 of file G4tgbMaterialMixtureByVolume.cc.
76 G4cout <<
" G4tgbMaterialMixtureByVolume::buildG4Material() -" 77 <<
" Constructing new G4Material:" 106 +
"\n" +
"is not an element nor a material !";
107 G4Exception(
"G4tgbMaterialMixtureByVolume::BuildG4Material()",
115 G4cout <<
" Constructing new G4Material by volume: " << *mate <<
G4endl;
G4double GetTemperature() const
std::vector< G4double > theFractionsByWeight
void AddMaterial(G4Material *material, G4double fraction)
const G4String & GetName() const
G4double GetPressure() const
G4int GetNumberOfComponents() const
G4GLOB_DLL std::ostream G4cout
G4tgrMaterial * theTgrMate
static G4int GetVerboseLevel()
G4Material * FindOrBuildG4Material(const G4String &name, G4bool bMustExist=1)
virtual const G4String & GetComponent(G4int i) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetDensity() const
void TransformToFractionsByWeight()
static G4tgbMaterialMgr * GetInstance()
◆ TransformToFractionsByWeight()
void G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight |
( |
| ) |
|
|
virtual |
Reimplemented from G4tgbMaterialMixture.
Definition at line 124 of file G4tgbMaterialMixtureByVolume.cc.
142 +
"\n" +
"is not a material !";
143 G4Exception(
"G4tgbMaterialMixtureByVolume::BuildG4Material()",
153 G4cout <<
" G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight()" 154 <<
" Component " << ii <<
" : " std::vector< G4double > theFractionsByWeight
virtual G4double GetFraction(G4int i) const
G4double GetDensity() const
const G4String & GetName() const
G4int GetNumberOfComponents() const
G4GLOB_DLL std::ostream G4cout
G4tgrMaterial * theTgrMate
static G4int GetVerboseLevel()
G4Material * FindOrBuildG4Material(const G4String &name, G4bool bMustExist=1)
virtual const G4String & GetComponent(G4int i) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetName() const
static G4tgbMaterialMgr * GetInstance()
◆ theFractionsByWeight
std::vector<G4double> G4tgbMaterialMixtureByVolume::theFractionsByWeight |
|
private |
The documentation for this class was generated from the following files: