#include <G4MaterialPropertiesTable.hh>
|
| G4MaterialPropertiesTable () |
|
virtual | ~G4MaterialPropertiesTable () |
|
void | AddConstProperty (const char *key, G4double PropertyValue) |
|
G4MaterialPropertyVector * | AddProperty (const char *key, G4double *PhotonEnergies, G4double *PropertyValues, G4int NumEntries) |
|
void | AddProperty (const char *key, G4MaterialPropertyVector *opv) |
|
void | RemoveConstProperty (const char *key) |
|
void | RemoveProperty (const char *key) |
|
G4double | GetConstProperty (const char *key) const |
|
G4bool | ConstPropertyExists (const char *key) const |
|
G4MaterialPropertyVector * | GetProperty (const char *key) |
|
void | AddEntry (const char *key, G4double aPhotonEnergy, G4double aPropertyValue) |
|
void | DumpTable () |
|
const std::map< G4String,
G4MaterialPropertyVector
*, std::less< G4String > > * | GetPropertiesMap () const |
|
const std::map< G4String,
G4double, std::less< G4String > > * | GetPropertiesCMap () const |
|
G4MaterialPropertiesTable::G4MaterialPropertiesTable |
( |
| ) |
|
G4MaterialPropertiesTable::~G4MaterialPropertiesTable |
( |
| ) |
|
|
virtual |
void G4MaterialPropertiesTable::AddConstProperty |
( |
const char * |
key, |
|
|
G4double |
PropertyValue |
|
) |
| |
|
inline |
void G4MaterialPropertiesTable::AddEntry |
( |
const char * |
key, |
|
|
G4double |
aPhotonEnergy, |
|
|
G4double |
aPropertyValue |
|
) |
| |
Definition at line 139 of file G4MaterialPropertiesTable.cc.
147 if (targetVector !=
nullptr)
149 targetVector->
InsertValues(aPhotonEnergy, aPropertyValue);
153 G4Exception(
"G4MaterialPropertiesTable::AddEntry()",
"mat203",
void InsertValues(G4double energy, G4double value)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool G4MaterialPropertiesTable::ConstPropertyExists |
( |
const char * |
key | ) |
const |
void G4MaterialPropertiesTable::DumpTable |
( |
| ) |
|
Definition at line 158 of file G4MaterialPropertiesTable.cc.
161 for (i = MPT.begin(); i != MPT.end(); ++i)
164 if ( (*i).second != 0 )
166 (*i).second->DumpValues();
170 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat204",
171 JustWarning,
"NULL Material Property Vector Pointer.");
175 for (j = MPTC.begin(); j != MPTC.end(); ++j)
178 if ( j->second != 0 )
184 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat202",
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4MaterialPropertiesTable::GetConstProperty |
( |
const char * |
key | ) |
const |
Definition at line 81 of file G4MaterialPropertiesTable.cc.
87 if ( j != MPTC.end() )
return j->second;
89 G4Exception(
"G4MaterialPropertiesTable::GetConstProperty()",
"mat202",
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void G4MaterialPropertiesTable::RemoveConstProperty |
( |
const char * |
key | ) |
|
|
inline |
void G4MaterialPropertiesTable::RemoveProperty |
( |
const char * |
key | ) |
|
|
inline |
The documentation for this class was generated from the following files: