#include <G4ElementData.hh>
|
| G4ElementData () |
|
| ~G4ElementData () |
|
void | InitialiseForElement (G4int Z, G4PhysicsVector *v) |
|
void | InitialiseForElement (G4int Z, G4Physics2DVector *v) |
|
void | InitialiseForComponent (G4int Z, G4int nComponents=0) |
|
void | AddComponent (G4int Z, G4int id, G4PhysicsVector *v) |
|
void | SetName (const G4String &nam) |
|
G4PhysicsVector * | GetElementData (G4int Z) |
|
G4Physics2DVector * | GetElement2DData (G4int Z) |
|
size_t | GetNumberOfComponents (G4int Z) |
|
G4int | GetComponentID (G4int Z, size_t idx) |
|
G4PhysicsVector * | GetComponentDataByIndex (G4int Z, size_t idx) |
|
G4PhysicsVector * | GetComponentDataByID (G4int Z, G4int id) |
|
G4double | GetValueForElement (G4int Z, G4double kinEnergy) |
|
G4double | GetValueForComponent (G4int Z, size_t idx, G4double kinEnergy) |
|
Definition at line 56 of file G4ElementData.hh.
◆ G4ElementData() [1/2]
G4ElementData::G4ElementData |
( |
| ) |
|
Definition at line 48 of file G4ElementData.cc.
const G4int maxNumElements
size_t compLength[maxNumElements]
G4PhysicsVector * elmData[maxNumElements]
G4Physics2DVector * elm2Data[maxNumElements]
◆ ~G4ElementData()
G4ElementData::~G4ElementData |
( |
| ) |
|
Definition at line 60 of file G4ElementData.cc.
68 for(
size_t j=0; j<
n; ++j) {
std::vector< G4PhysicsVector * > compData[maxNumElements]
const G4int maxNumElements
size_t compLength[maxNumElements]
G4PhysicsVector * elmData[maxNumElements]
G4Physics2DVector * elm2Data[maxNumElements]
◆ G4ElementData() [2/2]
◆ AddComponent()
Definition at line 124 of file G4ElementData.cc.
127 G4cout <<
"G4ElementData::AddComponent ERROR for " <<
name 128 <<
" Z = " <<
Z <<
" is out of range!" <<
G4endl;
129 G4Exception(
"G4ElementData::AddComponent()",
"mat603",
std::vector< G4PhysicsVector * > compData[maxNumElements]
const G4int maxNumElements
G4GLOB_DLL std::ostream G4cout
size_t compLength[maxNumElements]
std::vector< G4int > compID[maxNumElements]
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetComponentDataByID()
Definition at line 155 of file G4ElementData.hh.
std::vector< G4PhysicsVector * > compData[maxNumElements]
size_t compLength[maxNumElements]
std::vector< G4int > compID[maxNumElements]
◆ GetComponentDataByIndex()
Definition at line 149 of file G4ElementData.hh.
std::vector< G4PhysicsVector * > compData[maxNumElements]
◆ GetComponentID()
G4int G4ElementData::GetComponentID |
( |
G4int |
Z, |
|
|
size_t |
idx |
|
) |
| |
|
inline |
◆ GetElement2DData()
◆ GetElementData()
◆ GetNumberOfComponents()
size_t G4ElementData::GetNumberOfComponents |
( |
G4int |
Z | ) |
|
|
inline |
◆ GetValueForComponent()
Definition at line 174 of file G4ElementData.hh.
176 return ((
compData[
Z])[idx])->Value(kinEnergy);
std::vector< G4PhysicsVector * > compData[maxNumElements]
◆ GetValueForElement()
Definition at line 168 of file G4ElementData.hh.
G4PhysicsVector * elmData[maxNumElements]
G4double Value(G4double theEnergy, size_t &lastidx) const
◆ InitialiseForComponent()
void G4ElementData::InitialiseForComponent |
( |
G4int |
Z, |
|
|
G4int |
nComponents = 0 |
|
) |
| |
Definition at line 102 of file G4ElementData.cc.
105 G4cout <<
"G4ElementData::InitialiseForComponent ERROR for " <<
name 106 <<
" Z = " <<
Z <<
" is out of range!" <<
G4endl;
107 G4Exception(
"G4ElementData::InitialiseForComponent()",
"mat602",
115 for(
size_t i=0; i<
n; ++i) {
delete (
compData[
Z])[i]; }
std::vector< G4PhysicsVector * > compData[maxNumElements]
const G4int maxNumElements
G4GLOB_DLL std::ostream G4cout
size_t compLength[maxNumElements]
std::vector< G4int > compID[maxNumElements]
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ InitialiseForElement() [1/2]
Definition at line 76 of file G4ElementData.cc.
79 G4cout <<
"G4ElementData::InitialiseForElement ERROR for " <<
name 80 <<
" Z = " <<
Z <<
" is out of range!" <<
G4endl;
81 G4Exception(
"G4ElementData::InitialiseForElement()",
"mat601",
const G4int maxNumElements
G4GLOB_DLL std::ostream G4cout
G4PhysicsVector * elmData[maxNumElements]
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ InitialiseForElement() [2/2]
Definition at line 89 of file G4ElementData.cc.
92 G4cout <<
"G4ElementData::InitialiseForElement ERROR for " <<
name 93 <<
" Z = " <<
Z <<
" is out of range!" <<
G4endl;
94 G4Exception(
"G4ElementData::InitialiseForElement()",
"mat601",
const G4int maxNumElements
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4Physics2DVector * elm2Data[maxNumElements]
◆ operator=()
◆ SetName()
void G4ElementData::SetName |
( |
const G4String & |
nam | ) |
|
|
inline |
◆ compData
◆ compID
◆ compLength
◆ elm2Data
◆ elmData
◆ name
The documentation for this class was generated from the following files: