69 for (i = MPT.begin(); i != MPT.end(); ++i)
87 if ( j != MPTC.end() )
return j->second;
89 G4Exception(
"G4MaterialPropertiesTable::GetConstProperty()",
"mat202",
100 if ( j != MPTC.end() )
return true;
131 if (
G4String(key) ==
"GROUPVEL")
return SetGROUPVEL();
135 if ( i != MPT.end() )
return i->second;
147 if (targetVector !=
nullptr)
149 targetVector->
InsertValues(aPhotonEnergy, aPropertyValue);
153 G4Exception(
"G4MaterialPropertiesTable::AddEntry()",
"mat203",
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",
190 #ifdef G4MULTITHREADED
199 #ifdef G4MULTITHREADED
205 itr = MPT.find(
"GROUPVEL");
206 if(itr != MPT.end())
return itr->second;
211 if (rindex==0) {
return 0; }
215 if ( rindex->GetVectorLength() == 0 ) {
return 0; }
229 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
233 if ( rindex->GetVectorLength() >= 2 )
243 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
262 for (
size_t i = 2; i < rindex->GetVectorLength(); i++)
268 if((vg<0) || (vg>
c_light/(0.5*(n0+n1)))) { vg =
c_light/(0.5*(n0+n1)); }
275 E1 = rindex->Energy(i);
280 G4Exception(
"G4MaterialPropertiesTable::SetGROUPVEL()",
"mat205",
void AddEntry(const char *key, G4double aPhotonEnergy, G4double aPropertyValue)
G4MaterialPropertiesTable()
void InsertValues(G4double energy, G4double value)
#define G4MUTEX_INITIALIZER
G4MaterialPropertyVector * AddProperty(const char *key, G4double *PhotonEnergies, G4double *PropertyValues, G4int NumEntries)
G4GLOB_DLL std::ostream G4cout
G4PhysicsOrderedFreeVector G4MaterialPropertyVector
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4Log(G4double x)
G4bool ConstPropertyExists(const char *key) const
static constexpr double c_light
G4MaterialPropertyVector * GetProperty(const char *key)
virtual ~G4MaterialPropertiesTable()
G4double GetConstProperty(const char *key) const